jfrog / artifactory-gradle-plugin

JFrog Gradle plugin for Build Info extraction and Artifactory publishing.
Apache License 2.0
20 stars 15 forks source link

CI - Prefer repo from settings over project #90

Closed yahavi closed 7 months ago

yahavi commented 7 months ago

In CI mode, when a resolution server is specified, the plugin should prioritize repository settings configured by the user in the JFrog CLI / Jenkins Artifactory plugin over those in the build.gradle file. For example, configuring the Gradle project with jf gradlec --server-id-resolve maven-remote and executing jf gradle clean aP should result in the use of the maven-remote repository instead of any repositories mentioned in the build.gradle file.

github-actions[bot] commented 7 months ago
[![👍 Frogbot scanned this pull request and found that it did not add vulnerable dependencies.](https://raw.githubusercontent.com/jfrog/frogbot/master/resources/v2/noVulnerabilityBannerPR.png)](https://github.com/jfrog/frogbot#readme)

[🐸 JFrog Frogbot](https://github.com/jfrog/frogbot#readme)