File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ pipeline {
99 // switch to the directory and run test
1010 dir(' spring-petclinic/spring-petclinic-rest' ) {
1111 sh """
12- # Install required dependencies
13- sudo apt-get update && sudo apt-get install -y tar
1412
1513 # Download and install Keploy binary
1614 curl --silent -O -L https://keploy.io/install.sh && sudo bash install.sh
@@ -19,21 +17,13 @@ pipeline {
1917 which keploy
2018
2119 # Set up the environment (ensure docker is running)
22- sudo systemctl start docker || true
2320
2421 # Print current directory for debugging
2522 pwd
2623 ls -la
2724
28- # Run keploy test with proper volume mounts
29- sudo keploy test -c 'docker-compose up' \
30- --container-name 'javaApp' \
31- -t 'test-set-0' \
32- --build-delay 50 \
33- --delay 20 \
34- --debug \
35- --path "\$ (pwd)/keploy" \
36- --config-path "\$ (pwd)"
25+ # Run keploy test
26+ keploy test -c "java -jar target/spring-petclinic-rest-3.0.2.jar" --delay 20
3727 """
3828 }
3929 }
You can’t perform that action at this time.
0 commit comments