add build credentials
Change-Id: I3156bcd146772e9b66c91ddb371fc4ebc2f774d0
diff --git a/jjb/onos/onos-release-build-verify.sh b/jjb/onos/onos-release-build-verify.sh
index 987a839..6da38b7 100644
--- a/jjb/onos/onos-release-build-verify.sh
+++ b/jjb/onos/onos-release-build-verify.sh
@@ -1,4 +1,15 @@
#!/bin/bash -ex
+
+# set up ONOS build environment
ONOS_ROOT=`pwd`
. tools/build/envDefaults
-onos-build-and-upload 1.12.0-testbuild 1.12-SNAPSHOT master --dry-run
+
+env
+
+# set up release build credentials
+. onos-build-credentials
+
+env
+
+# run the build
+#onos-build-and-upload 1.12.0-testbuild 1.12-SNAPSHOT master --dry-run
diff --git a/jjb/onos/onos-verify.yaml b/jjb/onos/onos-verify.yaml
index af9f955..65dd526 100644
--- a/jjb/onos/onos-verify.yaml
+++ b/jjb/onos/onos-verify.yaml
@@ -183,6 +183,11 @@
<<: *daily_boiler_plate
builders:
+ - config-file-provider:
+ files:
+ - file-id: 'onos-build-credentials'
+ variable: 'CREDENTIALS_FILE'
+
#put shell scripts in file then make sure shell check is installed on verify vms
- shell: !include-raw-escape: onos-release-build-verify.sh
# JJB 1.6.2 does not support parameter expansion on filename?