another try at running deploy /4
Some checks failed
CSGOWTF/csgowtf/pipeline/head There was a failure building this commit
Some checks failed
CSGOWTF/csgowtf/pipeline/head There was a failure building this commit
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user