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

ความคิดเห็น • 18

  • @ranjitsheelvant5659
    @ranjitsheelvant5659 ปีที่แล้ว

    Great explanation thank you sir🎉

    • @RanjitSwain
      @RanjitSwain  ปีที่แล้ว +1

      Thank you for your valuable feedback🙏

  • @JoseManuel-lo2ed
    @JoseManuel-lo2ed 10 หลายเดือนก่อน

    Great video man, thanks a lot.
    Have a nice day.

    • @RanjitSwain
      @RanjitSwain  9 หลายเดือนก่อน +1

      Thank you for your valuable comment!

  • @bharath4195
    @bharath4195 ปีที่แล้ว +1

    thank you 😊

  • @bphil4859
    @bphil4859 8 หลายเดือนก่อน +1

    Thank sir, can you show me event trigger commit to github then auto build jenkin

    • @RanjitSwain
      @RanjitSwain  8 หลายเดือนก่อน +1

      Hi, a project with the same concept will be published soon.

  • @samjones4443
    @samjones4443 10 หลายเดือนก่อน +1

    Please what version of maven did you install

    • @RanjitSwain
      @RanjitSwain  10 หลายเดือนก่อน +1

      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

    • @samjones4443
      @samjones4443 10 หลายเดือนก่อน +1

      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

  • @wildebeb
    @wildebeb ปีที่แล้ว

    If nexus services only https private certificate, is there a way to upload with nexus upload artifact in jenkins?

    • @RanjitSwain
      @RanjitSwain  ปีที่แล้ว +1

      Hi, Yes you can upload artifacts from Jenkins, but make sure the nexus certificate integration done. I will share a video shortly.

  • @shamshadansari2018
    @shamshadansari2018 11 หลายเดือนก่อน

    but sir.. t2.micro instance not working with nexus..!!

    • @RanjitSwain
      @RanjitSwain  11 หลายเดือนก่อน

      Hi, are you getting any error?

    • @shamshadansari2018
      @shamshadansari2018 11 หลายเดือนก่อน

      @@RanjitSwain yes sir getting error

    • @RanjitSwain
      @RanjitSwain  11 หลายเดือนก่อน

      @@shamshadansari2018 what error are you getting?