You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/sonarqube.bash
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -32,14 +32,14 @@ readonly project_key
32
32
# Run the Sonar Scanner in a container. The "repository" directory is just the
33
33
# source code, and we mount it to be able to scan the source code.
34
34
#
35
-
# Should we be running on main, then skip passing the information regarding the
36
-
# pull request.
35
+
# Should we be running on master, then skip passing the information regarding
36
+
#the pull request.
37
37
#
38
38
# Finally, the volume is mounted with the "z" option, because it seems like
39
39
# the runner has SELinux activated, and that we need to relabel the directory
40
40
# to have permission to read it. More information here: https://www.reddit.com/r/podman/comments/fww87v/permission_denied_within_mounted_volume_inside/
41
41
#
42
-
if [ -n"${GIT_BRANCH:-}" ] && [ "${GIT_BRANCH}"=="origin/main" ];then
0 commit comments