From 50324824c861feee901ae1012231f3d162d9251d Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Mon, 13 Feb 2023 17:40:16 +0100 Subject: [PATCH] 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 +}