From: Ed Warnicke Date: Wed, 11 May 2016 16:48:45 +0000 (-0500) Subject: Add capacity for honeycomb to verify images. X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=185716f4ed503dbc5e57a797948f3746e091483b;p=ci-management.git Add capacity for honeycomb to verify images. Change-Id: Ie5fe2507b760b3f681be4291f9c52bf609dbfaca Signed-off-by: Ed Warnicke --- diff --git a/jjb/honeycomb/honeycomb.yaml b/jjb/honeycomb/honeycomb.yaml index a1d0994fd..44bcf1337 100644 --- a/jjb/honeycomb/honeycomb.yaml +++ b/jjb/honeycomb/honeycomb.yaml @@ -4,6 +4,7 @@ - 'honeycomb-verify-{branch}-{os}' - 'honeycomb-merge-{branch}-{os}' - 'honeycomb-integration-{branch}-{os}' + - 'honeycomb-verify-image-{branch}-{os}' project: 'honeycomb' branch: 'master' os: 'ubuntu1404' @@ -64,6 +65,75 @@ - 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