Configure Build Tools in Jenkins and Jenkinsfile | Jenkins Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ม.ค. 2025

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

  • @TechWorldwithNana
    @TechWorldwithNana  4 ปีที่แล้ว +11

    1:13 - How to use build tools in Jenkins
    1:57 - Check if your build tool is already available?
    4:07 - Install npm and yarn from plugins
    7:09 - Use build tools (gradle and yarn) in Jenkinsfile
    10:43 - Alternative to using build tools in Jenkinsfile

  • @chetanhireholi
    @chetanhireholi 4 ปีที่แล้ว +3

    Helpful content! Crisp & straight forward!
    Looking forward for more!
    thanks for the upload!

  • @najeebshhade9572
    @najeebshhade9572 4 ปีที่แล้ว

    I will keep sayin that I love you as a teacher until I find a job, until then I will send you a gift to thank you from all my heart

  • @ajaykumarsinghwal
    @ajaykumarsinghwal 4 ปีที่แล้ว +2

    Hallo Nana !!
    Vielen Dank..
    I'd been following your videos and I want to thank you for making technology and tools so easy to understand and learn.
    Danke Danke !!
    tschüss :-)

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

      You're welcome Ajay. Thank you as well for the love and support. Take care and keep safe. 🙂

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

    Great tutorial. Very light and clear. You're great, thank you, Nana !

  • @619trading9
    @619trading9 4 ปีที่แล้ว

    Outstanding video.. been banging my head against the wall because I didnt know about the wrapper and apparently no one in google has either!!!

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

    great tutorial!

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

    topic very well explained , Thank you

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

    thanks for sharing knowledge !!

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      You're welcome :) glad I can deliver my knowledge in an understandable way

  • @MadhuExplorer
    @MadhuExplorer 4 ปีที่แล้ว +3

    Thanks for the video Nana, can you please post more videos on how to write declarative pipelines

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

    Helped a lot ! Thank you !

  • @artc860
    @artc860 4 ปีที่แล้ว +2

    can you provide the demo application which you build in the video?thks.

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

    Thanks for sharing

  • @ahmednezhi2041
    @ahmednezhi2041 4 ปีที่แล้ว

    Thank you so much, this was a very helpful !

  • @eujoseluizmartins
    @eujoseluizmartins 2 ปีที่แล้ว

    Thank you :)

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

    Thank you and Subscribed !
    God Bless.

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

    Thanks nana very helpful.Could you please share the knowledge how to deploy

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว

      Glad to hear :) What do you mean exactly?

    • @srikanthkasthala9835
      @srikanthkasthala9835 4 ปีที่แล้ว

      @@TechWorldwithNana
      What I am asking is how to deploy the code in DevOps .. that entire process we want.could you please share that .

  • @blazer511
    @blazer511 3 ปีที่แล้ว

    3:46 Can you explain how to use run Shell Command option from this dropdown?

  • @Devops-cloud-school
    @Devops-cloud-school 2 ปีที่แล้ว

    Super please do one video writing groovy script in Jenkins pipeline

  • @drizzle666
    @drizzle666 3 ปีที่แล้ว +2

    tried to follow the demo, but couldn't find the ImmoApp repo on gitlab, guess you got rid of it?

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

    Hi This video is very helpful to us can you please help to how to create pipe line script for angular application

  • @GopalRoy-nn6ft
    @GopalRoy-nn6ft 3 ปีที่แล้ว +1

    try sharing Jenkins file repo also.

  • @deepakranjanmishra5641
    @deepakranjanmishra5641 9 หลายเดือนก่อน

    Kindly if you can make a video on code coverage using CLOVER and Jenkins

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

    Hi Nana, great videos, I really appreciate them. When running the gradle command from the Jenkins file I get an error stating it cannot find gradle. I’m running Jenkins within a Docker container and gradle is installed as a plug-in. Any suggestions?

  • @subhashchoudhary9881
    @subhashchoudhary9881 4 ปีที่แล้ว

    Thanks nana very helpful. Can you please help with Maven installation and few of maven command. It would be great help.

  • @VjanandSanna
    @VjanandSanna 4 ปีที่แล้ว

    Hi Nana, the video is quite simple and awesome , can i know how the batch commands used when am using windows as my slave agent.

  • @vikasbansal3360
    @vikasbansal3360 2 ปีที่แล้ว

    ./gradlew -v logging the version 4.2.1 which you might using in your project. But at the jenkins you have specified it Gradle 6.2.0.
    I'm confused a bit here. Could you pls clear it to me?

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

    Hi
    Can you upload a video to use jenkins declarative pipeline to run ansible playbook on slave node and passing the .pem as credential

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

      Hi thanks for the use case suggestion. I'm gonna do an Ansible and Jenkins deployment demo videos and will include this case as well in one of these videos!

    • @abdulali7692
      @abdulali7692 4 ปีที่แล้ว

      @@TechWorldwithNana thank you so much nana

  • @sajidta007
    @sajidta007 2 ปีที่แล้ว

    @TechWorld with Nana what will be the syntax for msbuild? I have configured the msbuild after installing the plugin in Global tool Configuration.However, the bat 'msbuild.exe prj.sln ' doesn't execute in jenkins file but in standalone project,build section works with same command and could fetch the msbuild.exe from dropdown. Do you know what I am missing here?

  • @saravanans8231
    @saravanans8231 4 ปีที่แล้ว

    Thanks for this video. we are using Sonar Qube and Docker vulnerability scanner tools, For that we are unaware of adding that stages in our Jenkins file.Inputs would be much appreciated .

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว +3

      How are you executing these tools in your build?
      well, generally speaking, when you want to run a stage in Jenkins pipeline that depends on external tools:
      FIRST - you need to check any plugins you need to install in your Jenkins or if they are already available. For example, for sonar integration, you should install SonarQubeScanner plugin.
      SECOND - based on that plugin documentation you can check the exact syntax of how to use it in Jenkinsfile. Usually it's pretty simple. withSonarQubeEnv for example.
      And you do the same for any tool you want to use.
      Let me know if this helps

  • @leoh3069
    @leoh3069 3 ปีที่แล้ว

    I have a question, if I want to run npm Iinstall, it must be under the folder which package. Json is. But if the backend and frondend in a repo. After git clone repo in jenkins., how to find the right folder to run npm in jenkins?

  • @chetanhireholi
    @chetanhireholi 4 ปีที่แล้ว

    Can you upload a dedicated video for maven continuous build and deploy?

  • @limaocf
    @limaocf 4 ปีที่แล้ว

    Great tutorial. I'll try in my use case. I want to configure Jenkinsfile run docker build, but executing in Jenkins slave. Do you have some tips?

  • @peiiun7887
    @peiiun7887 4 ปีที่แล้ว

    Hi, I use docker image jenkins/jenkins to run this tutorial, and wind up getting 'gradlew not found' in console log. Could you help me to fix this?

  • @sharranm653
    @sharranm653 3 ปีที่แล้ว

    How to install bash tools like jq for json parsing

  • @DerTim
    @DerTim 3 ปีที่แล้ว

    This video is actually helpful for node and it worked, but I am having troubles to install python that way. I read that I should just make a custom dockerfile image... but I cant believe that nobody ever requested to install it from docker-compose 🤔

  • @sivaprasad7555
    @sivaprasad7555 3 ปีที่แล้ว

    Hi mam how could I know the npm version to download for the code

  • @jayrivarex6033
    @jayrivarex6033 2 ปีที่แล้ว

    Hey Nana excelent video , do you have the link to the gitlab code ? thank you very much.

  • @caffeinejavacode1475
    @caffeinejavacode1475 3 ปีที่แล้ว

    I always get Starting a Gradle Daemon, 9 busy Daemons could not be reused, use --status for details
    then my container stop

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

    What build tool options are there for Python?

  • @laurabennis3871
    @laurabennis3871 3 ปีที่แล้ว

    Hello, I did everything described in the video but i'm still getting "./gradlew -v : not found". Does anyone know why please ? :/

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

      command should be [gradle -version] NOT [./gradlew -v ]
      use this version as example. Gradle 8.2.1!

  • @palateo93
    @palateo93 4 ปีที่แล้ว +2

    Hi Nana, thanks for the well explained video! I have just one question: why the Gradle version from the UI is 6.2 and 4.2 in the logs?

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว +2

      Hi Matteo. I don't have the build config any more, but I guess it was just a mix up, since I had another build where I used Gradle v4.2 for another application.

    • @weidongqiao4397
      @weidongqiao4397 4 ปีที่แล้ว

      @@TechWorldwithNana
      Hi Nana, I guess that's because you have gradlew and gradle/wrapper/{gradle-wrapper.jar,gradle-wrapper.properties} in your github project, so './gradlew -v' actually call the gradle in your project but not the gradle downloaded by Jenkins.

  • @amarlukade2225
    @amarlukade2225 3 ปีที่แล้ว

    I am not sure why gradle code is not working ... double checke with your - its identical ..
    Any suggestion here .. below are the logs -
    + ./gradlew -v
    /var/jenkins_home/workspace/newpipelinebuild_main@tmp/durable-76906f8e/script.sh: 1: /var/jenkins_home/workspace/newpipelinebuild_main@tmp/durable-76906f8e/script.sh: ./gradlew: not found

  • @danish6192
    @danish6192 3 ปีที่แล้ว

    having trouble with Docker as Global tool in Jenkins

  • @bhargavakhani4921
    @bhargavakhani4921 3 ปีที่แล้ว

    How to check that is there error in code or not?

  • @Sri-mx7zj
    @Sri-mx7zj 4 ปีที่แล้ว

    can make video gradle with multi mod pipeline

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

    could you please add your scripts files or steps in the description or link to github repo with steps

  • @MagDag_
    @MagDag_ 10 หลายเดือนก่อน

    I'm using terraform in tools

  • @SumindaNiroshan
    @SumindaNiroshan 4 ปีที่แล้ว +2

    Thank you very much for this! Really helped me a lot!

    • @TechWorldwithNana
      @TechWorldwithNana  4 ปีที่แล้ว +3

      Awesome Suminda! Wishing you all the best in your professional journey! Stay safe. 🙂