Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39622

Triggering a parametrized job from shared library sometimes deletes all parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • None
    • Jenkins 2.28, latest workflow plugins

      We have a multibranch pipeline job that triggers a parametrized pipeline build by calling a method from our shared library like so:

      build job: "job-with-params", parameters: [
      [$class: 'StringParameterValue', name: 'first', value: "1"],
      [$class: 'StringParameterValue', name: 'second', value: "2"]
      ],
      wait: true,
      propagate: 
      false,
      quietPeriod: 0
      

      From time to time, all parameters of our parametrized job get deleted when running this trigger and the job ends up as a regular pipeline job without any parameters. So far we can not determine why this happens. The triggering happens from a shared library we use with the workflow-cps-global-lib plugin. Any ideas would be highly appreciated, so far we are absolutely clueless. I will update this issue once we find out more.

            Unassigned Unassigned
            tobilarscheid Tobias Larscheid
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: