From c3bf38d9110a86644c9131f034c93c92b321173d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Pie=C5=82a?= Date: Sun, 10 Mar 2024 23:00:12 +0100 Subject: [PATCH] Update Jenkinsfile Change jacoco to recordCoverage --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ed45256..aa0fd8f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,9 @@ pipeline { stages { stage('Checkout') { - git branch: 'master',url: 'https://git.horizonnet.eu/mateusz/java-helloworld.git' + steps { + git branch: 'master',url: 'https://git.horizonnet.eu/mateusz/java-helloworld.git' + } } stage('Build') { steps { @@ -14,7 +16,7 @@ pipeline { steps { sh 'mvn test' junit '**/target/surefire-reports/*.xml' - jacoco + recordCoverage(tools: [[]]) } } stage('Deploy') {