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 {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
script {
|
||||
echo "Checking out code..."
|
||||
git url: 'https://github.com/CChariot/spring-petclinic.git', branch: 'FinalProject_main', credentialsId: 'github-token'
|
||||
}
|
||||
}
|
||||
}
|
||||
// stage('Checkout') {
|
||||
// steps {
|
||||
// script {
|
||||
// echo "Checking out code..."
|
||||
// git url: 'https://github.com/CChariot/spring-petclinic.git', branch: 'FinalProject_main', credentialsId: 'github-token'
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
stage('Build JAR') {
|
||||
steps {
|
||||
script {
|
||||
echo "Building JAR..."
|
||||
sh './mvnw clean package -Dmaven.test.skip=true'
|
||||
}
|
||||
}
|
||||
}
|
||||
// stage('Build JAR') {
|
||||
// steps {
|
||||
// script {
|
||||
// echo "Building JAR..."
|
||||
// sh './mvnw clean package -Dmaven.test.skip=true'
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
stage('Build Docker Image') {
|
||||
steps {
|
||||
|
|
Loading…
Reference in a new issue