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

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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: pipeline
    • Environment:
       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.

       

            Assignee:
            Unassigned
            Reporter:
            Michael S.
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: