2020-12-21 16:53:31 +00:00
|
|
|
pipeline {
|
|
|
|
agent {
|
|
|
|
dockerfile {
|
|
|
|
filename 'Dockerfile.build'
|
|
|
|
args '-v /var/run/docker.sock:/var/run/docker.sock'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stages {
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
|
|
|
sh 'DOCKER_BUILD_OPTIONS="--no-cache" ./run.sh'
|
|
|
|
}
|
|
|
|
post {
|
|
|
|
success {
|
2020-12-21 18:37:43 +00:00
|
|
|
archiveArtifacts artifacts: 'out/*.deb', fingerprint: true
|
2020-12-21 16:53:31 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|