Capture and convert the output of command into csv file in groovy
I have below code in groovy which is providing some output in comma separated values. Can I know how I can input this into csv file. Below is my code and output.
Capture and convert the output of command into csv file in groovy
I have below code in groovy which is providing some output in comma separated values. Can I know how I can input this into csv file. Below is my code and output.
can’t access an env var added in groovy script
Team, I want to capture a var remoteUrl
value coming from jenkinsfile into groovy library that is passed from jenkinsfile and store it in env var to access later. but I can’t seem to do it. any hint what am i missing?
How to convert Python list into Groovy list
I’m trying to handle Python script (that returns list of strings, e.g. ['1', '2', '3', 'latest']
) output with Groovy (on Jenkins):