diff --git a/ogWebconsole/Jenkinsfile b/ogWebconsole/Jenkinsfile index e8262b5..f65c6cb 100644 --- a/ogWebconsole/Jenkinsfile +++ b/ogWebconsole/Jenkinsfile @@ -23,5 +23,17 @@ pipeline { } } } + stage('Push') { + steps { + echo 'Pushing....' + script { + docker.withRegistry('https://index.docker.io/v1/', "${DOCKER_CREDENTIALS}") { + dir('ogWebconsole') { + docker.image("${DOCKER_REPO}/${DOCKER_IMAGE_NAME}:${BRANCH_NAME}-${DOCKER_TAG}").push() + } + } + } + } + } } }