Fix post-merge job for snapshots
Change-Id: I6879149deaf03a4ef4d724690b0b84a715e4e163
diff --git a/jjb/onos/onos-verify.yaml b/jjb/onos/onos-verify.yaml
index 7005393..39d106e 100644
--- a/jjb/onos/onos-verify.yaml
+++ b/jjb/onos/onos-verify.yaml
@@ -139,11 +139,9 @@
triggers:
- gerrit:
- #server-name: '{gerrit-server-name}'
server-name: 'ONOS Project Gerrit'
- #trigger-on: '{obj:gerrit_verify_triggers}'
trigger-on:
- - change-merged-event: true
+ - change-merged-event
projects:
- project-compare-type: PLAIN
project-pattern: '{project}'
@@ -586,7 +584,6 @@
- job-template:
#default name is global
name: 'onos-{stream}-release-build-upload-snapshot'
- disabled: true
# Job template for post-merge snapshot artifacts build and upload
@@ -600,6 +597,9 @@
- file-id: 'gpg-key'
target: 'jenkins.key'
variable: 'GPG_KEY_FILE'
+ - file-id: 'release-build-maven-settings'
+ target: 'settings.xml'
+ variable: 'MAVEN_SETTINGS'
#put shell scripts in file then make sure shell check is installed on verify vms
- shell: !include-raw-escape: install-bazel.sh