Jenkins pipeline no longer automatically updates versioning.

This commit is contained in:
Harrison Deng 2022-01-11 01:01:42 -06:00
parent 1d93f5ba22
commit 9c27af67a5

11
Jenkinsfile vendored
View File

@ -19,17 +19,6 @@ pipeline {
sh 'git reset --hard' 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') { stage('queue') {
steps { steps {
load './server_ver.groovy' load './server_ver.groovy'