Environment variables not resolved in Pipeline SCM -> Advanced sub-modules behaviours -> Path of the reference repo

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

XMLWordPrintable

      A similar issue/improvement JENKINS-43894 has been reported and fixed for refeference repository path during clone, so it's expected that the reference repository path of submodules also expands the node's environment.

      Adding an environment variable to the build node configuration, and then setting the reference repository path under "Advanced sub-modules behaviours" in the job configuration gives following output in the checkout log:

      [WARNING] Reference path does not exist: ${REFREPO_PATH}/my_refrepo.git

            Assignee:
            Christoph Vogtländer
            Reporter:
            Sixten
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: