Skip to content

Instantly share code, notes, and snippets.

@stephenc
Created March 20, 2017 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephenc/383ecfaa28ff309c0e708464175dc7a1 to your computer and use it in GitHub Desktop.
Save stephenc/383ecfaa28ff309c0e708464175dc7a1 to your computer and use it in GitHub Desktop.
def listener=ExtensionList.lookup(AsyncPeriodicWork.class).get(org.apache.jenkins.gitpubsub.GitPubSubPoll.class);
println("Listener: ${listener}");
println("Listener.periodSeconds: ${listener.periodSeconds}");
println("Listener.requestRecycleMins: ${listener.requestRecycleMins}");
println("Listener.disableNotifyScm: ${listener.disableNotifyScm}");
println("Listener.lastTS: ${listener.lastTS}");
println("Listener.lastTime: ${listener.lastTime}");
println("Listener.longPollRequest: ${listener.longPollRequest}");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment