Added the new connectin

This commit is contained in:
n 2023-03-10 16:17:54 +05:30
parent f39a9fc41b
commit 3d00af8c5a

8
Jenkinsfile vendored
View file

@ -4,11 +4,11 @@ pipeline {
stages { stages {
stage( 'version control sysytem') { stage( 'version control sysytem') {
steps { steps {
git url: 'https://github.com/spring-projects/spring-petclinic.git', git url: 'https://github.com/spring-projects/spring-petclinic.git',
branch: 'main' branch: 'main'
} }
} }
stage ('package') { stage('package') {
steps { steps {
sh 'mvn package' sh 'mvn package'
} }
@ -18,7 +18,7 @@ pipeline {
sh 'export PATH="/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin:$PATH" && mvn package' sh 'export PATH="/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin:$PATH" && mvn package'
} }
} }
stage ('Artifactory configuration') { stage('Artifactory configuration') {
steps { steps {
rtServer ( rtServer (
id: "ARTIFACTORY_SERVER", id: "ARTIFACTORY_SERVER",