---
sourceDocument: Australia IT Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/it-service-management

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia IT Service Management

ft:clusterId :

    - itsm

bundleId :

    - itsm

workflow :

    - Technology


---

# Configure JFrog in Jenkins

# Configure JFrog in Jenkins {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

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

## Vorbereitungen

Role required: admin role in Jenkins

## Prozedur

1. Install the [Artifactory](https://plugins.jenkins.io/artifactory/) plugin, to integrate Jenkins with JFrog, to publish, deploy, or download artifacts.
2. After the installation, configure the JFrog server details from Manage JenkinsConfigure System.  
   Hinweis:  
   To be able to integrate JFrog with Jenkins, the build info must be published for JFrog along with the artifacts.

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

             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:


                 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 


