U
U
Ustehin Mikhail2019-06-07 12:16:00
Jenkins
Ustehin Mikhail, 2019-06-07 12:16:00

How to specify duration of job execution?

I have a telephony load emulation server. And there is also Jenkins from which people want to run the load. To do this, I used the SSH plugin, which runs scripts on the load server. But since the load should not be given for different times, I would like to understand whether it is possible to specify the duration parameter in the job settings. Or should we forget about it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2019-06-07
@Zarom

Lots of options.

  • Best when using pipeline https://jenkins.io/doc/pipeline/steps/workflow-bas...
  • Implement a timeout in your script
  • For classic Job https://wiki.jenkins.io/display/JENKINS/Build-time...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question