The instant messaging plugin is able to receive an IM message like “build XYZ in 10 seconds” and set up work in 10 seconds. He does this through the Java API to schedule the job [0].
I would like to know if there is any magic parameter that I can pass to the REST API [1], which will allow me to “delay” the work in the same way?
thanks.
[0] - https://github.com/jenkinsci/instant-messaging-plugin/blob/master/src/main/java/hudson/plugins/im/bot/BuildCommand.java#L54
[1] - https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API
GET the following URL:
http://jenkins/job/jobname/build?delay=4000sec
In this example, the task will run after 4000 seconds.
This works with the buildWithParameters URL for parameterized jobs.
buildWithParameters
Source: https://habr.com/ru/post/1480995/More articles:fontawesome: stacked icons not showing correctly - cssHow to convert float to int in modern C ++ - c ++Transition of time series into the future with the help of R - rWhat is the modern technology for fitting the footer to the bottom of the browser when the content is short? - cssHow to pass an object with an unknown type to a class with an unknown type - javaHow to return SqlDataReader in C # WCF? - c #Scintilla: Single Line - c ++Using a prefetch filter using typeahead.js (using basic options) - javascriptDoes an automatic variable have a static lifetime if not initialized? - cCreating a UML Component Diagram - diagramAll Articles