[JENKINS-14494] compatibility of the constructor of ConditionalPublisher.
[JENKINS-14494] use ${it} instead of Stapler.getCurrentRequest().findAncestorObject()