We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dbfde2 commit 3fbdb49Copy full SHA for 3fbdb49
entrypoint.sh
@@ -37,6 +37,14 @@ ln -s "${REAL_PLAN_DIR}" "${PLANSHOME}"
37
--metadata-branch "${GITHUB_REF#refs/heads/}" \
38
--metadata-commit "${GITHUB_SHA}" | tee run.out
39
TGID=$(awk '/run is queued with ID/ {print $10}' <run.out)
40
+
41
+# Make sure the we received a run ID
42
+if [ -z "$TGID" ]
43
+then
44
+ echo "${OUTPUT_OUTCOME}failure/not_queued"
45
+ exit "${FAILURE}"
46
+fi
47
48
echo "${OUTPUT_ID}${TGID}"
49
50
echo "Got testground ID ${TGID}"
0 commit comments