Added ability to disable polling in jenkins plugin