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

"Pipeline script from SCM": Git branch field cannot expand property from file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • pipeline
    •  Pipeline: Job 2.32 (even after upgrade to 2.36) on Jenkins 2.179, Windows 10

      We converted out freestyle jobs to pipeline jobs using "Pipeline script from SCM". The Git branch field for the Jenkinsfile to load cannot expand a property which comes from a property file, which name is entered in "Properties File Path". I can however expand a property entered in "Property Content". The properties file is correct because we successfully used to populate the Git branch field for our previous freestyle jobs.

      "Lightweight checkout" checkbox is unchecked.

      A related (solved) issue is JENKINS-42971.

       

            Unassigned Unassigned
            docwarems Michael S.
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: