[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:
Rustam Tagaev
2025-03-05 15:54:02 +03:00
parent 3aaa84ae73
commit 570d773d31
2 changed files with 5 additions and 1 deletions

View File

@@ -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()
}