Commit 35059d95 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic

Jenkins-mahara: run only one feature file

(behat number fix)
parent 8eae0b39
Pipeline #98 canceled with stages
......@@ -301,7 +301,7 @@ echo "\n";
if (($BEHATTESTNUMBER = trim(shell_exec("git diff-tree --no-commit-id --name-only -r HEAD | grep -c $BEHATTESTREGEX"))) >= 1) {
echo "Patch includes a Behat test.\n";
if ($BEHATTESTNUMBER == 1) {
if ($BEHATTESTNUMBER === '1') {
$BEHATTESTFEATURE = basename(trim(shell_exec("git diff-tree --no-commit-id --name-only -r HEAD | grep $BEHATTESTREGEX")));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment