[JIRA] (JENKINS-51050) Blueocean paused for Input requested, but never asks for it

8 views
Skip to first unread message

miguelmclara@gmail.com (JIRA)

unread,
Apr 30, 2018, 4:15:02 PM4/30/18
to jenkinsc...@googlegroups.com
Miguel C updated an issue
 
Jenkins / Bug JENKINS-51050
Blueocean paused for Input requested, but never asks for it
Change By: Miguel C
To put simply we have a few jobs that we start from "blueocean" view.

The job starts fine and moves onto "asking fro user input"

The step will show the lines:
```
[Pipeline] input
[|https://ci.plex.bz/blue/organizations/jenkins/QA%2Fqa-automation%20tools/detail/master-Jenkinsfile/430/pipeline#log-24] Input requested
```

But nothing is ever requested... If we switch to the "old UI" we can see the left link to provide input or do so from the console it slef
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

miguelmclara@gmail.com (JIRA)

unread,
Apr 30, 2018, 4:15:02 PM4/30/18
to jenkinsc...@googlegroups.com
Miguel C created an issue
Issue Type: Bug Bug
Assignee: Unassigned
Components: blueocean-plugin, pipeline
Created: 2018-04-30 20:14
Priority: Major Major
Reporter: Miguel C

To put simply we have a few jobs that we start from "blueocean" view.

The job starts fine and moves onto "asking fro user input"

The step will show the lines:
```
[Pipeline] input

But nothing is ever requested... If we switch to the "old UI" we can see the left link to provide input or do so from the console it slef

miguelmclara@gmail.com (JIRA)

unread,
Apr 30, 2018, 4:16:02 PM4/30/18
to jenkinsc...@googlegroups.com
Miguel C updated an issue
Change By: Miguel C
To put simply we have a few jobs that we start from "blueocean" view.

The job starts fine and moves onto "asking fro user input"

The step will show the lines:
```

