added item chests, audio and deployment
Signed-off-by: Pascal Syma <pascal@syma.dev>
This commit is contained in:
Vendored
+17
@@ -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"'
|
||||
|
||||
Reference in New Issue
Block a user