При запуске задачи возникает ошибка:
wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/ETLFB@tmp/durable-893314e7
(JENKINS-48300: if on a laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=300)
Есть созданная бага тут>>>.
Собственно решеине указано в тексте самой ошибки — добавляем HEARTBEAT_CHECK_INTERVAL=300.
Обновляем pipeline-скрипт, добавляем System.setProperty("org.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL", "3800");:
#!/usr/bin/env groovy
node {
// checkout https://github.com/project/deployment to the "ci" directory in Jenkins's Job workspace
// to use scripts from it, e,g, main.groovy
dir ('ci') {
git branch: "${DEPLOYMENT_REPO_BRANCH}", url: "${DEPLOYMENT_REPO_URL}", credentialsId: "jenkins-github"
}
System.setProperty("org.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL", "3800");
def etl = load 'ci/project/main.groovy'
...
Первый запуск падает с ошибкой Scripts not permitted to use staticMethod java.lang.System setProperty, разрешаем вызов метода из https://jenkins.example.com/scriptApproval, запускаем повторно:
…
[Pipeline] End of Pipeline
Finished: SUCCESS
Готово.