{code:java}
[Pipeline] input
Input requested
{code}
```

But nothing is ever requested... If we switch to the "old UI" we can see the left link to provide input or do so from the console it slef .

miguelmclara@gmail.com (JIRA)

unread,
Apr 30, 2018, 4:18:02 PM4/30/18
to jenkinsc...@googlegroups.com
Miguel C updated an issue
Change By: Miguel C
Attachment: jenkis_blue_input.png

miguelmclara@gmail.com (JIRA)

unread,
Apr 30, 2018, 4:19:02 PM4/30/18
to jenkinsc...@googlegroups.com
Miguel C updated an issue
To put simply we have a few jobs that we start from "blueocean" view.

The job starts fine and moves onto "asking fro user input"

The step will show the lines:


{code:java}
[Pipeline] input
Input requested{code}
But nothing is ever requested... If we switch to the "old UI" we can see the left link to provide input or do so from the console it slef self .

jdumay@cloudbees.com (JIRA)

unread,
Apr 30, 2018, 9:05:02 PM4/30/18
to jenkinsc...@googlegroups.com
James Dumay commented on Bug JENKINS-51050
 
Re: Blueocean paused for Input requested, but never asks for it

Miguel C could you please post a simplified example Jenkinsfile that demonstrates this problem?

cc Jenn Briden

lystor@gmail.com (JIRA)

unread,
Jun 11, 2018, 11:21:02 AM6/11/18
to jenkinsc...@googlegroups.com
Mykola Ulianytskyi edited a comment on Bug JENKINS-51050
 

Hello

I have the same issue on Jenkins 2.121.1.

Sample pipeline:
{code:java}
node {
    params = input(parameters: [
        booleanParam(name: 'param1')
    ])

    stage('build') {
        echo("${params}")
    }
}
{code}
Please fix this bug.

Thank you

lystor@gmail.com (JIRA)

unread,
Jun 11, 2018, 11:21:02 AM6/11/18
to jenkinsc...@googlegroups.com

 

Hello

I have the same issue on Jenkins 2.121.1.

Sample pipeline:

node {
    params = input(parameters: [
        booleanParam(name: 'param1')
    ])

    stage('build') {
        echo("${params}")
    }
}

Please fix this bug.

Thank you

miguelmclara@gmail.com (JIRA)

unread,
Jun 28, 2018, 8:26:02 AM6/28/18
to jenkinsc...@googlegroups.com
Miguel C commented on Bug JENKINS-51050

In my case this seemed to have been related to the position where I was putting the input, I need to ask different input based on different values of a parameter and so I had a switch case for this outside of the node block, this seems to cause problems with blueocean.

It now works after making sure any input blocks are inside the node block, I still face one issue though.

The Proceed button takes to long to do any action, and seems that nothing is happening which leads people to press on it again and again see: https://issues.jenkins-ci.org/browse/JENKINS-41662?focusedCommentId=342792&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-342792

This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

andrew.bayer@gmail.com (JIRA)

unread,
Aug 8, 2018, 10:54:02 AM8/8/18
to jenkinsc...@googlegroups.com

miguelmclara@gmail.com (JIRA)

unread,
Dec 12, 2018, 2:20:02 PM12/12/18
to jenkinsc...@googlegroups.com
Miguel C commented on Bug JENKINS-51050
 
Re: Blueocean paused for Input requested, but never asks for it

any news on this? it still happens using scripted pipeline, and the doc is not clear about places where we shouldn't be using this so it plays nice with blueocean (and even so I would consider it a bug since the classic ui works just fine)

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

sebastien.guery@amadeus.com (JIRA)

unread,
Mar 4, 2020, 12:19:07 PM3/4/20
to jenkinsc...@googlegroups.com
Sebastien Guery updated an issue
 
Change By: Sebastien Guery
Attachment: image-2020-03-04-18-18-37-926.png
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

sebastien.guery@amadeus.com (JIRA)

unread,
Mar 4, 2020, 12:25:03 PM3/4/20
to jenkinsc...@googlegroups.com
Sebastien Guery commented on Bug JENKINS-51050
 
Re: Blueocean paused for Input requested, but never asks for it

Same bug for me:

def doPipeline = false
try{
    doDeploy = input(message: 'Do you want to do the pipeline?', ok: 'Submit',
                parameters: [[$class: 'BooleanParameterDefinition', defaultValue: false, description: 'Click on the checkbox to do the pipeline. Then click on "Submit" button',name: 'Do the pipeline']])
} catch(err) { 
    doPipeline = false
    echo "Pipeline aborted by user [${user}]."
}
node
{
    echo "doPipline value = ${doPipeline}"
    stage('build'){
        echo "Stage build..."
    }
}

Jenkins ver. 2.190.3

Sometimes the input requested form is displayed and sometimes not on rerun with the same pipeline. It depends if I click on abort or submit and then rerun.

 

Could you fix this bug?

 

Regards

 

 

sebastien.guery@amadeus.com (JIRA)

unread,
Mar 4, 2020, 12:26:04 PM3/4/20
to jenkinsc...@googlegroups.com

sebastien.guery@amadeus.com (JIRA)

unread,
Mar 4, 2020, 1:07:03 PM3/4/20
to jenkinsc...@googlegroups.com

def doPipeline = false
try{
    doDeploy = input(message: 'Do you want to do the pipeline?', ok: 'Submit',
                parameters: [[$class: 'BooleanParameterDefinition', defaultValue: false, description: 'Click on the checkbox to do the pipeline. Then click on "Submit" button',name: 'Do the pipeline']])
} catch(err) {
    doPipeline = false
    echo "Pipeline aborted by user
[${user}] ."

}
node
{
    echo "doPipline value = ${doPipeline}"
    stage('build'){
        echo "Stage build..."
    }
}

{code}
Jenkins ver. 2.190.3

!image-2020-03-04-18-18-37-926.png!


Sometimes the input requested form is displayed and sometimes not on rerun with the same pipeline. It depends if I click on abort or submit and then rerun.

 

Could you fix this bug?

 

Regards

 

 
Reply all
Reply to author
Forward
0 new messages