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

Should be able to use any environment variable

    XMLWordPrintable

Details

    Description

      Copy Archiver is not able to use the environment variable that is created by the Version Number Plugin.
      All environment variable should be able to be used for the folder name, not only BUILD_ID

      Attachments

        Activity

          CopyArchiver makes it possible to use all environment variables (not only BUILD_ID).

          The Version Number plugin provides some environment variables but are not available for the plugins running as post-build actions.
          CopyArchiver plugin is a publisher plugin (post build action plugin) and it can't access environment variables from the Version Number Plugin.

          I suggest that you should make an issue for the Version Number Plugin for enabling its environment variables to be available with publishers plugin.

          gbois Gregory Boissinot added a comment - CopyArchiver makes it possible to use all environment variables (not only BUILD_ID). The Version Number plugin provides some environment variables but are not available for the plugins running as post-build actions. CopyArchiver plugin is a publisher plugin (post build action plugin) and it can't access environment variables from the Version Number Plugin. I suggest that you should make an issue for the Version Number Plugin for enabling its environment variables to be available with publishers plugin.

          People

            gbois Gregory Boissinot
            hschnit hschnit
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: