Subrata Fouzdar
Subrata Fouzdar

Reputation: 733

uploading a file before any build job in jenkins

My requirement is to ask the user to upload a file in Jenkins (Through UI) and then Jenkins is going to perform some build jobs taking input from the file

I have tried to use file parameter in my paramterized build job , I do not have any SCM plugin , all my SVN jobs are through svn client as part of shell script

Problem is the file parameter is uploading the file only after my build steps are getting performed,as a result build step is not able to read the data from the file, is there any way to force the file upload before the build step

Upvotes: 1

Views: 3373

Answers (1)

Barney
Barney

Reputation: 1895

Step 1: enter image description here

Step 2: enter image description here

Step 3:

enter image description here

Step 4: enter image description here

Upvotes: 1

Related Questions