- Clones the PetClinic GitHub repository:
-
Builds the Job with the command lines:
- git clone https://github.com/spring-projects/spring-petclinic.git
- cd spring-petclinic
- ./mvnw package
- Run the Application on the Jenkins Slave
Started by user Assia Khateeb
Obtained Jenkinsfile from git https://github.com/assiakhateeb/pet-clinic
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Running on slave in /home/ubuntu/jenkins/workspace/pet-clinic-pipeline
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
No credentials specified
Fetching changes from the remote Git repository
Checking out Revision d2c3fbc452e4921aa46036d7356f113d9939a3a3 (refs/remotes/origin/master)
Commit message: "stage 3: Last Stage"
git rev-parse --resolve-git-dir /home/ubuntu/jenkins/workspace/pet-clinic-pipeline/.git # timeout=10
git config remote.origin.url https://github.com/assiakhateeb/pet-clinic # timeout=10
Fetching upstream changes from https://github.com/assiakhateeb/pet-clinic
git --version # timeout=10
git --version # 'git version 2.25.1'
git fetch --tags --force --progress -- https://github.com/assiakhateeb/pet-clinic +refs/heads/:refs/remotes/origin/ # timeout=10
git rev-parse refs/remotes/origin/master^{commit} # timeout=10
git config core.sparsecheckout # timeout=10
git checkout -f d2c3fbc452e4921aa46036d7356f113d9939a3a3 # timeout=10
git rev-list --no-walk 077bbe36193b4205cf56b8a0b589fc078bfb7815 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Clone GitHub Repositry)
[Pipeline] git
The recommended git tool is: NONE
No credentials specified
Fetching changes from the remote Git repository
Checking out Revision 25ba1621a9d7440df013f7737ce070f44014ecb1 (refs/remotes/origin/main)
Commit message: "Add delimiter to list of pets"
git rev-parse --resolve-git-dir /home/ubuntu/jenkins/workspace/pet-clinic-pipeline/.git # timeout=10
git config remote.origin.url https://github.com/spring-projects/spring-petclinic # timeout=10
Fetching upstream changes from https://github.com/spring-projects/spring-petclinic
git --version # timeout=10
git --version # 'git version 2.25.1'
git fetch --tags --force --progress -- https://github.com/spring-projects/spring-petclinic +refs/heads/:refs/remotes/origin/ # timeout=10
git rev-parse refs/remotes/origin/main^{commit} # timeout=10
git config core.sparsecheckout # timeout=10
git checkout -f 25ba1621a9d7440df013f7737ce070f44014ecb1 # timeout=10
git branch -a -v --no-abbrev # timeout=10
git branch -D main # timeout=10
git checkout -b main 25ba1621a9d7440df013f7737ce070f44014ecb1 # timeout=10
git rev-list --no-walk 25ba1621a9d7440df013f7737ce070f44014ecb1 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Change current directory)
[Pipeline] dir
Running in /home/ubuntu/jenkins/workspace/pet-clinic-pipeline/spring-petclinic
[Pipeline] {
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Last Stage)
[Pipeline] script
[Pipeline] {
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS