Jenkins CLI Tutorial | Create, Build and Delete Job Using Jenkins CLI Commands With Authentication

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.พ. 2025
  • In this video, I will discuss various commands which can make the Jenkins administrator task easy.
    We will discuss different commands like build job, create job, delete job etc with different flags.
    Official links
    www.jenkins.io...
    Jenkins Series
    • Jenkins Tutorial For B...
    All Playlist
    / mukeshotwani
    Connect with us:
    Linkedin- / mukesh-otwani-93631b99
    Instagram- / mukeshotwani
    Facebook Group- / 256655817858291
    Facebook Page- / seleniumwebdrivermukesh
    Twitter- / mukeshotwani
    Blog- learn-automatio...

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

  • @naveenautomationlabs
    @naveenautomationlabs 3 ปีที่แล้ว +6

    Amazing I love Jenkins CLI.

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

      Me too and it's damm easy too.

  • @ManojBhat101
    @ManojBhat101 5 หลายเดือนก่อน +1

    This video is supercool & whoever watches will be in love with Jenkins CLI. 💯❤

    • @Mukeshotwani
      @Mukeshotwani  5 หลายเดือนก่อน

      true Manoj. I too love Jenkins APIs.

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

    This is really so helpful and easy too[You make it more easier to understand 😉]. I felt this a bit faster. 💖 it. Thanks for this video Mukesh Sir. 👌

  • @poojasharma-je2eo
    @poojasharma-je2eo 3 ปีที่แล้ว +2

    Yeah 👍 was waiting for this content!

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

      Thanks Pooja hope it will help.

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

    Hi, how can I 'retry' the last build in a job using Jenkins CLI via commandline?

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

    Nice work with API token. I was looking for this for some time now

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

    Hi there, I have a requirement "“To be able to invoke Jenkins job remotely through REST API with JWT authentication " can you please help on how this can be achieved ?

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

      Hi Amrita you can make API call using token. You can either pass credentials or create token
      jenkinsurl/job//buildWithParameters?token=TOKEN&PARAMETER=Value

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

    This is really a fantastic video.

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

    Hi Can I connect to an already running build to stream the logs if I have the build number?
    I couldn't find any documentation on the same

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

    When I bulid a job a floder for the job when I rebuild the job the old floder is over ride the nee floder while over ride the build some floder getting delete how to over the problem in jenkins

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

    what about mac after downloading is not granting me permission to access to that jenkin cli path what shoud i do now? i have given permission from my preferences but still its showing me error as permission denied :(

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

    Hi Sir,
    I have created cucumber (6.10v) project when I am running Project in Jenkins but some of testcases are getting failed due to application(it was giving unauthorised popup) was not stable.
    For that I have created rerun(cucumber junit). But to run the whole project it takes around 6 hours.
    So, i have tried parallel(junit) execution using in this case rerun testrunner was not working
    Can you please give suggestions how I can run multiple test cases same time and as well as rerun testrunner
    Please give me suggestions.
    Thanks

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

    Hi Mukesh, thanks alot for sharing very valuable content on Jenkins CLI.
    I have 2 questions on Jenkins
    How do we run postman collection tests in different environments say dev, QA, UAT etc via Jenkins and my code is in Git. Pls help with this as am yet to implement this part and everything ( I have environments and security authentication API which has environment specifuc credentials )in my local is fine. 2) I have security API in my collections which has basic authentication and am passing security token to all other requests in collection. Am maintaining these credentials in pre requisite scripts and my requirement is to use the passwords only at run time and I should not checkin the passwords into GIt (This is a governance issue if check in). So how do we handle this and run tests successfully via Jenkins using git source control. Would be much appreciated if you can help with it. May be a code snippet or some steps how to handle this. I believe this is a common issue at any organization if we are running In any CI pipeline.
    Thanks again
    Sharma