aboutsummaryrefslogtreecommitdiffstats
path: root/screwdriver/detect-what-to-build.sh
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahooinc.com>2023-01-11 14:53:37 +0100
committerArnstein Ressem <aressem@yahooinc.com>2023-01-11 14:53:37 +0100
commit56def4751d70480426e1d1cf8e195dd005532a0d (patch)
tree89444d9b6f6d2f5cde62a372cbcdf3415a9526c3 /screwdriver/detect-what-to-build.sh
parent799e7ffda3adfe238c730dfddbffee1965236ab7 (diff)
Default run systemtest in PR build if not [skip-systemtest] specified in PR title.
Diffstat (limited to 'screwdriver/detect-what-to-build.sh')
-rwxr-xr-xscrewdriver/detect-what-to-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/screwdriver/detect-what-to-build.sh b/screwdriver/detect-what-to-build.sh
index 358c855f7bd..9666f058942 100755
--- a/screwdriver/detect-what-to-build.sh
+++ b/screwdriver/detect-what-to-build.sh
@@ -19,7 +19,7 @@ COMMITS=$(jq -re '.[].sha' <<< "$JSON")
FILES=$(for C in $COMMITS; do JSON=$(curl -sLf https://api.github.com/repos/vespa-engine/vespa/commits/$C); jq -re '.files[].filename' <<< "$JSON"; done)
-if [[ $PR_TITLE =~ \[run-systemtest\] ]]; then
+if ! [[ $PR_TITLE =~ \[skip-systemtest\] ]]; then
SHOULD_BUILD=systemtest
elif [[ -z $FILES ]]; then
SHOULD_BUILD=all