diff --git a/Jenkinsfile b/Jenkinsfile index 20796237f..14df29782 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,11 +4,11 @@ pipeline{ stage ("build") { steps { echo "Running build automation..." - sh 'mvn checkstyle:checkstyle' - sh 'mvn verify' - sh 'mvn clean package' + sh './mvnw checkstyle:checkstyle' + sh './mvnw verify' + sh './mvnw clean package' sh 'docker build -t mr/spring-petclinic:${GIT_COMMIT:0:7} -f Dockerfile2 .' } } } -} \ No newline at end of file +}