Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Edit Variable with Choice #4595

MFalkner ·

I've got an edit variable, where I get the choice from a groovy script:

${groovy:
def file = new File(vars.get("WorkingFolder").toString()) 
"git tag -l build/* --sort=-taggerdate".execute(null, file).in.text
}

In the selection box, the first entry is missing compared to the result that I get on the command line.
What could be the reason?

  • replies 1
  • views 115
  • stars 0
MFalkner ·

Ok, figured it out myself:
The steps that evaluate the variables do not run on the agent but rather the server.
There the top entry was missing.