Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- node('docker') {
- git branch: 'integration', poll: false, url: 'https://github.com/moodlehq/moodlemobile2.git'
- def dockerImage
- stage('Build') {
- dockerImage = docker.build("moodlehq/moodlemobile2:integration_${env.BUILD_ID}", ".")
- }
- stage('Push') {
- dockerImage.push('next')
- }
- cleanWs deleteDirs: true, notFailBuild: true
- }
Advertisement
Add Comment
Please, Sign In to add comment