Merge pull request #2 from Northcode/master

Add Jenkinsfile
This commit is contained in:
AadneEM 2019-05-23 19:12:26 +02:00 committed by GitHub
commit ab6c4c719f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,16 @@
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()
}
}
}
}
}
}