The archive artefacts publisher (in core) does this iirc, but you aren't guaranteed that a workspace can be provided for you always, like never for pipelines and only sometimes for freestyle, like if the job has never been built or the node where the last build ran is gone etc.
/B On Sat, Sep 3, 2016 at 12:37 PM, Andrew Sumner <[email protected]> wrote: > I’d like to place a validation button on the job configuration page to > verify that an ant fileset is valid AND finds something in the workspace. > > > > Is anyone aware of any plugins that do this? Its always easier to copy > someone else’s code when dealing with this stuff 😊 > > > > Regards > > Andrew > > > > > > > > > > -- > 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/BAY402-EAS247BEE683215985DE2B0700BCE40%40phx.gbl > <https://groups.google.com/d/msgid/jenkinsci-dev/BAY402-EAS247BEE683215985DE2B0700BCE40%40phx.gbl?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Robert Sandell *Software Engineer* *CloudBees Inc.* -- 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/CALzHZS0wBU-L_2NfpNtgwP-ukTofYKbSPrPQDF07ij%2BDi7_N%2BQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
