mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 05:25:50 +00:00
change Naming for user name
This commit is contained in:
parent
05b1576183
commit
3a5453e272
2 changed files with 9 additions and 5 deletions
10
Jenkinsfile/Jenkinsfile
vendored
10
Jenkinsfile/Jenkinsfile
vendored
|
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue