Configure JFrog in Jenkins

task brazil Updated Sep 10, 2026 1 min read jenkins-jfrog-config.md
Raw file servicenow.com

Configure JFrog plugin for Jenkins to publish, deploy, or download artifacts.

Before you begin

Role required: admin role in Jenkins

Procedure

  1. Install the Artifactory plugin, to integrate Jenkins with JFrog, to publish, deploy, or download artifacts.

  2. After the installation, configure the JFrog server details from Manage Jenkins > Configure System.

    Note:

    To be able to integrate JFrog with Jenkins, the build info must be published for JFrog along with the artifacts.

    [Omitted image "jenkins-jfrog-config.png"] Alt text: Enter JFrog instance details.

  3. Use the following scripts to download or upload artifacts to Jenkins.

    Scripted pipeline to upload:

    Python
          def server = Artifactory.server 'JFROG1'                def uploadSpec = """{                   "files": [{                     "pattern": "${env.WORKSPACE}/target/artifact-1.3.jar",                      "target": "default-docker-virtual/"                   }]                }"""
                 def buildInfo = server.upload(uploadSpec)              server.publishBuildInfo buildInfo

    Scripted pipeline to download:

    Python
              def server = Artifactory.server 'JFROG1'                def downSpec= """{                   "files": [{                      "pattern": "default-docker-local/artifact-1.3.jar",                     "target":"/var/jfrog_artifacts/"                   }]                }"""
                 def buildInfo = server.download(downSpec)              server.publishBuildInfo buildInfo

Parent Topic:Jenkins integration with DevOps Change Velocity

Search documentation
Search document titles and file paths on the brazil branch