diff --git a/Jenkinsfile b/Jenkinsfile index 19f80fb..835991a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,14 +5,19 @@ pipeline { stage('Build') { steps { echo 'Building..' - gradle build + withGradle { + sh 'gradle build' + } + } } stage('Test') { steps { echo 'Testing...' - gradle test + withGradle { + sh 'gradle test' + } } } } -} \ No newline at end of file +}