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

Support global variable usage in configuration files

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It seems that the configuration does not allow the use of the global passwords. It would be a nice way to keep secrets in configuration files. For instance, take a .pypirc file:

      .pypirc
      [distutils]
      index-servers =
          PyPI
      
      [PyPI]
      repository: https://pypi.python.org/pypi
      username: jenkins
      password: ${PYPI_JENKINS_PASS}
      

      It would be great if we could store PYPI_JENKINS_PASS in the global passwords and access it from these files, so that it would parse them at write time.

        Attachments

          Activity

          Hide
          zerthimon Lior Goikhburg added a comment -

          I second this!
          It would be great to have the plugin expand all global variables in the config file to their values or even better to pass the config file through a java template (such as StringTemplate etc)

          Show
          zerthimon Lior Goikhburg added a comment - I second this! It would be great to have the plugin expand all global variables in the config file to their values or even better to pass the config file through a java template (such as StringTemplate etc)
          Hide
          imod Dominik Bartholdi added a comment -

          implemented with 2.11

          Show
          imod Dominik Bartholdi added a comment - implemented with 2.11

            People

            • Assignee:
              domi Dominik Bartholdi
              Reporter:
              theherk Herkermer Sherwood
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: