Having a job of type pipeline with a code like this:
node("my-node") { sh 'ls -la' }
does not spin up a node "my-node" with a configuration of "start agent on request and go offline on inactivity".
Wait time for starting is 0. Wait time for offline is 1.