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

Triggered builds "for every property file" do not receive the parameters from the property files

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I set up job A which has a single Trigger/call builds on other projects build step which can be seen in the attached screenshot. It's set For every property file, invoke one build of job B. The File Pattern is /var/lib/jenkins/cases/*
       
      Job B ("case-runner" in the screenshot) is parameterized, it has a DATASET parameter and a single build step Execute shell "env". It is started as expected, but the DATASET parameter is not passed through even though it's specified in the property file.
       
       
      jenkins@instance-eval-jenkins:~$ ls -l /var/lib/jenkins/cases/
      total 4
      rw-rr- 1 jenkins jenkins 12 Apr 19 13:08 a
      jenkins@instance-eval-jenkins:~$ cat /var/lib/jenkins/cases/a
      DATASET=svo
       
      The DATASET parameter should be passed through according to the documentation: "This ParameterFactory generates parameters based on the contents of the files found."
       
      DATASET is passed fine if I specify it in a list of Predefined parameters, but not when it's in the property file, so it seems to be a problem with how the job is triggered. Both jobs run on the master Jenkins node. I also tried with "DATASET = svo" in the property file but still the same.
       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            aleb Alexandru Băluț
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: