stronk7

Untitled

May 19th, 2020
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. node('docker') {
  2.  
  3. git branch: 'integration', poll: false, url: 'https://github.com/moodlehq/moodlemobile2.git'
  4.  
  5. def dockerImage
  6. stage('Build') {
  7. dockerImage = docker.build("moodlehq/moodlemobile2:integration_${env.BUILD_ID}", ".")
  8. }
  9. stage('Push') {
  10. dockerImage.push('next')
  11. }
  12.  
  13. cleanWs deleteDirs: true, notFailBuild: true
  14. }
Advertisement
Add Comment
Please, Sign In to add comment