From d161a9d145a2201bb4893ab03b34f1dc36778587 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Mon, 13 Feb 2023 17:37:32 +0100 Subject: [PATCH 1/3] Update 'Jenkinsfile' --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 19f80fb..d67c644 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,13 +5,13 @@ pipeline { stage('Build') { steps { echo 'Building..' - gradle build + sh 'gradle build' } } stage('Test') { steps { echo 'Testing...' - gradle test + sh 'gradle test' } } } From 50324824c861feee901ae1012231f3d162d9251d Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Mon, 13 Feb 2023 17:40:16 +0100 Subject: [PATCH 2/3] Update 'Jenkinsfile' --- Jenkinsfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d67c644..8f79925 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,14 +5,19 @@ pipeline { stage('Build') { steps { echo 'Building..' - sh 'gradle build' + withGradle { + sh './gradlew build' + } + } } stage('Test') { steps { echo 'Testing...' - sh 'gradle test' + withGradle { + sh './gradlew test' + } } } } -} \ No newline at end of file +} From 0f67867d23fa3a8997d0c6a3ef79e4e834002817 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Mon, 13 Feb 2023 17:41:28 +0100 Subject: [PATCH 3/3] Update 'Jenkinsfile' --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8f79925..835991a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,7 +6,7 @@ pipeline { steps { echo 'Building..' withGradle { - sh './gradlew build' + sh 'gradle build' } } @@ -15,7 +15,7 @@ pipeline { steps { echo 'Testing...' withGradle { - sh './gradlew test' + sh 'gradle test' } } }