added git

This commit is contained in:
Naresh 2023-03-14 06:24:32 -04:00
parent 6c5f558389
commit 73a63db38a

View file

@ -7,16 +7,5 @@ pipeline {
branch: 'develop'
}
}
stage('build') {
steps {
sh 'export PATH="/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin:$PATH" && mvn clean package'
}
}
stage('post build') {
steps {
archiveArtifacts artifacts: '**/target/*.jar',
onlyIfSuccessful: true
}
}
}
}