mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
updated Jenkinsfile
This commit is contained in:
parent
f44e375181
commit
db60d2e6ff
1 changed files with 16 additions and 16 deletions
32
Jenkinsfile
vendored
32
Jenkinsfile
vendored
|
@ -8,23 +8,23 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Checkout') {
|
// stage('Checkout') {
|
||||||
steps {
|
// steps {
|
||||||
script {
|
// script {
|
||||||
echo "Checking out code..."
|
// echo "Checking out code..."
|
||||||
git url: 'https://github.com/CChariot/spring-petclinic.git', branch: 'FinalProject_main', credentialsId: 'github-token'
|
// git url: 'https://github.com/CChariot/spring-petclinic.git', branch: 'FinalProject_main', credentialsId: 'github-token'
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
stage('Build JAR') {
|
// stage('Build JAR') {
|
||||||
steps {
|
// steps {
|
||||||
script {
|
// script {
|
||||||
echo "Building JAR..."
|
// echo "Building JAR..."
|
||||||
sh './mvnw clean package -Dmaven.test.skip=true'
|
// sh './mvnw clean package -Dmaven.test.skip=true'
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
stage('Build Docker Image') {
|
stage('Build Docker Image') {
|
||||||
steps {
|
steps {
|
||||||
|
|
Loading…
Reference in a new issue