Steps to reproduce the problem:

  1. Create and configure a Workflow "upstreamWorkflow"
    • This build is parameterized
      • String Parameter
        • Name: Product
    • Workflow
      • Definition: Groovy CPS DSL
      • Script:
        node {
            writeFile text: "${Product}", file: 'artifact.txt'
            archive includes: '**/*'
        }
  2. Build upstreamWorkflow with "Product=development"
  3. Build upstreamWorkflow with "Product=production"
  4. Create and configure a Freestyle project "downstream"
    • This build is parameterized
      • String Parameter
        • Name: ProductToCopy
    • Add a build strep: Copyartifacts from another project
      • Project name: upstreamWorkflow
      • Which build: Last successful build
      • Parameter filters: Product=${ProductToCopy}
  5. Build downstream with "ProductToCopy=development"


Result:

  • Build fails

Notes:

  • It succeeds without Parameter filters
  • It success if the upstream is a free style project.

attached build.xml of upstreamWorkflow.

Change By: ikedam (11/Feb/15 4:52 AM)
Attachment: build.xml
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