Jenkins pipeline no longer automatically updates versioning.
This commit is contained in:
parent
1d93f5ba22
commit
9c27af67a5
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -19,17 +19,6 @@ pipeline {
|
||||
sh 'git reset --hard'
|
||||
}
|
||||
}
|
||||
stage('update') {
|
||||
steps {
|
||||
load './server_ver.groovy'
|
||||
sh 'git checkout delta'
|
||||
sh 'sed -i "s/env.VER_PATCH=$VER_PATCH/env.VER_PATCH=$((VER_PATCH + 1))/" ./server_ver.groovy'
|
||||
sh 'git commit -am "Updated version number for next patch."'
|
||||
sshagent(['2e60e630-b240-4c78-87ce-cb2c33d70180']) {
|
||||
sh 'git push origin delta'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('queue') {
|
||||
steps {
|
||||
load './server_ver.groovy'
|
||||
|
Loading…
Reference in New Issue
Block a user