[DO-1669] add test env for msg-profiles (!93)
Co-authored-by: Rustam Tagaev <rustam.tagaev@avroid.tech> Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/93
This commit is contained in:
@@ -69,6 +69,8 @@ slaveTemplates.jnlp {
|
||||
|
||||
String version = props.tool.poetry.version
|
||||
tag = "${version}-${gitVars.GIT_COMMIT.take(5)}"
|
||||
currentBuild.description = tag
|
||||
|
||||
String imageName = "${env.JENKINS_DOCKER_REGISTRY}/" +
|
||||
"${dockerGroup}/${dockerProject}:${tag}"
|
||||
|
||||
@@ -78,6 +80,7 @@ slaveTemplates.jnlp {
|
||||
"--build-arg PIP_INDEX_URL=${env.JENKINS_PIP_INDEX_URL} -f Dockerfile ."
|
||||
)
|
||||
|
||||
|
||||
if (publishBranch != null && publishBranch.contains(branch)) {
|
||||
buildImage.push()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user