Skip to content

Commit 5d1ff9e

Browse files
committed
jenkins-file-command-added
1 parent 74fd7c7 commit 5d1ff9e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Jenkinsfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ pipeline {
99
// switch to the directory and run test
1010
dir('spring-petclinic/spring-petclinic-rest') {
1111
sh """
12-
12+
apt-get update && apt-get install -y kmod linux-headers-generic bpfcc-tools
13+
14+
mkdir -p /sys/kernel/debug
15+
mkdir -p /sys/kernel/tracing
1316
# Download and install Keploy binary
1417
curl --silent -O -L https://keploy.io/install.sh && sudo bash install.sh
1518
@@ -21,6 +24,8 @@ pipeline {
2124
# Print current directory for debugging
2225
pwd
2326
ls -la
27+
mount -t debugfs nodev /sys/kernel/debug || true
28+
mount -t tracefs nodev /sys/kernel/tracing || true
2429
2530
# Run keploy test
2631
keploy test -c "java -jar target/spring-petclinic-rest-3.0.2.jar" --delay 20

0 commit comments

Comments
 (0)