I've got a configuration that runs on a different machine running QuickBuild Agent.
The master step of this configuration is already configured to run on the agent.
This configuration contains a variable that prompts the user to select a value out of a list.
This list is populated by a small script that collect some information on the remote computer (agent).
However, it turns out, that this script is running on the QuickBuild server instead of the agent and therefore is not successful.
The script looks like this:
${groovy:
def file = new File(vars.get("WorkingFolder").toString())
"git tag -l build/*".execute(null, file).in.text
}
There will be an error message, as this "WorkingFolder" only exists on the agent but not the server.
Description
I've got a configuration that runs on a different machine running QuickBuild Agent.
The master step of this configuration is already configured to run on the agent.
This configuration contains a variable that prompts the user to select a value out of a list.
This list is populated by a small script that collect some information on the remote computer (agent).
However, it turns out, that this script is running on the QuickBuild server instead of the agent and therefore is not successful.
The script looks like this:
${groovy:
def file = new File(vars.get("WorkingFolder").toString())
"git tag -l build/*".execute(null, file).in.text
}
There will be an error message, as this "WorkingFolder" only exists on the agent but not the server.