mirror of
https://github.com/datarhei/core.git
synced 2025-11-03 00:14:02 +08:00
19 lines
516 B
Groovy
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'
|
|
}
|
|
}
|
|
}
|
|
}
|