mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:45:49 +00:00
Added the new connectin
This commit is contained in:
parent
f39a9fc41b
commit
3d00af8c5a
1 changed files with 4 additions and 4 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue