diff --git a/Jenkinsfile b/Jenkinsfile index ae953c63..6002694e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,15 +1,15 @@ pipeline { agent any - tools{ - maven 'maven_3_5_0' - } - stages{ - stage('Build Maven'){ - steps{ - checkout([$class: 'GitSCM', branches: [[name: '*/main']], extensions: [], userRemoteConfigs: [[url: 'https://github.com/Java-Techie-jt/devops-automation']]]) - sh 'mvn clean install' - } - } + //tools{ + // maven 'maven' + //} + //stages{ + // stage('Build Maven'){ + // steps{ + // checkout([$class: 'GitSCM', branches: [[name: '*/main']], extensions: [], userRemoteConfigs: [[url: 'https://github.com/Java-Techie-jt/devops-automation']]]) + // sh 'mvn clean install' + //} + //} stage('Build docker image'){ steps{ script{ @@ -36,4 +36,3 @@ pipeline { } } } -} \ No newline at end of file