- 'honeycomb-verify-{branch}-{os}'
- 'honeycomb-merge-{branch}-{os}'
- 'honeycomb-integration-{branch}-{os}'
+ - 'honeycomb-verify-image-{branch}-{os}'
project: 'honeycomb'
branch: 'master'
os: 'ubuntu1404'
- email-notification:
email-prefix: '[honeycomb]'
+- job-template:
+ name: 'honeycomb-verify-image-{branch}-{os}'
+ project-type: maven
+ node: 'verify-image-{os}'
+ concurrent: true
+
+ logrotate:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: '{build-num-to-keep}'
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - os-parameter:
+ os: '{os}'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - build-timeout
+ - ssh-agent-credentials:
+ users:
+ - '{ssh-credentials}'
+
+ triggers:
+ - gerrit:
+ server-name: 'Default'
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: 'verify-images'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ skip-vote:
+ successful: true
+ failed: true
+ unstable: true
+ notbuilt: true
+
+ prebuilders:
+ - shell: |
+ if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64;fi
+ maven:
+ maven-name: '{mvn33}'
+ root-pom: 'pom.xml'
+ goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dkaraf.keep.unpack=true'
+ maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
+ settings: '{honeycomb-settings}'
+ global-settings: '{global-settings}'
+
+ postbuilders:
+ - shell: |
+ if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64;fi
+
+ publishers:
+ - email-notification:
+ email-prefix: '[honeycomb]'
+
- job-template:
name: 'honeycomb-merge-{branch}-{os}'
project-type: maven