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

Consult additional environments to interpolate workspace delete command

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The delete command has the option of being interpolated, which is very handy.

      The issue is that it appears only the slave's environment variables are consulted when interpolating variables. This was discovered by trial and error, as seems to be confirmed by looking at the code.

      I would prefer to also consult the jenkins global environment, or the actual process environment.

      My situation is that I have lots of linux nodes, and a few windows nodes. I don't mind specifying variables for the few windows nodes, but it's tedious to specify for all the other nodes as well (maybe a scripted way to do this, but still)...

      This improvement would allow using the env inject plugin, or jenkins global environment, etc to define the cleanup command.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            vjuranek vjuranek
            Reporter:
            wberrier Wade Berrier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: