- discover pull requests (remove branches/master)
- Strategy: merged PR
- enable "Disable GitHub Multibranch Status Plugin"
- - trigger build on pull request comment: .* /rebuild.* (without space)
+ - trigger build on pull request comment: .* /rebuild.* (without space!)
- Jenkinsfile: choose contrib/ci/Jenkinsfile.osx
- scan: every 4 hours
- discard: 5+ items
agent none
steps
{
+ githubNotify context: 'Jenkins: OSX', description: 'initializing...', status: 'PENDING'
// kill older builds in this PR:
script { killold.killOldBuilds() }
}
stage("main")
{
- agent {
- node {
+ agent
+ {
+ node
+ {
label 'osx'
}
}
{
when {
not {
- anyOf {
- branch 'master'
- branch pattern: "dealii-*", comparator: "GLOB"
- }
+ anyOf {
+ branch 'master'
+ branch pattern: "dealii-*", comparator: "GLOB"
+ }
}
}
$WORKSPACE/ && make -j 8
make test # quicktests
'''
+ githubNotify context: 'Jenkins: OSX', description: 'OK', status: 'SUCCESS'
}
}
post
{
always
- {
+ {
archiveArtifacts artifacts: 'build/detailed.log', fingerprint: true
}
+
failure
{
githubNotify context: 'Jenkins: OSX', description: 'build failed', status: 'FAILURE'
}
}
- stage("finalize")
- {
- steps
- {
- githubNotify context: 'Jenkins: OSX', description: 'OK', status: 'SUCCESS'
- }
- }
}
}
}