79739593

Date: 2025-08-19 07:40:45
Score: 1
Natty:
Report link

To run constantly

first check what value is set:

run in your browser

yourUrlJenkins/manage/script

put and run



org.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL

after

Create a init.groovy.d folder in Jenkins home and place a groovy file in it for example HEARTBEAT_CHECK_INTERVAL.groovy

add in your file

System.setProperty("org.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL", "300")

restart Jenkins:


yourUrlJenkins/safeRestart

push "yes"

after, you should check what value is set again and voila:

enter image description here

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: diagramd 2020