How To Create Jenkins Job With Parameter | Jenkins Parameterized Build

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 พ.ย. 2024

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

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

    Hi, Thanks for the detailed explanation and it was helpful for me.

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

    Very useful video Mukesh Thanks

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

    @Mukesh otwani
    Ho we can pass multiple/list of values to a parameter? For example i have a shell script for which i need to pass list of ID's to a ID parameter and script will fetch the scripted values as an output. In this case how can i pass multiple input values?
    I have tried string and ,Multi line string parameter options but they just come out after first ID execution complete.

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

    Hi mukesh .. why do not you show how to execute python test cases using jenkins in both linux and windows envirtonment ??it will be so helpful mukesh to us .. hope you make soon ..

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

      Yes Sir this series is not over yet.I will add in coming days.

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

    Sir, the file we uploaded from jenkins required to come in git hub project folder. How to do that?

  • @rashmigupta-zg3cr
    @rashmigupta-zg3cr 2 ปีที่แล้ว

    Very nicely explained sir

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

    Hi Mukesh, Its Really helpful. Could you please tell me how to add timeout for cloning git repo. My git repo has many files which will take around 1 hr for cloning. Since Jenkins timeout is just 10 minutes. i have tried below pipeline script. But its not working.
    pipeline {
    agent any
    options {
    timeout(time: 80, unit: 'MINUTES')
    }
    stages {
    stage('Git Clone') {
    steps {
    git branch: "${Branch}", credentialsId: '2121', url: "${GitUrl}"

    }
    }
    stage('build') {
    steps {
    bat "{$BATCommand}"
    }
    }
    }
    }

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

    Hi sir i am using 2 pipelines and trying to pass parameter from one pipeline to other using the postbuilt action pass parameters but the second pipeline accepting the defailt value of parameter from first pipeline only not taking the overriden values

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

      Hi Piyush, please share your pipeline snippet

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

    Could you please help me in below?
    How can i use the Build_Id of job1 and display in mail of JOb2?

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

    Hi Mukesh, How to configure the Jenkins parameter into selenium project

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

      Hi Sudhakar, you can pass jenkins parameter to your selenium test as well. If you are using maven then use -D
      for example
      -Dbrowser=Chrome -Durl=www.google.com

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

      Thanks Mukesh

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

    hello sir
    its very informative video

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

    Hi mukesh how to do this with cucumber ..how i can run specific test case of cucumber in jenkins pls help. Thanks in advance

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

      Hi Paras, you can pass tags while running from cmd or via Jenkins which will run specific feature with tag attached.

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

      @@Mukeshotwani how mukesh ? Jenkins parameter with cucumber

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

    How to fetch password parameter value in another paramter, such as in Active Choices Reactive Parameter

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

    Hi Mukesh, how do we pass multiple values under password parameter. Suppose my password is "test 123", what is the best way to pass it as parameter?

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

      Hi Jeevan for password you can use password parameter.

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

      What do u mean by multiple values under password parameter?

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

    👏👏

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

    How to pass those parameters to properties file or in .robot file..... Suppose i am changing environment and running in different environments with username and password....

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

      Hi Praveen, good question. You can pass parameter in your testcases. While running test from pass these parameter via Jenkins.

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

      I Want to pass url , username , password to properties file via Jenkins...

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

      Praveen you need to understand the Jenkins functionality which can pass the parameter to test. The main objective of having the property file is to avoid hard coded details so either do it via parameter or via file.

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

    awesome