user1617942
user1617942

Reputation: 233

Using Jenkins Artifactory Plugin to Publish Build Info But Not Deploy Artifacts

We're looking at using the Jenkins Artifactory plugin with its Gradle Integration, mostly for its License Check feature . In our case we do not need this plugin to publish any artifacts to Artifactory, just the build info and license check info. Is there a way to configure the plugin to do this? No matter what I do, it seems to always run the artifactoryPublish task in Gradle.

Upvotes: 1

Views: 993

Answers (1)

JBaruch
JBaruch

Reputation: 22893

If you use the Artifactory Gradle plugin, set the publishArtifacts flag to false in the defaults {} closure of the DSL.

If you don't use the Artifactory Gradle plugin explicitly, uncheck the "Publish artifacts to Artifactory" flag.

Upvotes: 1

Related Questions