Once the connection is set, we will start adding builds, and inside the builds we will add the JFrog CLI command to control JFrog Platform
- From the main page, click on New Item
Insert a new name for the item, in our case we can insert JFrog-CLI, and select Pipelines, then click on OK.
Once the Build is added, scroll down to reach Pipeline section
- Here we will insert the following commands
pipeline{ agent any tools { jfrog 'jfrog-cli-latest' } stages { stage ('Testing') { steps { jf '-v' jf 'c show' jf 'rt ping' sh 'touch test-file' jf 'rt u test-file my-repo/' jf 'rt bp' jf 'rt dl my-repo/test-file' } } } }