diff --git a/scripts/analysis/analysis-wrapper.sh b/scripts/analysis/analysis-wrapper.sh index 230064e2f..09bc42aeb 100755 --- a/scripts/analysis/analysis-wrapper.sh +++ b/scripts/analysis/analysis-wrapper.sh @@ -11,7 +11,7 @@ BUILD_NUMBER=$4 PR_NUMBER=$5 -stableBranch="master" +stableBranch="stable-2.19" repository="android-library" curl "https://www.kaminsky.me/nc-dev/$repository-findbugs/$stableBranch.xml" -o "/tmp/$stableBranch.xml" diff --git a/scripts/analysis/getBranchName.sh b/scripts/analysis/getBranchName.sh index b0668f607..d27690825 100755 --- a/scripts/analysis/getBranchName.sh +++ b/scripts/analysis/getBranchName.sh @@ -7,7 +7,7 @@ # $1: username, $2: password/token, $3: pull request number if [ -z $3 ] ; then - echo "master"; + echo "stable-2.19"; else - curl 2>/dev/null -u $1:$2 https://api.github.com/repos/nextcloud/android-library/pulls/$3 | grep \"ref\": | grep -v '"master"' | cut -d"\"" -f4 + curl 2>/dev/null -u $1:$2 https://api.github.com/repos/nextcloud/android-library/pulls/$3 | grep \"ref\": | grep -v '"stable-2.19"' | cut -d"\"" -f4 fi