Skip to content

Commit 106ce9e

Browse files
author
Vaughn Dice
committed
fix(Jenkinsfile): set VERSION to git_commit
As the `checkout scm` step on the `Build artifacts` stage may produce a different merge commit sha from the previous `Git Info` stag (which sets `git_commit`). Therefore, since we are passing down `git_commit` to e2e job, we need to build artifact with this value.
1 parent 30ff0b0 commit 106ce9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ parallel(
121121
sh 'make glideup'
122122
}
123123

124-
sh 'make build-revision'
124+
sh "VERSION=${git_commit.take(7)} make build-revision"
125125

126126
upload_artifacts(keyfile)
127127
}

0 commit comments

Comments
 (0)