Skip to content

Commit 63d3ff8

Browse files
committed
Delete not used variable
Signed-off-by: Jeonghyuk Park <[email protected]>
1 parent 50bc4a1 commit 63d3ff8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Jenkinsfile

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,6 @@ def UNIT_RESULTS = "${TEST_RESULTS_FOLDER}/unit"
6969
*/
7070
def MASTER_BRANCH = "master"
7171

72-
73-
/**
74-
* A command to be run that gets the current revision pulled down
75-
*/
76-
def GIT_REVISION_LOOKUP = 'git log -n 1 --pretty=format:%h'
77-
7872
/**
7973
* Variables to check any new commit since the previous successful commit
8074
*/
@@ -175,12 +169,6 @@ pipeline {
175169
steps {
176170
timeout(time: 2, unit: 'MINUTES') {
177171
script {
178-
// We need to keep track of the current commit revision. This is to prevent the condition where
179-
// the build starts on master and another branch gets merged to master prior to version bump
180-
// commit taking place. If left unhandled, the version bump could be done on latest master branch
181-
// code which would already be ahead of this build.
182-
BUILD_REVISION = sh returnStdout: true, script: GIT_REVISION_LOOKUP
183-
184172
// This checks for the [ci skip] text. If found, the status code is 0
185173
def result = sh returnStatus: true, script: 'git log -1 | grep \'.*\\[ci skip\\].*\''
186174
if (result == 0) {

0 commit comments

Comments
 (0)