From da624d2fed2b761d8f2584794bd5226177d8de2c Mon Sep 17 00:00:00 2001 From: Clemens Lauermann Date: Thu, 16 Apr 2020 22:43:53 +0200 Subject: [PATCH] next try to fix DA checkout --- Jenkinsfile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a9a4458..a1d7de8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,17 +1,9 @@ pipeline { agent { label 'docker-lehrer' } - environment { - GIT_COMMIT_AUTHOR = """${sh( - returnStdout: true, - script: 'git show -s --pretty=%an' - )}""" - GIT_COMMIT_COMMENT = """${sh( - returnStdout: true, - script: 'git show -s --format=%s' - )}""" - } + options { buildDiscarder(logRotator(artifactNumToKeepStr: '0')) + skipDefaultCheckout() } parameters { string(name: 'USERNAME', defaultValue: 'Username', description: 'Benutzername')