Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: pipeline
-
Labels:
-
Similar Issues:
Description
Given I am Jenkins administrator when I create a job like the following:
node { echo "test" input id: 'Edebd25a79a1ac52da788eba9a7fcc3a', message: 'hey!', ok: 'yo', submitter: 'foobar' parameters: [] }
... I'm not able to answer the question it asks as I get an error saying "You need to be foobar to submit this" and I'm unable to stop/kill the job (it just doesn't work).
Probably there should be special permission for admins to stop such jobs and/or the plugin should check if the submitter is a real person when saving/running the job.
I'm using Jenkins ver. 1.596 and workflow plugin v1.1
Attachments
Issue Links
- is related to
-
JENKINS-25550 Hard kill
-
- Resolved
-
Code changed in jenkins
User: tfennelly
Path:
aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/input/InputStepTest.java
support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepExecution.java
http://jenkins-ci.org/commit/pipeline-input-step-plugin/107feb436891a06c2c738171963b98fea3647883
Log:
[FIXED JENKINS-26363 Input step should permit cancellation from anyone with Job.CANCEL permission]
Originally-Committed-As: 85c610870b3611c81c20d46de73670f0ab39a7be