From 554aad2b2fbaaa05d3d1fa4e096e572a5caabfa8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 13 Jul 2016 21:28:38 +0200 Subject: lvc: s#retreive#retrieve#g --- bin/lvc_retreive_artifacts.sh | 14 -------------- bin/lvc_retrieve_artifacts.sh | 14 ++++++++++++++ job-cfg/lvc.yaml | 8 ++++---- 3 files changed, 18 insertions(+), 18 deletions(-) delete mode 100755 bin/lvc_retreive_artifacts.sh create mode 100755 bin/lvc_retrieve_artifacts.sh diff --git a/bin/lvc_retreive_artifacts.sh b/bin/lvc_retreive_artifacts.sh deleted file mode 100755 index 146558b6..00000000 --- a/bin/lvc_retreive_artifacts.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -# Copyright 2015 Holger Levsen -# released under the GPLv=2 - -DEBUG=true -. /srv/jenkins/bin/common-functions.sh -common_init "$@" - -# main -echo "$(date -u) - Starting to rsync 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/bin/lvc_retrieve_artifacts.sh b/bin/lvc_retrieve_artifacts.sh new file mode 100755 index 00000000..146558b6 --- /dev/null +++ b/bin/lvc_retrieve_artifacts.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# Copyright 2015 Holger Levsen +# released under the GPLv=2 + +DEBUG=true +. /srv/jenkins/bin/common-functions.sh +common_init "$@" + +# main +echo "$(date -u) - Starting to rsync 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 834a5f66..78916dae 100644 --- a/job-cfg/lvc.yaml +++ b/job-cfg/lvc.yaml @@ -42,7 +42,7 @@ includes: '{my_pngs}' image-width: 300 - trigger-parameterized-builds: - - project: lvc_retreive_artifacts + - project: lvc_retrieve_artifacts predefined-parameters: "TRIG_NODE=$NODE_NAME\nTRIG_RESULTS=$WORKSPACE/results" wrappers: - live-screenshot @@ -57,7 +57,7 @@ name: '{name}_{distro}' - job-template: - name: '{name}_retreive_artifacts' + name: '{name}_retrieve_artifacts' project-type: freestyle description: *desc properties: @@ -82,7 +82,7 @@ wrappers: - live-screenshot builders: - - shell: '/srv/jenkins/bin/lvc_retreive_artifacts.sh' + - shell: '/srv/jenkins/bin/lvc_retrieve_artifacts.sh' node: 'master' - project: @@ -113,5 +113,5 @@ my_iso: 'http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso-cd/debian-testing-amd64-netinst.iso' my_time: 'H H * * H' my_opts: '--tags @broken' - - '{name}_retreive_artifacts': + - '{name}_retrieve_artifacts': my_title: 'Retrieve results from LVC job' -- cgit v1.2.3-70-g09d2