From ca5d9dede1aeb1dfac9ebceae6bb036081904a6d Mon Sep 17 00:00:00 2001 From: vishnu1411 Date: Sat, 16 Dec 2023 10:40:45 -0500 Subject: [PATCH] Jenkinsfile_SP1 --- Jenkinsfile | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) 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