You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
628 B
32 lines
628 B
properties([ |
|
buildDiscarder( |
|
logRotator( |
|
artifactDaysToKeepStr: '', |
|
artifactNumToKeepStr: '', |
|
daysToKeepStr: '', |
|
numToKeepStr: '10' |
|
) |
|
), |
|
disableConcurrentBuilds(), |
|
disableResume(), |
|
pipelineTriggers([ |
|
cron("H H * * *") |
|
]) |
|
]) |
|
|
|
node("pi-images") { |
|
stage("Checkout") { |
|
checkout scm |
|
} |
|
stage("Init") { |
|
sh 'rm -rf pi-gen' |
|
sh 'git clone https://git.europa.area51.dev/OpenSource/pi-gen.git' |
|
sh 'cd pi-gen && rm -rf stage3 stage4 stage5' |
|
} |
|
|
|
stage("Build") { |
|
sh "cp config pi-gen/" |
|
sh "docker rm -f pigen_work" |
|
sh "cd pi-gen && ./build-docker.sh" |
|
} |
|
}
|
|
|