Declarative pipeline, syntax for 'reuseNode true'?

16 views
Skip to first unread message

DavidA

unread,
Aug 11, 2020, 8:55:09 AM8/11/20
to Jenkins Users
In declarative pipeline, is it possible to set 'reuseNode true' for a non-Docker agent? If so, what is the syntax please?

The following did not work for me:

            agent { 
                label "jenkins-ubuntu18-2" 
                reuseNode true
                }
Reply all
Reply to author
Forward
0 new messages