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
# Create the URL of an artifact given a GAC (i.e. org.sonarsource.sonarqube:sonar-application:zip or com.sonarsource.sonarqube:sonarqube-enterprise:yguard:xml)
30
29
functioncreateArtifactURL() {
31
-
ARTIFACT=$1
32
-
IFS=":"read -r -a GAQE <<<"$ARTIFACT"
30
+
IFS=":"read -r -a GAQE <<<"$1"
33
31
GROUP_ID=${GAQE[0]}
34
32
ARTIFACT_ID=${GAQE[1]}
35
33
GROUP_ID_PATH=${GROUP_ID//./\/}
36
34
37
35
FILENAME=$ARTIFACT_ID-$PROJECT_VERSION
38
36
EXTENSION=
39
-
if [ ${#GAQE[@]}= 4 ];then
37
+
if [ ${#GAQE[@]}= 4 ];then
40
38
CLASSIFIER=${GAQE[3]}
41
39
EXTENSION=${GAQE[2]}
42
40
FILENAME=$FILENAME-$CLASSIFIER
@@ -50,29 +48,23 @@ function createArtifactURL() {
50
48
51
49
# Create a comma-separated list of URLs of artifacts
0 commit comments