21 lines
471 B
Plaintext
21 lines
471 B
Plaintext
|
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 {
|
||
|
archiveArtifacts artifacts: 'out/**', fingerprint: true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|