Skip to content

Commit 06d5c49

Browse files
committed
use existing env.list instead of copying over
Keeping the env.list in the source code as a template. On the server side, keep/app/env.list between builds to avoid broken build in Jennkins
1 parent 50b7bbe commit 06d5c49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ pipeline {
3232

3333
stage("Deploy to staging") {
3434
steps {
35-
sh "ssh ${JENKINS_AT_STAGING} rm -fr /app/env.list /app/start.sh"
36-
sh "scp ./docker/env.list ./docker/start.sh ${JENKINS_AT_STAGING}:/app"
35+
sh "ssh ${JENKINS_AT_STAGING} rm -fr /app/start.sh"
36+
sh "scp ./docker/start.sh ${JENKINS_AT_STAGING}:/app"
3737
sh "ssh ${JENKINS_AT_STAGING} \"cd /app && ./start.sh ${env.GIT_COMMIT}\""
3838
}
3939
}

0 commit comments

Comments
 (0)