diff --git a/integration-tests/common.bash b/integration-tests/common.bash index bf6e61707a551985b9aad1acec5bc1fef1784ce0..7a56fa487e76dd7abdb7877e19ebe28f3428cfd3 100755 --- a/integration-tests/common.bash +++ b/integration-tests/common.bash @@ -331,7 +331,7 @@ function fetch_latest_artifacts_from_cruise_control { local last_build="$HUDSON_ARTIFACTS/$proj_name/lastSuccessful/archive/_main/targets/dist" if [ $MY_HOST_IP == $CI_HOST_IP ]; then - local last=`ls -1 $CI_HOME/ci/$last_build | sort | tail -1` + local last=`ls -1 $CI_HOME/$last_build | sort | tail -1` echo "Fetching artifacts for $proj_name: $last" cp $CI_HOME/$last_build/*.zip $dest_dir else