version_number
This commit is contained in:
parent
e38dfdd78a
commit
496223a2de
|
@ -18,7 +18,7 @@ pipeline {
|
||||||
steps{
|
steps{
|
||||||
script {
|
script {
|
||||||
def commit= sh(script: 'git rev-parse --short HEAD', returnStdout: true)
|
def commit= sh(script: 'git rev-parse --short HEAD', returnStdout: true)
|
||||||
dockerImage = docker.build(imagename, "--build-arg version_info=$commit .")
|
dockerImage = docker.build(imagename, "--build-arg version_info=$commit")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue