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