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

Can't use environment variables

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Can't use environment variables in the FileName box. This force me to change this line in every project.

      For example I would like to change all AssemblyInfo.cs in a directory called like $JOB_NAME. So I want to write:

      $JOB_NAME**\Properties\AssemblyInfo.cs

      but that's not working.

        Attachments

          Issue Links

            Activity

            Hide
            mdkf Michael Fowler added a comment -

            I tried building the plugin and got 2 test failures:
            testResolveEnvironmentVariables_recursively_excludingSvn(org.jenkinsci.plugins.changeassemblyversion.ReplacementsTest): -1
            testResolveEnvironmentVariables(org.jenkinsci.plugins.changeassemblyversion.ReplacementsTest): second instance

            Show
            mdkf Michael Fowler added a comment - I tried building the plugin and got 2 test failures: testResolveEnvironmentVariables_recursively_excludingSvn(org.jenkinsci.plugins.changeassemblyversion.ReplacementsTest): -1 testResolveEnvironmentVariables(org.jenkinsci.plugins.changeassemblyversion.ReplacementsTest): second instance
            Show
            mdkf Michael Fowler added a comment - Fixed in PR https://github.com/jenkinsci/change-assembly-version-plugin/pull/9

              People

              • Assignee:
                mdkf Michael Fowler
                Reporter:
                andyp Andreas Patock
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: