diff options
author | 2017-01-02 16:51:25 +0100 | |
---|---|---|
committer | 2017-01-02 16:51:25 +0100 | |
commit | 657673e2580d9e2f065534417db3a2404959b873 (patch) | |
tree | 64ff27b4088614debee00aa5bd7005d8eb0b6517 /jjb/release-jjb-chinook-snapshot | |
parent | 2c2756a98bf8612f7513a01b1eafd9bb93f069fb (diff) |
Prepare build on tag push
Change-Id: I7032f8123b76767af70dba8e96252c27094372f5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/release-jjb-chinook-snapshot')
-rw-r--r-- | jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh | 2 | ||||
-rw-r--r-- | jjb/release-jjb-chinook-snapshot/release-jjb-chinook-snapshot.yaml | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh b/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh index 96771423..2d6b51e3 100644 --- a/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh +++ b/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh @@ -10,7 +10,7 @@ export RSYNCDST="jenkins-slave@10.30.72.8:/srv/download/AGL/mirror/" echo "would do rsync -avr -e \"ssh -o StrictHostKeyChecking=no\" $RSYNCSRC $RSYNCDST " -if x"true" = x"$UPLOAD" ; then +if x"yes" = x"$UPLOAD" ; then echo upload fi diff --git a/jjb/release-jjb-chinook-snapshot/release-jjb-chinook-snapshot.yaml b/jjb/release-jjb-chinook-snapshot/release-jjb-chinook-snapshot.yaml index 732601f9..fc24111f 100644 --- a/jjb/release-jjb-chinook-snapshot/release-jjb-chinook-snapshot.yaml +++ b/jjb/release-jjb-chinook-snapshot/release-jjb-chinook-snapshot.yaml @@ -24,7 +24,7 @@ description: "refspec to build" - string: name: UPLOAD - default: NO + default: yes_or_no description: "Upload?" axes: - axis: @@ -46,6 +46,11 @@ artifact-days-to-keep: -1 artifact-num-to-keep: 5 + triggers: + - gerrit-trigger-patch-submitted-silent: + name: 'AGL/AGL-repo' + branch: 'refs/tags/**' + wrappers: - agl-infra-wrappers: build-timeout: '{build-timeout}' |