This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      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

            Assignee:
            Jesse Glick
            Reporter:
            Marcin Gawenda
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: