fix jenkinsfile for branch build
Этот коммит содержится в:
@@ -123,7 +123,7 @@ pipeline {
|
|||||||
sh """
|
sh """
|
||||||
export TAG='${env.BRANCH_NAME}.${env.BUILD_NUMBER}.${SERVER_GIT_COMMIT}'
|
export TAG='${env.BRANCH_NAME}.${env.BUILD_NUMBER}.${SERVER_GIT_COMMIT}'
|
||||||
docker build --no-cache --build-arg MM_PACKAGE=https://releases.mattermost.com/mattermost-platform/${env.BRANCH_NAME}/mattermost-enterprise-linux-amd64.tar.gz -t mattermost/mattermost-enterprise-edition:\${TAG} build
|
docker build --no-cache --build-arg MM_PACKAGE=https://releases.mattermost.com/mattermost-platform/${env.BRANCH_NAME}/mattermost-enterprise-linux-amd64.tar.gz -t mattermost/mattermost-enterprise-edition:\${TAG} build
|
||||||
docker push mattermost/mattermost-enterprise-edition:${GIT_COMMIT_SHORT}
|
docker push mattermost/mattermost-enterprise-edition:\${TAG}
|
||||||
docker logout
|
docker logout
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user