[JIRA] (JENKINS-56259) Allow input timeout parameter

2019-12-17 Thread jordan.cock...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jordan Cockles commented on  JENKINS-56259  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Allow input timeout parameter   
 

  
 
 
 
 

 
 Hi, has there been any other movement on this particular functionality? I've been looking into using pipeline as code to automate deployments and use the steps in stages approach to manage the different elements of the CI process. Having the ability to specify a timeout directly on the input option would be perfect as it appears the stage method does not accept timeout as a valid nested parameter.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.197830.1551046009000.9724.1576584180291%40Atlassian.JIRA.


[JIRA] (JENKINS-56259) Allow input timeout parameter

2019-04-03 Thread fl...@itnews-bg.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Steve Todorov commented on  JENKINS-56259  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Allow input timeout parameter   
 

  
 
 
 
 

 
 Mark Vinkx Yes, you could wrap the input like that, but unfortunately this means that you will allocate an agent and have it do nothing for 5 minutes. Also the Blue Ocean UI would display this stage as "passed" (green) which will be (and is) confusing, because you never know if the stage has actually passed or it has been skipped/not approved - you will need to specifically go into the stage to check the steps, whereas if you have it as a stage input it would show in the UI as skipped.  Jesse Glick yes, you've understood me correctly   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-56259) Allow input timeout parameter

2019-04-02 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick commented on  JENKINS-56259  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Allow input timeout parameter   
 

  
 
 
 
 

 
 Mark Vinkx this is about input as part of a stage rather than one of its steps, which has different behavior (if I understand correctly) with respect to when an executor is locked.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-56259) Allow input timeout parameter

2019-04-02 Thread mark.vi...@uzleuven.be (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Vinkx commented on  JENKINS-56259  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Allow input timeout parameter   
 

  
 
 
 
 

 
 You simply can wrap the input in a timeout  

 

stages {
stage('Deploy') {
steps {
timeout(time: 5, unit: "MINUTES") {
input message: 'Do you want to approve the deploy?', ok: 'Yes'
}
sh './flakey-deploy.sh'
 }
}
}
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-56259) Allow input timeout parameter

2019-03-12 Thread carlspr...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 carlspring commented on  JENKINS-56259  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Allow input timeout parameter   
 

  
 
 
 
 

 
 Hi Jesse Glick,    Is there any update on this?    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-56259) Allow input timeout parameter

2019-02-25 Thread fl...@itnews-bg.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Steve Todorov commented on  JENKINS-56259  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Allow input timeout parameter   
 

  
 
 
 
 

 
 Jesse Glick thanks for fixing that! Apologize for the wrong component   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-56259) Allow input timeout parameter

2019-02-25 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick commented on  JENKINS-56259  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Allow input timeout parameter   
 

  
 
 
 
 

 
 Specific to Declarative Pipeline; adjusted component accordingly.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-56259) Allow input timeout parameter

2019-02-25 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56259  
 
 
  Allow input timeout parameter   
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Component/s: 
 pipeline-model-definition-plugin  
 
 
Component/s: 
 pipeline  
 
 
Component/s: 
 pipeline-input-step-plugin  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-56259) Allow input timeout parameter

2019-02-24 Thread fl...@itnews-bg.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Steve Todorov created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56259  
 
 
  Allow input timeout parameter   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 pipeline, pipeline-input-step-plugin  
 
 
Created: 
 2019-02-24 22:06  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Steve Todorov  
 

  
 
 
 
 

 
 I have been wondering for ages why is there no `timeout` option in the `input` step? I am aware you can wrap your input in a `timeout() {}`, but that is just impossible when you are using the `input` as part of the stage like so:   

 

pipeline {
agent any
stages {
stage('Example') {
input {
message "Should we continue?"
ok "Yes, we should."
submitter "alice,bob"
parameters {
string(name: 'PERSON', defaultValue: 'Mr Jenkins', description: 'Who should I say hello to?')
}
}
steps {
echo "Hello, ${PERSON}, nice to meet you."
}
}
}
} 

   (Taken from https://jenkins.io/blog/2018/04/09/whats-in-declarative/#input)   The possible "workaround" to this would be to create an `input` step in a previous stage which is wrapped in a `timeout` step, but in our case this makes things even more complicated and hard to read.  Are there any plans to include an `timeout` parameter for the `input` step? Maybe something like this (or better?):   

 

input { 
  message "Should we continue?" 
  ok "Yes, we should." 
  submitter "alice,bob" 
  timeout: [time: 1234, unit: 'MINU