From bde03bbdd74f56a33cd91a73e74de0ee644f8866 Mon Sep 17 00:00:00 2001 From: Neeptossss Date: Fri, 24 Nov 2023 20:57:50 +0100 Subject: [PATCH] fic --- jenkins/job_dsl.groovy | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/jenkins/job_dsl.groovy b/jenkins/job_dsl.groovy index ae4efd5..0f81ea7 100644 --- a/jenkins/job_dsl.groovy +++ b/jenkins/job_dsl.groovy @@ -37,11 +37,11 @@ freeStyleJob("link-project") { } steps { dsl { - text(""" + text(''' freeStyleJob("Projects/$DISPLAY_NAME") { agent { kubernetes { - yaml ''' + yaml \'\'\' apiVersion: v1 kind: Pod spec: @@ -63,7 +63,7 @@ freeStyleJob("link-project") { - name: whanos hostPath: path: /whanos - ''' + \'\'\' } } wrappers { @@ -84,15 +84,15 @@ freeStyleJob("link-project") { preBuildCleanup() } steps { - shell(''' + shell(\'\'\' while true; do echo "Pulling latest version of the image..." sleep 60 done - ''') + \'\'\') } } - """.stripIndent()) + ''') } } }