mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
Merge pull request #7279 from nextcloud/combinationResult
use result from combinations
This commit is contained in:
commit
c899c3ef08
1 changed files with 4 additions and 1 deletions
|
@ -12,6 +12,7 @@ fi
|
|||
|
||||
classMethod=$3
|
||||
|
||||
resultCode=0
|
||||
while read line
|
||||
do
|
||||
darkMode=$(echo "$line" | cut -d" " -f1)
|
||||
|
@ -38,7 +39,9 @@ do
|
|||
-Pandroid.testInstrumentationRunnerArguments.DARKMODE="$darkMode" </dev/null > /dev/null \
|
||||
&& scripts/deleteOutdatedComments.sh "$1-$darkMode-$color" "Screenshot" "$DRONE_PULL_REQUEST" \
|
||||
"$GIT_USERNAME" "$GIT_TOKEN" \
|
||||
|| scripts/uploadReport.sh "$LOG_USERNAME" "$LOG_PASSWORD" "$DRONE_BUILD_NUMBER" \
|
||||
|| resultCode=1 && scripts/uploadReport.sh "$LOG_USERNAME" "$LOG_PASSWORD" "$DRONE_BUILD_NUMBER" \
|
||||
"$1-$darkMode-$color" "Screenshot" "$DRONE_PULL_REQUEST" "$GIT_USERNAME" "$GIT_TOKEN"
|
||||
fi
|
||||
done < scripts/screenshotCombinations
|
||||
|
||||
exit $resultCode
|
||||
|
|
Loading…
Reference in a new issue