Queue.Item.OneShotSlave.createLauncher(TaskListener)
 as an event to determine first use of the slave. see https://issues.jenkins-ci.org/browse/JENKINS-35521true if this strategy is enabled for the current Jenkins instance.Run is created, then can actually
 launch and report provisioning status in the build log.OneShotSlave allocated for a task.QueueListener is responsible for detecting jobs that are relying on a One-Shot executor.OneShotSlaves.NodeProvisioner to create build agent as soon as a build start.Run, and as such has a life cycle
 to fully match the Run's one.OneShotSlave to run this $Queue.BuildableItem.Run to this OneShotSlave.Queue.Item do rely on One-Shot executors, and should be
 handled by this specific provisioner.Copyright © 2016–2017. All rights reserved.