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
Describe the bug
Gradle project using artifactory plugin to publish to Artifactory SaaS. Gradle is configured to use proxy via environment variable GRADLE_OPTS="-Dhttps.proxyHost=egress-proxy -Dhttps.proxyPort=3128" additionally artifactory plugin is configure to use proxy as well
Dependency resolution works correctly and uses proxy. When running gradle artifactoryPublish I can see that proxy settings are picked up when uploading artifacts
[DEBUG] [org.jfrog.gradle.plugin.artifactory.task.DeployTask] Uploading artifacts to Artifactory at 'https://###.jfrog.io/artifactory'
[DEBUG] [org.jfrog.gradle.plugin.artifactory.task.DeployTask] Found proxy host 'egress-proxy'
[DEBUG] [org.jfrog.gradle.plugin.artifactory.task.DeployTask] No proxy user name and password found, using anonymous proxy
...
[DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection request: [route: {tls}->http://egress-proxy:3128->https://###.jfrog.io:443][total available: 0; route allocated: 0 of 10; total allocated: 0 of 10]
but then when deploying build info it's ignored
[LIFECYCLE] [org.jfrog.gradle.plugin.artifactory.task.DeployTask] Deploying build info...
[DEBUG] [org.jfrog.gradle.plugin.artifactory.task.DeployTask] Base URL: /api/build
[DEBUG] [org.apache.http.client.protocol.RequestAddCookies] CookieSpec selected: default
[DEBUG] [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection request: [route: {s}->https://###.jfrog.io:443][total available: 0; route allocated: 0 of 10; total allocated: 0 of 10]
To Reproduce
Configure build environment that requires use of forwarding proxy to access Artifactory for publishing artifacts. Configure gradle project that publishes any artifact and build info. Run artifactoryPublish
Expected behavior
Plugin should use the same proxy setting for publishing artifacts and build info
Versions
Gradle Artifactory plugin version: 4.27.1
Operating system: macOS Catalina
Artifactory Version: Artifactory SaaS
The text was updated successfully, but these errors were encountered:
Describe the bug
Gradle project using artifactory plugin to publish to Artifactory SaaS. Gradle is configured to use proxy via environment variable
GRADLE_OPTS="-Dhttps.proxyHost=egress-proxy -Dhttps.proxyPort=3128"
additionally artifactory plugin is configure to use proxy as wellDependency resolution works correctly and uses proxy. When running
gradle artifactoryPublish
I can see that proxy settings are picked up when uploading artifactsbut then when deploying build info it's ignored
To Reproduce
Configure build environment that requires use of forwarding proxy to access Artifactory for publishing artifacts. Configure gradle project that publishes any artifact and build info. Run artifactoryPublish
Expected behavior
Plugin should use the same proxy setting for publishing artifacts and build info
Versions
The text was updated successfully, but these errors were encountered: