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')