jfrog / jfrog-azure-devops-extension

Apache License 2.0
46 stars 61 forks source link

jfrogGradle unable to publish artifacts #483

Open cb645j opened 4 months ago

cb645j commented 4 months ago

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 ......

I am behind a proxy however i have the proxy set. Below is my task

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