added item chests, audio and deployment

Signed-off-by: Pascal Syma <pascal@syma.dev>
This commit is contained in:
2020-07-16 20:51:24 +02:00
parent 0004849110
commit 7559a3f40a
27 changed files with 237 additions and 36 deletions
Vendored
+17
View File
@@ -31,6 +31,23 @@ pipeline {
steps {
echo 'Deploying....'
dir("dist") {
withCredentials([sshUserPrivateKey(credentialsId: 'id_rsa', keyFileVariable: 'identity', passphraseVariable: '', usernameVariable: 'userName')])
{
script {
def remote = [:]
remote.name = "1blu"
remote.host = "webhosting72.1blu.de"
remote.allowAnyHosts = true
remote.user = userName
remote.identityFile = identity
sshCommand remote: remote, command: "mkdir www/mi2.mama.productions/releases/${BUILD_NUMBER}"
sshPut remote: remote, from: "${WORKSPACE}\\dist\\", into: "www/mi2.mama.productions/releases/${BUILD_NUMBER}"
sshCommand remote: remote, command: "rm www/mi2.mama.productions/public"
sshCommand remote: remote, command: "ln -s releases/${BUILD_NUMBER}/dist www/mi2.mama.productions/public"
}
}
bat 'git init'
bat 'git add .'
bat 'git config --global user.email "jenkins@bosym.de"'