| |
@@ -1,6 +1,10 @@
|
| |
// Use scripted syntax because CIBuildTrigger currently doesn't support the declarative syntax
|
| |
properties([
|
| |
+ timestamps(),
|
| |
+ timeout(time: 30, unit: 'MINUTES'),
|
| |
+ buildDiscarder(logRotator(numToKeepStr: '10')),
|
| |
disableConcurrentBuilds(),
|
| |
+ skipDefaultCheckout(),
|
| |
pipelineTriggers([
|
| |
// example: https://github.com/jenkinsci/jms-messaging-plugin/blob/9b9387c3a52f037ba0d019c2ebcf2a2796fc6397/src/test/java/com/redhat/jenkins/plugins/ci/integration/AmqMessagingPluginIntegrationTest.java
|
| |
[$class: 'CIBuildTrigger',
|
| |
Set a consistent set of options on Jenkins pipeline jobs. This includes timestamps,
reasonable timeouts, saving only the last 10 builds (to avoid filling up the disk
of the Jenkins master), disabling concurrent builds (to avoid hitting quota limits),
and skipping the default checkout (all jobs that need the source call checkout()
explicitly).