Sorry, yes I did have an agent line but forgot to include it. On Tue, Jan 29, 2019 at 01:13 Baptiste Mathus <[email protected]> wrote:
> Slide is 100% right for the support aspect. > > I _think_ that this error is expected, given you didn't specify an agent > and are trying to use `deleteDir()`, which does require one (agent). I > would be surprised this was actually working as-is on previous Pipeline > plugins previous versions. > > Le lun. 28 janv. 2019 à 20:22, Keith Phillips <[email protected]> > a écrit : > >> Jenkins was recently upgraded to CloudBees Jenkins Enterprise >> 2.150.2.3-rolling >> <https://release-notes.cloudbees.com/product/CloudBees+Jenkins+Enterprise> >> and >> now all of my Jenkinsfile scripts are throwing this error: >> >> Required context class hudson.FilePath is missing >> >> I'm doing >> >> pipeline { >> agent {} >> options{} >> stages { >> stage { >> steps { >> } >> } >> post { >> always { >> deleteDir() >> } >> } >> } >> >> What do you think? >> >> -K >> >> >> -- >> 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]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/8e364efc-79fa-4886-8b0d-914063e492cd%40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-users/8e364efc-79fa-4886-8b0d-914063e492cd%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4W4yGL3vaQfzKai3oEx6U1N%2BRyoz3aFpM4MSckaWFv-g%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4W4yGL3vaQfzKai3oEx6U1N%2BRyoz3aFpM4MSckaWFv-g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMOyVnJ6S4FUUrbDYGrYc3ugEpEznoSfb2gkot-ZmV7GP75fFA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
