fixed deploy not being found
Some checks failed
CSGOWTF/csgowtf/pipeline/head There was a failure building this commit

This commit is contained in:
2021-10-20 18:28:21 +02:00
parent 67da621074
commit 4ca1d24bbe

8
Jenkinsfile vendored
View File

@@ -26,6 +26,9 @@ pipeline {
stage('Deploy') {
when {
branch 'master'
expression {
currentBuild.result == null || currentBuild.result == 'SUCCESS'
}
}
environment {
FTP_USERNAME = credentials('csgowtf-deploy-user')
@@ -37,12 +40,15 @@ pipeline {
stage('Deploy Dev') {
when {
branch 'dev'
expression {
currentBuild.result == null || currentBuild.result == 'SUCCESS'
}
}
environment {
FTP_USERNAME = credentials('csgowtf-deploy-user-dev')
}
steps {
sh 'deploy.sh'
sh '${env.WORKSPACE}/deploy.sh'
}
}
}