Download and configure JFrog Artifactory on Windows — DevOps4Solutions

Artifactory is a repository manager that allows you to store and retrieve artifacts, such as dependencies or package files. It is like a local repository in the organization.

JFrog Artifactory is the only Universal Repository Manager supporting all major packaging formats, build tools and CI servers. Software binaries (e.g. files created by the build process, any libraries and static files that application requires) are managed through JFrog Artifactory.

Manual distribution of files across many file system is very in-efficient and error-prone in case of updates, rollbacks and uninstall. In contrast, various advantages are offered by JFrog Artifactory.

JFrog Artifactory provides,

  1. Fully-reproducible builds
  2. Full visibility of deployed artifacts and used dependencies
  3. Information about build environment and build status for full trace-ability
  4. Bidirectional connection between build and artifact information inside the CI server and Artifactory.

Download and configure JFrog Artifactory

Pre-requisite: Java 1.8

Following are the steps to download and create repositories and configure permissions to certain users in JFrog Arifactory:

b. Extract the .zip folder in your system. Go to the Bin folder and execute artifactory.bat c. Go to the browser and visit localhost:8081 in order to visit to the artifactory in browser.

Image for post

d. Log in as admin by providing the default credentials:

Username: admin

Password: password

e. You can create a Local repository to store package files created by the Jenkins/Maven project:

Go to Admin -> Repositories ->Local -> New

Image for post

f. Select Maven

Image for post

g. Provide key (name: Jenkins-integration) for your repository and check Handle Release and deselect Handle Snapshot.

Image for post

h. Similarly create another local repository with key (e.g. Jenkins-snapshot) and check Handle Snapshot while deselecting Handle Release. i. Also, create a user that you can utilize from Jenkins to access Artifactory:

Go to admin -> Security -> users -> Click on NEW from Users management window -> Add new user->Save

Image for post
Image for post

Verify the list of users.

j. Furthermore, provide the newly created user with permissions to the repositories:

Firstly, go to admin -> security-> users

Secondly, give the name to the permission

Lastly, choose the repositories on which you want to set the permission

Image for post
Image for post
Image for post
Image for post

-Click save & finish

k. Edit the permission and assign the user:

Also, check the Permissions Management section in Artifactory for recent changes:

Congratulations !! Finally you have configured JFrog Artifactory.

Seems like, now you are ready to integrate Artifactory with CI server (e.g. Jenkins).

Also, click here to integrate Jenkins with JFrog Artifactory !!

Originally published at on June 19, 2018.

Written by

Devops Automation Enginneer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store