correct file attribute before build
This commit is contained in:
parent
813ed6f4ff
commit
419d5d6709
|
@ -38,6 +38,12 @@ pipeline {
|
|||
}
|
||||
}
|
||||
|
||||
stage('Fix FileAttr') {
|
||||
steps {
|
||||
sh "cd /home/deploy/logging-center/web/docker && chmod a+x *.sh && perl -pi -e 's/\r\n/\n/g' *.sh"
|
||||
}
|
||||
}
|
||||
|
||||
stage('Start Docker') {
|
||||
steps {
|
||||
sh 'cd /home/deploy/logging-center/web && cnpm run docker:dev'
|
||||
|
|
Loading…
Reference in New Issue