Skip to content

Commit

Permalink
[devops] Simplify validation for cleanup script. (#15470)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfbjarne authored Jul 13, 2022
1 parent bc23ece commit bdfdd19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/devops/automation/scripts/bash/clean-bot.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash -ex

# Do some simple validation
if [[ "$BUILD_REVISION" != "jenkins" ]] ; then
echo "This script should only be run on Jenkins bots."
if [[ "$BUILD_REVISION" == "" ]] ; then
echo "This script should only be run on bots."
exit 1
fi

Expand Down

5 comments on commit bdfdd19

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

Please sign in to comment.