Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 52146fc

Browse files
committed
Addressing issue on short living branches.
Could not find ref 'develop' in refs/heads or refs/remotes/origin. You may see unexpected issues and changes. Please make sure to fetch this ref before pull request analysis.
1 parent 0c3e695 commit 52146fc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.travis/run_sonar_scanner.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,8 @@ else
5252
echo "No need to update sonar we building on release or develop"
5353
fi
5454

55+
#Address issue : Could not find ref 'develop' in refs/heads or refs/remotes/origin
56+
git fetch --no-tags https://github.com/utPLSQL/utPLSQL.git +refs/heads/develop:refs/remotes/origin/develop
57+
5558
#Execute Sonar scanner
5659
sonar-scanner

0 commit comments

Comments
 (0)