From 0017c9d8372ef306ac73aae22bb0d17631c944d2 Mon Sep 17 00:00:00 2001 From: pmikus Date: Fri, 5 Feb 2021 14:51:43 +0000 Subject: Infra: JenkinsJobHealthExporter - Integration of Jenkins Job checker Signed-off-by: pmikus Change-Id: I822039cb64a3a352b49314ddab7c6099af3fe644 --- .../templates/jenkins-job-health-exporter.service.j2 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 resources/tools/testbed-setup/ansible/roles/jenkins_job_health_exporter/templates/jenkins-job-health-exporter.service.j2 (limited to 'resources/tools/testbed-setup/ansible/roles/jenkins_job_health_exporter/templates/jenkins-job-health-exporter.service.j2') diff --git a/resources/tools/testbed-setup/ansible/roles/jenkins_job_health_exporter/templates/jenkins-job-health-exporter.service.j2 b/resources/tools/testbed-setup/ansible/roles/jenkins_job_health_exporter/templates/jenkins-job-health-exporter.service.j2 new file mode 100644 index 0000000000..38073d0a8c --- /dev/null +++ b/resources/tools/testbed-setup/ansible/roles/jenkins_job_health_exporter/templates/jenkins-job-health-exporter.service.j2 @@ -0,0 +1,13 @@ +[Unit] +Description=Jenkins Job Health Exporter +Documentation=https://github.com/ayourtch/jenkins-job-health-exporter + +[Service] +Restart=always +ExecStart={{ jenkins_job_health_exporter_target_dir }}/jenkins-job-health-exporter {{ jenkins_job_health_exporter_conf_dir }}/jenkins-job-health-exporter.json +ExecReload=/bin/kill -HUP $MAINPID +TimeoutStopSec=20s +SendSIGKILL=no + +[Install] +WantedBy=multi-user.target \ No newline at end of file -- cgit 1.2.3-korg