I want a plugin that will read URLs, and filenames from a file in the 
workspace, request each URL and store the content as the given filename in 
the workspace.

If these files existed in source control then obviously I would pull them 
from GIT, SVN or whatever. If they existed in Maven then I would pull them 
from there but these are files which we want to pull using HTTP or HTTPS 
from a list of URLs.

I have written a toy town version of this as a bash script:
/////

while read -r filename url

do

curl -o $filename $url

done < url_list.txt
/////

It works but I want to replace the script with a plugin for the following 
reasons:

   - We need to repeat it in multiple Jenkins projects
   - It needs to have good error reporting
   - Needs to do HTTPS as well as HTTP


Has anybody written a plugin similar to this ?

I am a complete newbie when it comes to both Maven and writing Jenkins 
plugins but I will give it a go if there is nothing else out there.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/c3152928-f9f0-456d-9b2b-a4620785c4ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to