Professional Documents
Culture Documents
Implementation Phase of SDLC: Dependencies
Implementation Phase of SDLC: Dependencies
Example:
In C programming language, the member functions like clrscr(), getch() uses the
library conio.
Earlier times before the Artifactory has introduced the developers would randomly
access the different repository to get them as depicted in the picture.
Disadvantages
After the successful build and deployment of code, where do we store the end products
Artifacts(Binaries)?
Dependency Management
Effective builds
Release stability
Control and audit
Collaborative working
The end products of the software development phase are the Artifacts, also called
binaries.
Binary Repository Manager
The above picture depicts the critical role played by JFrog Artifactory in Development.
Artifactory acts as a central repository where the developers can access their
needed packages and libraries when required.
In case, if the package is not found in the Artifactory, it accesses the remote site
to obtain the needed packages and caches it for the developers for the further
use.
Artifact Origin
Extraction
OSX or Linux: The downloaded archive can be extracted with these commands in
terminal.
Example:
$ 7za.exe e jfrog-artifactory-oss-6.6.0.zip
Installation of Artifactory
As a result of extraction,, a folder named JFrog Artifactory -<Version> will be
shown.
Navigate inside the /bin folder using your Terminal(Linux/MAC) or Command
Prompt(Windows)
Run this command to start your Artifactory
$ ./artifactory.sh
Home
Artifacts
Search
Build
AdminIt contains:
Search Panel
Provides information on the frequently accessed artifacts and the last build details.
Feature Panel
User Guide
Support Portal
Blogs
Webinar
Rest API
The next module being Artifact repository Browser helps you in:
Refresh
Native Browser
Zip Cache
Add to favorites
The next module is the Search tab that helps in searching by name, package type, and
properties.
Build Module
The module of Artifactory UI is Build.
When a CI pipeline is integrated with Artifactory, the resulting builds get
displayed here on the basis of:
o Build Name
o Last Build ID
o Last Build Time
Comparisons of builds can be done here.
The module of Artifcatory UI is Admin module.
Only available for the persons who are defined as Administrators.
The module of Artifcatory UI is Admin module.
Only available for the persons who are defined as Administrators.
Problem Statement
A Client of the company wants to store their Artifacts (binaries) in a central repository so
that they can make the development phase of the Software Development Life Cycle
much more efficient by the collaborative working supported by the central repository.
Let's help them with our Artifactory!
Prerequisite
Adequate knowledge in
Jenkins
Maven
The Client has given their GitHub repository link of their project.
We will try building the Maven project using Jenkins.
The generated Artifacts at the end of the build process is directed to your
Artifactory so that it acts as Central storage.
To be Noted
Make sure to install and configure the following plugins in Jenkins as seen in the earlier
courses.
Maven
GitHub
Artifactory
Creating Project
Navigate to the Source Code Management tab and check on Git option.
Provide the URL of the GitHub repository.
Post Build
Build process
Course Summary
Applauses! You are at the end of the course. Here is the quick recap of what you
have learned in this course.
Role in SDLC
Binary Repository
Introduction to Artifactory
Installation and Configuration of Artifactory
A Tour on Artifactory UI
Integration of Artifactory with Jenkins
Integration of CI pipeline to Artifactory - Demo