简体   繁体   中英

How to checkout Artifactory repo in jenkins workspace

I am new to artifactory just wanted to know if there is a way to checkout artifactory repo similar to git repository so that the content of the artifactory repo is visible in the Jenkins workspace.

For git repo we get options like checkout as a subfolder I want to know if we can do something similar to that for artifactory in Jenkins

Any suggestions

Git is the VCS and Artifactory is a repository manager and I doubt that this cannot be done. Artifactory in Jenkins is used for retrieving/downloading the packages, resolving the dependencies and deploying the build to Artifactory. If my understanding in incorrect, kindly elaborate on the use-case for better. Refer to the below wikis for better understanding,

  1. https://www.jfrog.com/confluence/display/JFROG/Jenkins+Artifactory+Plug-in
  2. https://www.jfrog.com/confluence/display/JFROG/Declarative+Pipeline+Syntax
  3. https://www.jfrog.com/confluence/display/JFROG/Scripted+Pipeline+Syntax
  4. https://github.com/jfrog/project-examples/tree/master/jenkins-examples/pipeline-examples/declarative-examples

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM