From ba3798f42ae3c8bb8803038ccacf2307cc623cb1 Mon Sep 17 00:00:00 2001 From: Stijn Bannink <27051051+stijnb1234@users.noreply.github.com> Date: Tue, 25 Feb 2020 16:03:27 +0100 Subject: [PATCH 1/3] Update Jenkinsfile --- Jenkinsfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index bdabf22..6a73b94 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,4 +31,3 @@ pipeline { } } } - From 0b7a9db02d7e700a0dd1c4c1d9fbfefdc2fb9668 Mon Sep 17 00:00:00 2001 From: Stijn Bannink <27051051+stijnb1234@users.noreply.github.com> Date: Tue, 25 Feb 2020 16:05:18 +0100 Subject: [PATCH 2/3] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6a73b94..8e77f9a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,7 +23,7 @@ pipeline { echo 'Archiving coverage results...' jacoco(execPattern: '**/**.exec', classPattern: '**/classes', sourcePattern: '**/src/main/java') echo 'Archiving test results...' - junit 'target/surefire-reports/*.xml' + junit allowEmptyResults: true, testResults: 'target/surefire-reports/*.xml' echo 'Archiving artifacts...' archiveArtifacts artifacts: 'target/*.jar', fingerprint: true } From f96f32a87065d92eb8bd76ded290a8a91a1cfb10 Mon Sep 17 00:00:00 2001 From: Stijn Bannink <27051051+stijnb1234@users.noreply.github.com> Date: Tue, 25 Feb 2020 16:11:12 +0100 Subject: [PATCH 3/3] Delete Jenkinsfile --- Jenkinsfile | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 8e77f9a..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,33 +0,0 @@ -pipeline { - agent any - tools { - maven 'Maven 3.6.3' - jdk 'jdk8' - } - stages { - stage ('Initialize') { - steps { - sh ''' - echo "PATH = ${PATH}" - echo "M2_HOME = ${M2_HOME}" - ''' - } - } - - stage ('Build') { - steps { - sh 'mvn -Dmaven.test.failure.ignore=true install' - } - post { - always { - echo 'Archiving coverage results...' - jacoco(execPattern: '**/**.exec', classPattern: '**/classes', sourcePattern: '**/src/main/java') - echo 'Archiving test results...' - junit allowEmptyResults: true, testResults: 'target/surefire-reports/*.xml' - echo 'Archiving artifacts...' - archiveArtifacts artifacts: 'target/*.jar', fingerprint: true - } - } - } - } -}