add maven and git settings to release build job
Change-Id: Iee44d9ca924affa5cb4a0a6b86602d568db295c2
diff --git a/jjb/onos/onos-release-build.sh b/jjb/onos/onos-release-build.sh
index c45a20d..3ab3f16 100644
--- a/jjb/onos/onos-release-build.sh
+++ b/jjb/onos/onos-release-build.sh
@@ -14,5 +14,8 @@
env
+git config user.email "jenkins@onosproject.org"
+git config user.name "ONOS Jenkins User"
+
# run the build
onos-build-and-upload ${ONOS_VERSION} ${ONOS_NEXT_VERSION} ${GERRIT_BRANCH}
diff --git a/jjb/onos/onos-verify.yaml b/jjb/onos/onos-verify.yaml
index df36153..bee0449 100644
--- a/jjb/onos/onos-verify.yaml
+++ b/jjb/onos/onos-verify.yaml
@@ -274,6 +274,9 @@
<<: *release_build_boiler_plate
builders:
+ - lf-provide-maven-settings:
+ settings-file: 'release-build-maven-settings'
+ global-settings-file: 'release-build-maven-settings'
- config-file-provider:
files:
- file-id: 'onos-build-credentials'
@@ -285,6 +288,9 @@
- file-id: 'secring.gpg.b64'
target: 'secring.gpg.b64'
variable: 'GPG_B64_FILE'
+ - file-id: 'secring.gpg.b64'
+ target: 'secring.gpg.b64'
+ variable: 'GPG_B64_FILE'
#put shell scripts in file then make sure shell check is installed on verify vms
- shell: !include-raw-escape: onos-release-build.sh