@@ -19,7 +19,8 @@ import (
1919)
2020
2121const (
22- ChecksumFileName = "checksum.sha2"
22+ ChecksumFileName = "checksum.sha2"
23+ jarsDocumentation = "https://docs.jfrog-applications.jfrog.io/jfrog-applications/jfrog-cli/cli-for-jfrog-artifactory/package-managers-integration#downloading-the-maven-and-gradle-extractor-jars"
2324)
2425
2526// Download the relevant build-info-extractor jar.
@@ -65,7 +66,7 @@ func GetExtractorsRemoteDetails(downloadPath string) (server *config.ServerDetai
6566 // Download directly from https://releases.jfrog.io
6667 log .Info ("The build-info-extractor jar is not cached locally. Downloading it now...\n " +
6768 "You can set the repository from which this jar is downloaded.\n " +
68- "Read more about it at " + coreutils . JFrogHelpUrl + "jfrog-cli/downloading-the-maven-and-gradle-extractor-jars" )
69+ "Read more about it at " + jarsDocumentation )
6970 log .Debug ("'" + coreutils .ReleasesRemoteEnv + "' environment variable is not configured. Downloading directly from releases.jfrog.io." )
7071 // If not configured to download through a remote repository in Artifactory, download from releases.jfrog.io.
7172 return & config.ServerDetails {ArtifactoryUrl : coreutils .JfrogReleasesUrl }, path .Join ("oss-release-local" , downloadPath ), nil
@@ -82,8 +83,8 @@ func getExtractorsRemoteDetailsFromEnv(downloadPath string) (server *config.Serv
8283func getExtractorsRemoteDetailsFromLegacyEnv (downloadPath string ) (server * config.ServerDetails , remoteRepo string , err error ) {
8384 server , remoteRepo , err = GetRemoteDetails (coreutils .DeprecatedExtractorsRemoteEnv )
8485 if remoteRepo != "" && err == nil {
85- log .Warn (fmt .Sprintf ("You are using the deprecated %q environment variable. Use %q instead.\n Read more about it at %sjfrog-cli/downloading-the-maven-and-gradle-extractor-jars " ,
86- coreutils .DeprecatedExtractorsRemoteEnv , coreutils .ReleasesRemoteEnv , coreutils . JFrogHelpUrl ))
86+ log .Warn (fmt .Sprintf ("You are using the deprecated %q environment variable. Use %q instead.\n Read more about it at %s " ,
87+ coreutils .DeprecatedExtractorsRemoteEnv , coreutils .ReleasesRemoteEnv , jarsDocumentation ))
8788 remoteRepo = getFullExtractorsPathInArtifactory (remoteRepo , coreutils .DeprecatedExtractorsRemoteEnv , downloadPath )
8889 }
8990 return
0 commit comments