Issue Type: Bug Bug
Assignee: Kohsuke Kawaguchi
Components: workflow
Created: 29/Oct/14 5:12 PM
Description:

I have workflow script defined to start
'Grep ENV' - simple freestyle job with one string parameter.

echo "Hello from 'Workflow_1' "
build value: 'Grep ENV'
input message: 'Continue?'

Above works fine:

Hello from 'Workflow_1' 
Running: Build a Job
Starting building project: Grep ENV
Running: Input
Continue?
Proceed or Abort
Running: End of Workflow
Finished: SUCCESS

However

echo "Hello from 'Workflow_1' "
build name: 'Grep ENV'
input message: 'Continue?'

fails:

Hello from 'Workflow_1' 
Running: Build a Job
Starting building project: null
Running: End of Workflow
ERROR: No parameterized job named null found
Finished: FAILURE

The same error is observed when parameters are provided:

echo "Hello from 'Workflow_1' "
build value: 'Grep ENV', parameters: [new hudson.model.StringParameterValue('GREP_PATTERN', 'computer')]
input message: 'Continue?'

or

echo "Hello from 'Workflow_1' "
build name: 'Grep ENV', parameters: [new hudson.model.StringParameterValue('GREP_PATTERN', 'computer')]
input message: 'Continue?'

Software:
jenkins-1.585
workflow-0.1-beta-5

Project: Jenkins
Priority: Major Major
Reporter: Marcin Gawenda
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to