From 540ccb7d062c649010b09f9c7dea814b8c477a41 Mon Sep 17 00:00:00 2001 From: tpylak <tpylak> Date: Fri, 13 Aug 2010 09:53:14 +0000 Subject: [PATCH] screening: correct integration tests to use Hudson SVN: 17439 --- integration-tests/common.bash | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/integration-tests/common.bash b/integration-tests/common.bash index 5cdab2faa54..7e8a643fabb 100755 --- a/integration-tests/common.bash +++ b/integration-tests/common.bash @@ -18,7 +18,7 @@ LOCAL_PROJECTS=.. OPENBIS_SERVER=$WORK/openBIS-server SSH_CRUISE_CONTROL_NAME=ci@cisd-vesuvio.ethz.ch -CRUISE_CONTROL_ARTIFACTS=cruisecontrol-bin/artifacts +HUDSON_ARTIFACTS=hudson/jobs # ----------------------------- global state @@ -320,10 +320,11 @@ function fetch_latest_artifacts_from_cruise_control { local proj_name=$1 local dest_dir=$2 - local list_cmd="ls -1 $CRUISE_CONTROL_ARTIFACTS/$proj_name | sort | tail -1" + local last_build="$HUDSON_ARTIFACTS/$proj_name/lastSuccessful/archive/_main/targets/dist" + local list_cmd="ls -1 $last_build | sort | tail -1" local last=`echo $list_cmd | ssh $SSH_CRUISE_CONTROL_NAME -T` echo "Fetching artifacts for $proj_name: $last" - scp $SSH_CRUISE_CONTROL_NAME:$CRUISE_CONTROL_ARTIFACTS/$proj_name/$last/*.zip $dest_dir + scp $SSH_CRUISE_CONTROL_NAME:$last_build/*.zip $dest_dir } # -------------------------- installation -- GitLab