report all pipelines in front of me

This commit is contained in:
Martin Diehl 2020-09-18 14:19:23 +02:00
parent beb8f07a91
commit 25ad077640
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ before_script:
fi
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue) != 1 ];
do sleep 5m;
echo "next pipeline in queue has ID $(head -n 1 $TESTROOT/GitLabCI.queue)";
echo -e "Currently queued pipelines:\n$(cat $TESTROOT/GitLabCI.queue)\n";
done
- source $DAMASKROOT/env/DAMASK.sh
- cd $DAMASKROOT/PRIVATE/testing
@ -88,7 +88,7 @@ checkout:
- echo $CI_PIPELINE_ID >> $TESTROOT/GitLabCI.queue
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue) != 1 ];
do sleep 5m;
echo "next pipeline in queue has ID $(head -n 1 $TESTROOT/GitLabCI.queue)";
echo -e "Currently queued pipelines:\n$(cat $TESTROOT/GitLabCI.queue)\n";
done
script:
- mkdir -p $DAMASKROOT