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