Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59307

when running my cron-triggered stage I want to automatically accept the stage by automatic user Input message with a default value parameter

      Please see the below cron job I created with passing a parameter string (publishPath=WebPortals) when automatically running the job 

      1.    

       

      Then below is my stage that I using a choice plugin to make a default (fake) user input as a value of that parameter publishPath="WebPortals"  to automatically select without a user input from outside, when running the above cron scheduled job.  

      2. 

       

      So is that possible ? 

        1. 2.PNG
          2.PNG
          19 kB
        2. 1.PNG
          1.PNG
          5 kB

          [JENKINS-59307] when running my cron-triggered stage I want to automatically accept the stage by automatic user Input message with a default value parameter

          Amila Gunathilake created issue -
          Amila Gunathilake made changes -
          Attachment New: 1.PNG [ 48715 ]
          Amila Gunathilake made changes -
          Description New: Please see the below cron job I created with passing a parameter string (publishPath=WebPortals) when automatically running the job  !1.PNG!
          Amila Gunathilake made changes -
          Attachment New: 2.PNG [ 48716 ]
          Amila Gunathilake made changes -
          Description Original: Please see the below cron job I created with passing a parameter string (publishPath=WebPortals) when automatically running the job  !1.PNG! New: Please see the below cron job I created with passing a parameter string (publishPath=WebPortals) when automatically running the job 

          1.     !1.PNG|width=709,height=26!

           

          Then below is my stage that I using a choice plugin to make a default (fake) user input as a value of that parameter publishPath="WebPortals"  to automatically select without a user input from outside, when running the above cron scheduled job.  

          2.  !2.PNG|width=756,height=271!

           

          So is that possible ? 
          Amila Gunathilake made changes -
          Description Original: Please see the below cron job I created with passing a parameter string (publishPath=WebPortals) when automatically running the job 

          1.     !1.PNG|width=709,height=26!

           

          Then below is my stage that I using a choice plugin to make a default (fake) user input as a value of that parameter publishPath="WebPortals"  to automatically select without a user input from outside, when running the above cron scheduled job.  

          2.  !2.PNG|width=756,height=271!

           

          So is that possible ? 
          New: Please see the below cron job I created with passing a parameter string (publishPath=WebPortals) when automatically running the job 

          1.     !1.PNG|width=1339,height=49!

           

          Then below is my stage that I using a choice plugin to make a default (fake) user input as a value of that parameter publishPath="WebPortals"  to automatically select without a user input from outside, when running the above cron scheduled job.  

          2.  !2.PNG|width=756,height=271!

           

          So is that possible ? 

          Is it not possible to skip the input step entirely based on some parameter, of course this opens up to users abusing this so this might have to be combined with some logic on how it was triggered.

          Raihaan Shouhell added a comment - Is it not possible to skip the input step entirely based on some parameter, of course this opens up to users abusing this so this might have to be combined with some logic on how it was triggered.

            batmat Baptiste Mathus
            amila_devops Amila Gunathilake
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: