How about using a file parameter <https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build> and the conditional build step <https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin> to determine if a file was provided? If it wasn’t, you can fall back to using a default file.
> On Oct 31, 2014, at 6:45 AM, niraj nandane <[email protected]> wrote: > > > Hi All, > I need plugin for following sceanrio. > When i start a build ,it should provide a checkbox asking "custom_build". If > i check checkbox then it should allow me to upload files like "file > parameter". The problem with file parameter is i have to update the project > every time . I want it to ask for file path at run time only. > -- > Thanks and regards > Niraj Nandane(Vit pune) > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
