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
Im using the JFrogGradle@1 task in my azure devops pipeline to try to publish artifacts to my jfrog instance. I have a serviceconnection set up to artifactory within azure. I receive the following errors
Describe the bug
Im using the JFrogGradle@1 task in my azure devops pipeline to try to publish artifacts to my jfrog instance. I have a serviceconnection set up to artifactory within azure. I receive the following errors
[pool-1-thread-1] Deploying artifact: https://myartifactoryurl.com/artifactory/mvn-group/otel-java/something-1.8.15-SNAPSHOT.jar
[pool-1-thread-3] Deploying artifact: https://myartifactoryurl.com/artifactory/mvn-group/otel-java/something-1.8.15-SNAPSHOT.jar
[pool-1-thread-2] Deploying artifact: https://myartifactoryurl.com/artifactory/mvn-group/otel-java/something-1.8.15-SNAPSHOT.jar
Error occurred for request GET /artifactory/api/system/version HTTP/1.1: artifact.it.att.com.
Error occurred for request GET /artifactory/api/system/version HTTP/1.1: artifact.it.att.com.
Error occurred for request GET /artifactory/api/system/version HTTP/1.1: myartifactoryurl.com: No address associated with hostname.
Attempting retry #1
Attempting retry #1
......
Execution failed for task ':artifactoryDeploy'.
I am behind a proxy however i have the proxy set. Below is my task
task: JFrogToolsInstaller@1
displayName: 'Install JFrog Tools Extension'
inputs:
artifactoryConnection: 'myserviceconnection'
cliInstallationRepo: 'repo'
installExtractors: true
extractorsInstallationRepo: 'mvn-group'
task: JFrogGradle@1
displayName: 'Push to JFrog Artifactory'
inputs:
gradleBuildFile: 'build.gradle.kts'
tasks: 'artifactoryPublish'
artifactoryResolverService: 'myserviceconnection'
artifactoryDeployerService: 'myserviceconnection'
targetRepo: 'mvn-group'
sourceRepo: 'mvn-group'
options: "-Dhttp.proxyHost=proxy..local -Dhttp.proxyPort=3128 -Dhttps.proxyHost=proxy..local -Dhttps.proxyPort=3128"
collectBuildInfo: false
usesPlugin: false
useWrapper: true
Note, im able to upload successfully artifacts/files when i use the JFrogGenericArtifacts@1, without even having a proxy configured.
Current behavior
Fails to push artifacts
Reproduction steps
Must hava access to my env or be behind a proxy
Expected behavior
the artifacts get deployed to jfrog artifactory
Azure DevOps extension name and version
azure-jfrog-devops
JFrog CLI version
2.52.9
Operating system type and version
azure devops pipeline agent
JFrog Artifactory version (if relevant)
No response
JFrog Xray version (if relevant)
No response
JFrog Distribution version (if relevant)
No response
The text was updated successfully, but these errors were encountered: