jfrog / artifactory-gradle-plugin

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

Fix deployable artifacts mechanism #56

Closed yahavi closed 1 year ago

yahavi commented 1 year ago

Currently, the deployable artifacts mechanism adds the deployable artifacts only if the artifacts are deployed. However, there's a requirement for these deployable artifacts even when they haven't been deployed yet, so we can deploy them at a later time. For instance, the command jf gradle clean aP --scan is used to analyze the deployable artifacts and then deploy the ones that are non-vulnerable.

This PR make it work like v4 of this plugin: https://github.com/jfrog/build-info/blob/build-info-gradle-extractor-4.33.4/build-info-extractor-gradle/src/main/groovy/org/jfrog/gradle/plugin/artifactory/task/DeployTask.java#L193