I have a task that runs in a bamboo plugin as a external process. I cannot run any commands like 'echo $PATH' , as it throws the error 'executable not found'. I need to run a script task with the external process to do the above.
public ExternalProcess Exec(List<String> pLArg, List<String> pLOpt, String sPwd,
String projectUserId, Map<String, String> variables)
TaskContext pContext = GetContext();
List<String> pLCmd = new LinkedList<String>();
pLCmd.add("echo $PATH ");
return Exec(pLCmd, sPwd);
The requirement is to run a script command from a bamboo plugin in a custom task type plugin.
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events