change Naming for user name

This commit is contained in:
yyeeqii 2025-04-27 14:29:43 +08:00
parent 05b1576183
commit 3a5453e272
2 changed files with 9 additions and 5 deletions

View file

@ -1,7 +1,11 @@
pipeline { pipeline {
agent any // This runs the pipeline on any available agent agent any // This runs the pipeline on any available agent
environment {
// Set environment variables if needed
APP_DIR = "/home/vagrant/petclinic"
REPO_URL = "https://github.com/yiting68/spring-petclinic.git"
}
stages { stages {
stage('Checkout') { stage('Checkout') {
@ -14,14 +18,14 @@ pipeline {
stage('Build') { stage('Build') {
steps { steps {
// Install dependencies and build the project // Install dependencies and build the project
gradlew clean build // assuming you are using Gradle sh './gradlew clean build' // assuming you are using Gradle
} }
} }
stage('Test') { stage('Test') {
steps { steps {
// Run tests (JUnit tests in this case) // Run tests (JUnit tests in this case)
./gradlew test sh './gradlew test'
} }
} }

View file

@ -7,8 +7,8 @@ duplicateFormSubmission=Duplicate form submission is not allowed
typeMismatch.date=invalid date typeMismatch.date=invalid date
typeMismatch.birthDate=invalid date typeMismatch.birthDate=invalid date
owner=Owner owner=Owner
firstName=First Name firstName=enter your First Name
lastName=Last Name lastName=enter you Last Name
address=Address address=Address
city=City city=City
telephone=Telephone telephone=Telephone