Re: NodeProperty extension behaves differently with Freestyle than Pipeline job

2021-09-07 Thread and...@hammar.net
Ok, thanks for clarifying. /Anders On Tuesday, September 7, 2021 at 1:00:15 PM UTC+2 ice...@googlemail.com 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

Re: NodeProperty extension behaves differently with Freestyle than Pipeline job

2021-09-07 Thread 'Björn Pedersen' via Jenkins Users
(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 and...@hammar.net schrieb am Dienstag, 7.

NodeProperty extension behaves differently with Freestyle than Pipeline job

2021-09-07 Thread Anders Hammar
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