Commit 08d8eccb authored by mdj33's avatar mdj33 Committed by vipwzw

fix nginx fail

parent 051b2a22
...@@ -22,7 +22,7 @@ pipeline { ...@@ -22,7 +22,7 @@ pipeline {
dir("${PROJ_DIR}"){ dir("${PROJ_DIR}"){
gitlabCommitStatus(name: 'deploy'){ gitlabCommitStatus(name: 'deploy'){
sh 'make build_ci' sh 'make build_ci'
sh "cd build && mkdir ${env.BUILD_NUMBER} && cp ci/* ${env.BUILD_NUMBER} -r && cp chain33* Dockerfile* docker* *.sh ${env.BUILD_NUMBER}/ && cd ${env.BUILD_NUMBER}/ && ./docker-compose-pre.sh run ${env.BUILD_NUMBER} paracross " sh "cd build && mkdir ${env.BUILD_NUMBER} && cp ci/* ${env.BUILD_NUMBER} -r && cp chain33* Dockerfile* docker* *.sh ${env.BUILD_NUMBER}/ && cd ${env.BUILD_NUMBER}/ && ./docker-compose-pre.sh run ${env.BUILD_NUMBER} all "
} }
} }
} }
......
#!/usr/bin/env bash #!/usr/bin/env bash
/root/chain33 -f /root/chain33.toml & /root/chain33 -f /root/chain33.toml &
sleep 10 # to wait nginx start
sleep 15
/root/chain33 -f "$PARAFILE" /root/chain33 -f "$PARAFILE"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment