UPLOAD ARTIFACTS INTO NEXUS REPOSITORY | Jenkins Nexus Integration | PipeLine Script
ฝัง
- เผยแพร่เมื่อ 5 ก.ย. 2024
- Here, in this video we will see how we can automate the continuous delivery process by writing pipeline script in Jenkins to upload the artifacts into Sonatype Nexus repository.
We will see step by step process starting from Nexus Installation, repository creation, etc..
Binary file management is most important in software development.
There are multiple repository system available in the market to store the Artifacts or, the Binary files.
Sonatype Nexus Installation:
Step1: Java8 Installation
sudo yum install java-1.8.0-openjdk.x86_64 -y
Step2: Install Nexus
cd /opt
sudo wget sonatype-downl...
sudo tar -zxvf nexus-3.0.2-02-unix.tar.gz
sudo mv nexus-3.0.2-02 nexus
sudo adduser nexus
sudo passwd nexus
sudo chown -R nexus:nexus /opt/nexus
sudo vi /opt/nexus/bin/nexus.rc
run_as_user="nexus"
sudo ln -s /opt/nexus/bin/nexus /etc/init.d/nexus
su - nexus
service nexus start
Default login:
user: admin
password: admin123
Jenkinsfile can be found here:
github.com/ran...
#devops #pipeline #jenkins #nexus #automation #cicd #ci #cd #clouds #continuousintegration #continuousdelivery
SUBSCRIBE to my channel:
/ @ranjitswain
: FOLLOW ME :
LinkedIn - / ranjitkuswain
Instagram - / rs.ranjitswain
Facebook - / rs.ranjitswain
Twitter - / rs_ranjitswain
Great explanation thank you sir🎉
Thank you for your valuable feedback🙏
Great video man, thanks a lot.
Have a nice day.
Thank you for your valuable comment!
thank you 😊
You're welcome 😊
Thank sir, can you show me event trigger commit to github then auto build jenkin
Hi, a project with the same concept will be published soon.
Please what version of maven did you install
Hi, you can use the maven version based on your project requirement.
Here I've used 3.8.8 version of maven to build this application
I installed java 8 in my Jenkins server but it fails to run Jenkins when I verify by systemctl Jenkins status. In your video demo I am trying to go base of your git repo. I guess all the requirements are defined in the Jenkins file. If I use java 11 and other maven version will it throw an error if I try to build the job
If nexus services only https private certificate, is there a way to upload with nexus upload artifact in jenkins?
Hi, Yes you can upload artifacts from Jenkins, but make sure the nexus certificate integration done. I will share a video shortly.
but sir.. t2.micro instance not working with nexus..!!
Hi, are you getting any error?
@@RanjitSwain yes sir getting error
@@shamshadansari2018 what error are you getting?