From 05b1576183f7547139f8200979ec98c8d17852a8 Mon Sep 17 00:00:00 2001 From: yyeeqii Date: Sun, 27 Apr 2025 13:26:17 +0800 Subject: [PATCH] test webhook trigger 8 --- Jenkinsfile/Jenkinsfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile/Jenkinsfile b/Jenkinsfile/Jenkinsfile index 65494cd6d..2e4308fed 100644 --- a/Jenkinsfile/Jenkinsfile +++ b/Jenkinsfile/Jenkinsfile @@ -1,11 +1,7 @@ pipeline { 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 { stage('Checkout') { @@ -18,14 +14,14 @@ pipeline { stage('Build') { steps { // Install dependencies and build the project - sh './gradlew clean build' // assuming you are using Gradle + gradlew clean build // assuming you are using Gradle } } stage('Test') { steps { // Run tests (JUnit tests in this case) - sh './gradlew test' + ./gradlew test } }