From 2fed4f26baa18c86f1015af8a1f943f0a3eabcaa Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 1 Feb 2023 10:24:00 +0000 Subject: [PATCH] environment test --- Jenkinsfile | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e18ac2f..404e5bd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,32 +20,3 @@ podTemplate(containers: [ } } - -pipeline { - agent { - kubernetes { - yaml ''' - apiVersion: v1 - kind: Pod - metadata: - labels: - some-label: some-label-value - spec: - containers: - - name: gradle - image: gradle:7.6.0-jdk11 - tty: true - ''' - retries 2 - } - } - stages { - stage('Run gradle') { - steps { - container('gradle') { - sh './gradlew clean build' - } - } - } - } -} \ No newline at end of file