How to do it...

  1. Go to a Jenkins project that creates a package file after compiling all of the source files.
  2. Select Resolve artifacts from Artifactory:
  1. Click on Refresh Repositories and select the repository in the release and snapshot field from the lists:
  1. Select Deploy artifacts to Artifactory from Add post-build action:
  1. Click on Refresh and select the repositories you created earlier:
  1. Click on Save.
  1. Click on Build now and verify ...

Get Jenkins 2.x Continuous Integration Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.