update
This commit is contained in:
parent
7e8fdefd2f
commit
4eb7d2b9a5
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -8,7 +8,7 @@ node('Node-Dev-100163') {
|
||||
sh 'make clean_up'
|
||||
}
|
||||
stage('Build') {
|
||||
sh 'sed -i s/TAG := \$(shell rev-parse --abbrev-ref HEAD)/TAG := ${env.BRANCH_NAME}/g Makefile'
|
||||
sh './setup/update_tag.sh ${env.BRANCH_NAME}'
|
||||
sh 'make install'
|
||||
sh 'make stop_server_docker'
|
||||
sh 'make gen_config'
|
||||
|
3
setup/update_tag.sh
Executable file
3
setup/update_tag.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
sed -i "s/TAG := \$(shell rev-parse --abbrev-ref HEAD)/TAG := $1/g" Makefile
|
Loading…
Reference in New Issue
Block a user