Hello,
I'm trying to run the following pipeline code that is failing without an output.
I've tried running it via CLI in a container and it works fine.
Can someone explain what's wrong?
- buildJobs=$(wc -l build-ids.txt | awk '{print $1}')
- inactiveJobs=0
- while [ $inactiveJobs -lt $buildJobs ]; do inactiveJobs=$(aws codebuild batch-get-builds --ids $(cat build-ids.txt| tr '\n' ' ' | tr -d '"') | jq '.builds[]'.buildStatus | grep -c -v IN_PROGRESS); echo $inactiveJobs; sleep 10; done
Thanks