Hi I am trying to run something like this in my Jenkins pipeline where my stage have below lines of code
def list= sh(script: "test.sh", returnStdout: true)