Skip to content

Commit

Permalink
ci: add FlakyBot for generate-staging (#179)
Browse files Browse the repository at this point in the history
Generate flakybot report for staging in doc-pipeline
  • Loading branch information
dansaadati committed Feb 28, 2022
1 parent 9e60ee9 commit b7b14da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generate.sh
Expand Up @@ -59,7 +59,8 @@ else
exit_code=$?
fi

if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"generate-prod"* ]]; then
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"generate-prod"* ]] || \
[[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"generate-staging"* ]]; then
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
$KOKORO_GFILE_DIR/linux_amd64/flakybot
fi
Expand Down

0 comments on commit b7b14da

Please sign in to comment.