Configure Gradle Builds when working with the Jenkins Artifactory Plugin

JFrog Integrations Documentation

Content Type

Deploy Artifacts to Artifactory

Once you have at least one Artifactory server configured, you can add the deployment details in your Gradle build.

Deploy Artifacts to Artifactory_Gradle.png



Artifactory deployment server

Artifactory server as defined in the Artifactory plugin configuration. The selected server will be used for artifacts resolution and build info deployment.

Publishing repository

Repository to deploy artifacts to.

Using the text mode will enable you to also use placeholders for environment variable which will be replaced with your environment value at build time.

Custom staging configuration

Select a named staging configuration defined by an Artifactory User Plugin or select "None" to use the default staging settings.

Override default credentials

Override default credentials.