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