aboutsummaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
Diffstat (limited to 'jjb')
-rw-r--r--jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh2
-rw-r--r--jjb/release-jjb-chinook-snapshot/release-jjb-chinook-snapshot.yaml7
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}'