X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fopenci%2Fopenci-onap-daily-jobs.yaml;h=03b9be80166698855af58877760322b30778a234;hb=refs%2Fchanges%2F37%2F131337%2F1;hp=d328e253042461165529fefb1dabd7234a830e26;hpb=46838e2fe133ef4bf410ba93d9ada1deedadf779;p=ci-management.git diff --git a/jjb/openci/openci-onap-daily-jobs.yaml b/jjb/openci/openci-onap-daily-jobs.yaml index d328e2530..03b9be801 100644 --- a/jjb/openci/openci-onap-daily-jobs.yaml +++ b/jjb/openci/openci-onap-daily-jobs.yaml @@ -25,7 +25,7 @@ concurrent: false - build-node: ubuntu1604-builder-4c-4g + build-node: ubuntu1804-builder-4c-4g parameters: - string: @@ -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 publish 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 ONAP can promote the autorelease artifact even further. @@ -77,19 +71,12 @@ concurrent: false - build-node: ubuntu1604-builder-4c-4g + build-node: ubuntu1804-builder-4c-4g 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: 'k8-nosdn-onap' + selector: JMSType = 'ConfidenceLevelModifiedEvent' and JMSOrigin = 'OPNFV' and JMSScenario = 'k8-nosdn-onap-ha' builders: - shell: |