mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
Short git sha as docker img tag (#5586)
* short git sha as docker img tag * move subSequence
This commit is contained in:
parent
6e98adb085
commit
e6edfe31d9
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -9,7 +9,7 @@ pipeline {
|
||||
options { timestamps() }
|
||||
|
||||
environment {
|
||||
DOCKER_TAG_TO_USE = "${UUID.randomUUID().toString().toLowerCase().subSequence(0, 12)}"
|
||||
DOCKER_TAG_TO_USE = "${env.GIT_COMMIT.subSequence(0, 8)}"
|
||||
EXECUTOR_NUMBER = "${env.EXECUTOR_NUMBER}"
|
||||
BUILD_ID = "${env.BUILD_ID}-${env.JOB_NAME}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user