Files
core/Jenkinsfile
Jan Stabenow 9c0b535199 Add v16.7.2
2022-05-13 19:26:45 +02:00

19 lines
516 B
Groovy

pipeline {
agent any
triggers {
cron('H 0 * * 6')
}
options {
buildDiscarder(logRotator(numToKeepStr: '5', artifactNumToKeepStr: '5'))
}
stages {
stage('Build AMD64') {
steps {
sh 'docker build -f Dockerfile -t docker-registry.marathon.l4lb.thisdcos.directory:5000/core:amd64 .'
sh 'docker push docker-registry.marathon.l4lb.thisdcos.directory:5000/core:amd64'
sh 'docker rmi docker-registry.marathon.l4lb.thisdcos.directory:5000/core:amd64'
}
}
}
}