From 9c27af67a5d07432ae389dd0c3b635d1a190e2ae Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Tue, 11 Jan 2022 01:01:42 -0600 Subject: [PATCH 1/2] Jenkins pipeline no longer automatically updates versioning. --- Jenkinsfile | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 50029a9..86eceb2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' From f34cd87308fa012a6be2c16b693ea63615e5c4bf Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Tue, 11 Jan 2022 01:05:26 -0600 Subject: [PATCH 2/2] Updated patch version number. --- server_ver.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server_ver.groovy b/server_ver.groovy index 232567e..cf028aa 100755 --- a/server_ver.groovy +++ b/server_ver.groovy @@ -1,3 +1,3 @@ env.VER_MAJOR=0 env.VER_MINOR=0 -env.VER_PATCH=14 +env.VER_PATCH=15