another try at running deploy /4
Some checks failed
CSGOWTF/csgowtf/pipeline/head There was a failure building this commit

This commit is contained in:
2021-10-20 18:58:32 +02:00
parent ce6fbd8ba6
commit 38fe249200
2 changed files with 3 additions and 8 deletions

8
Jenkinsfile vendored
View File

@@ -3,7 +3,7 @@ pipeline {
environment {
FTP_HOST = credentials('csgowtf-deploy-host')
FTP_PASSWORD = credentials('csgowtf-deploy-password')
LFTP_PASSWORD = credentials('csgowtf-deploy-password')
}
stages {
@@ -34,8 +34,7 @@ pipeline {
FTP_USERNAME = credentials('csgowtf-deploy-user')
}
steps {
sh 'chmod u+x ./deploy.sh'
sh './deploy.sh'
sh "lftp -u $FTP_USERNAME --env-password -e 'mirror --reverse --verbose --delete --ignore-time --recursion=always /dist/ /' $FTP_HOST"
}
}
stage('Deploy Dev') {
@@ -49,8 +48,7 @@ pipeline {
FTP_USERNAME = credentials('csgowtf-deploy-user-dev')
}
steps {
sh 'chmod u+x ./deploy.sh'
sh './deploy.sh'
sh "lftp -u $FTP_USERNAME --env-password -e 'mirror --reverse --verbose --delete --ignore-time --recursion=always /dist/ /' $FTP_HOST"
}
}
}