summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYolanda Robla <yroblamo@redhat.com>2018-09-20 10:05:21 +0200
committerYolanda Robla <yroblamo@redhat.com>2018-09-20 10:07:49 +0200
commit5e377b0e12e10b3575d0f50c3864f9501ac2026e (patch)
treef2b760554df1f9b8f77dfe0afc815a99f4ebd4a2
parent8dac489e9c4f321acc6a71f8a713f12a6fac2efa (diff)
Add fixes in openci job
Force workspace cleanup Do not use credentials plugin, but hardcode it. Change-Id: I5b6e59382c25fc75a748f90fbd030521dac9071f Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
-rwxr-xr-xjjb/openci/create-cde.sh4
-rw-r--r--jjb/openci/openci-opnfv-daily-jobs.yaml6
2 files changed, 5 insertions, 5 deletions
diff --git a/jjb/openci/create-cde.sh b/jjb/openci/create-cde.sh
index b4b273a32..12ede6310 100755
--- a/jjb/openci/create-cde.sh
+++ b/jjb/openci/create-cde.sh
@@ -34,6 +34,10 @@ cat <<EOF > ./json_body.txt
}
EOF
+# temporary: until we can embed credentials plugin
+ACTIVEMQ_USER="openci"
+ACTIVEMQ_PASSWORD="openciP@ssw0rd"
+
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"
diff --git a/jjb/openci/openci-opnfv-daily-jobs.yaml b/jjb/openci/openci-opnfv-daily-jobs.yaml
index 3cacee65d..40e61ce7e 100644
--- a/jjb/openci/openci-opnfv-daily-jobs.yaml
+++ b/jjb/openci/openci-opnfv-daily-jobs.yaml
@@ -47,11 +47,7 @@
- 'opnfv-build-defaults'
wrappers:
- - credentials-binding:
- - username-password-separated:
- credential-id: openci-connect-activemq
- username: ACTIVEMQ_USER
- password: ACTIVEMQ_PASSWORD
+ - workspace-cleanup
triggers:
- jms-messaging: