Merge pull request #2 from RightBrain-Networks/feature/jenkins

Add push version
This commit is contained in:
Derek DeJonghe 2019-07-16 15:32:10 -04:00 committed by GitHub
commit 26de0ac3cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
Jenkinsfile vendored
View File

@ -1,4 +1,4 @@
library('pipeline-library@feature/add-with-ecr')
library('pipeline-library')
pipeline {
options { timestamps() }
@ -21,7 +21,9 @@ pipeline {
{
steps
{
withEcr {
sh "docker pull ${DOCKER_REGISTRY}/auto-semver:${SELF_SEMVER_TAG}"
}
}
}
//Runs versioning in docker container
@ -90,6 +92,12 @@ pipeline {
}
}
}
stage('Push Version and Tag') {
steps {
echo "The current branch is ${env.BRANCH_NAME}."
gitPush(env.GITHUB_KEY, env.BRANCH_NAME, true)
}
}
}
post {
always {