29 lines
515 B
Plaintext
29 lines
515 B
Plaintext
|
pipeline {
|
||
|
|
||
|
agent {
|
||
|
dockerfile {
|
||
|
filename 'Dockerfile.jenkins'
|
||
|
dir '.'
|
||
|
args '-u root --privileged'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
triggers {
|
||
|
cron("59 23 * * 1") // Build every monday
|
||
|
}
|
||
|
|
||
|
options {
|
||
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
|
||
|
}
|
||
|
|
||
|
stages {
|
||
|
stage("Build") {
|
||
|
steps {
|
||
|
sh 'make'
|
||
|
archiveArtifacts artifacts: 'setup_*.exe'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|