diff --git a/Jenkinsfile b/Jenkinsfile index 391dfd383..d3e83fd4c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,15 +1,15 @@ -node('SP'){ - stage('sourcecode'){ - //build step - git branch: 'main', url: 'https://github.com/vishnu1411/spring-petclinic.git' - } - stage('Build and package'){ - //building using maven and install - sh 'mvn clean package' - } - stage('Archive test results'){ - //archive test reuslts - junit '**/surefire-reports/*xml' - archiveArtifacts artifacts: '**/*.war', followSymlinks: false - } -} \ No newline at end of file + node { + stage('sourcecode'){ + //build step + git branch: 'main', url: 'https://github.com/vishnu1411/spring-petclinic.git' + } + stage('Build and package'){ + //building using maven and install + sh 'mvn clean package' + } + stage('Archive test results'){ + //archive test reuslts + junit '**/surefire-reports/*xml' + archiveArtifacts artifacts: '**/*.war', followSymlinks: false + } + } \ No newline at end of file