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 +}