X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopenci%2Fcreate-cde.sh;h=9780119ce2feb3fb728f950aba64b21e07a06a27;hb=130035b670054a9486331a0ed8e396ed82623a20;hp=b4b273a32847f458d5d3663c1498b06a395d3636;hpb=9a621621a31c4278b09b715eacd815580a85b8aa;p=releng.git diff --git a/jjb/openci/create-cde.sh b/jjb/openci/create-cde.sh index b4b273a32..9780119ce 100755 --- a/jjb/openci/create-cde.sh +++ b/jjb/openci/create-cde.sh @@ -11,6 +11,8 @@ set -o errexit set -o nounset set -o pipefail +export PS1=${PS1:-} + # This script creates CompositionDefinedEvent git clone https://gitlab.openci.io/openci/prototypes.git @@ -29,16 +31,17 @@ cat < ./json_body.txt "buildUrl": "$BUILD_URL", "branch": "master", "origin": "$PUBLISH_EVENT_ORIGIN", + "scenario": "$DEPLOY_SCENARIO", "compositionName": "$DEPLOY_SCENARIO", "compositionMetadataUrl": "$SCENARIO_METADATA_LOCATION" } EOF -openci_publish -H 129.192.69.55 -U ${ACTIVEMQ_USER} -p ${ACTIVEMQ_PASSWORD} -n openci.prototype -B ./json_body.txt - echo "Constructed $PUBLISH_EVENT_TYPE" echo "--------------------------------------------" cat ./json_body.txt echo "--------------------------------------------" +python openci_publish -H 129.192.69.55 -U ${ACTIVEMQ_USER} -p ${ACTIVEMQ_PASSWORD} -n openci.prototype -B ./json_body.txt + deactivate