Rollux/Jenkinsfile
2019-05-23 18:54:04 +02:00

17 lines
308 B
Groovy

pipeline {
agent any
stages {
stage('docker build') {
steps {
echo 'Starting docker image build'
script {
docker.withRegistry("https://pkg.northcode.no", 'docker-login') {
def image = docker.build("pkg.northcode.no/rollux")
image.push()
}
}
}
}
}
}