Need a simple 3 stage pipeline that will run “java -version” in each stage on a handful of servers, use the name “mySampleJob”.
The list of servers will be in a file called “myhosts” and be a list of either dns names or IP address, in a single list. File “myhosts” will in a Jenkins Home or a location you feel is good, host already authenticating with a login in “credentials”.
This is expected to be a Jenkins Declarative Format Multi Function Pipeline Script in Groovy.
Also please provide the curl statement to call from command line?
Please only BID if you know how to do
Can you work on this and finish in 2 to 4 hours?