Ok, thanks for clarifying. /Anders
On Tuesday, September 7, 2021 at 1:00:15 PM UTC+2 [email protected] wrote: > (Note: better suited jenkinsci-dev list) > > Node and workspace handling differs quite a lot between freestyle and > pipeline jobs. In a single pipeline you can create many nodes (node block) > and even works spaces (ws blocks). > So this is expected... > > Björn > > [email protected] schrieb am Dienstag, 7. September 2021 um 12:42:59 > UTC+2: > >> Hi, >> >> I'm trying to build an extension that would automatically remove/delete >> the workspace when leaving a node. It seems possible to do this through a >> NodeProperty extension where I create an Environment object that would >> handle this. >> >> However, trying this I see different behavior in e.g. a Freestyle build >> than in a pipeline build. In the Freestyle build it works, but in the >> pipeline build the setUp() method is not called. Is this difference >> expected? >> >> The extension can be found at [1]. >> >> /Anders >> >> [1] https://github.com/andham/jenkins-nodeproperty-plugin >> > -- 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/7049062f-241d-4dba-b18b-4194c871f99dn%40googlegroups.com.
