[Qa-jenkins-scm] [jenkins.debian.net] 02/08: lvc: try another way of getting two parameters for the trigger
Holger Levsen
holger at layer-acht.org
Wed Jul 13 19:28:47 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 8fedb4c47aebe34804d64233ca0abd81975117f9
Author: Philip Hands <phil at hands.com>
Date: Mon Jun 27 15:03:48 2016 +0200
lvc: try another way of getting two parameters for the trigger
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/lvc_retreive_artifacts.sh | 4 ++--
job-cfg/lvc.yaml | 6 ++----
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/bin/lvc_retreive_artifacts.sh b/bin/lvc_retreive_artifacts.sh
index 4ec3057..146558b 100755
--- a/bin/lvc_retreive_artifacts.sh
+++ b/bin/lvc_retreive_artifacts.sh
@@ -9,6 +9,6 @@ common_init "$@"
# main
echo "$(date -u) - Starting to rsync results."
-rsync -r -v -e "ssh -o 'Batchmode = yes'" $TRIG_HOST:$TRIG_RESULTS/ $TRIG_RESULTS/
-chmod 775 $RESULTS
+rsync -r -v -e "ssh -o 'Batchmode = yes'" $TRIG_NODE:$TRIG_RESULTS/ /$TRIG_RESULTS/
+chmod 775 $TRIG_RESULTS
echo "$(date -u) - the end."
diff --git a/job-cfg/lvc.yaml b/job-cfg/lvc.yaml
index 1d2cd77..f642c32 100644
--- a/job-cfg/lvc.yaml
+++ b/job-cfg/lvc.yaml
@@ -47,9 +47,7 @@
- shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh {my_iso} /srv/jenkins/cucumber/features {my_opts}'
- trigger-builds:
- project: lvc_retreive_artifacts
- predefined-parameters:
- TRIG_HOST=$HOST
- TRIG_WORKDIR=$WORKDIR
+ predefined-parameters: "TRIG_NODE=$NODE_NAME\nTRIG_RESULTS=$WORKSPACE/results"
triggers:
- timed: '{my_time}'
node: 'lvc'
@@ -68,7 +66,7 @@
- sidebar: *sb3
parameters:
- string:
- name: TRIG_HOST
+ name: TRIG_NODE
description: The host that the job triggering this one was running on
- string:
name: TRIG_RESULTS
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list