X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopenci%2Fopenci-odl-daily-jobs.yaml;h=8cb06fe70766355885b06fb56c03fb99295a4a08;hb=0209f258540405a719e0bf9d89bfc9e7ebf9d647;hp=1ef00f0f300466d21694dd2f2e683eabe8f7afd0;hpb=40cd0dcce74258b1f890881773514c12ae0e3284;p=releng%2Fbuilder.git diff --git a/jjb/openci/openci-odl-daily-jobs.yaml b/jjb/openci/openci-odl-daily-jobs.yaml index 1ef00f0f3..8cb06fe70 100644 --- a/jjb/openci/openci-odl-daily-jobs.yaml +++ b/jjb/openci/openci-odl-daily-jobs.yaml @@ -45,25 +45,19 @@ default: "'autorelease': 'SUCCESS'" description: 'The confidence level the published artifact gained' + wrappers: + - credentials-binding: + - username-password-separated: + credential-id: openci-connect-activemq + username: ACTIVEMQ_USER + password: ACTIVEMQ_PASSWORD + - workspace-cleanup + builders: - # first build step in the job executes create-ape.sh to construct the - # ArtifactPublishedEvent (ape) + # this build step in the job executes create-ape.sh to construct the + # ArtifactPublishedEvent (ape) and publishes it using the python utility - shell: !include-raw-escape: ./create-ape.sh - # constructed event gets injected into environment so JME Messaging - # plugin can publish the event and its properties in post-build step - - inject: - properties-file: "$WORKSPACE/event.properties" - - publishers: - - jms-messaging: - provider-name: openci.activemq - msg-type: Custom - msg-props: | - type=$type - origin=$origin - msg-content: - $eventBody # This job gets triggered by a ConfidenceLevelModifiedEvent published # by OPNFV jobs so ODL can promote the autorelease artifact even further. @@ -82,14 +76,10 @@ triggers: - jms-messaging: provider-name: openci.activemq - selector: CI_TYPE = 'custom' - checks: - - field: origin - expected-value: 'OPNFV' - - field: type - expected-value: 'ConfidenceLevelModifiedEvent' - - field: scenario - expected-value: 'os-odl-nofeature' + selector: > + JMSType = 'ConfidenceLevelModifiedEvent' and + JMSOrigin = 'OPNFV' and + JMSScenario = 'os-odl-nofeature-ha' builders: - shell: | @@ -101,3 +91,9 @@ echo $CI_MESSAGE echo "----------------------------------" echo " Promoted ODL Autorelease artifact as release candidate!" + +- project: + name: openci-odl-view + views: + - project-view + project-name: openci-odl