build : 添加skywalking

This commit is contained in:
clay
2024-05-08 22:47:53 +08:00
parent 6d7d4bac9a
commit f6a096fb3e
4 changed files with 11 additions and 7 deletions

View File

@@ -45,3 +45,7 @@ echo -e "Check the logs for more details."
PID=`ps -ef | grep 'java' | grep "$DRONE_COMMIT_BRANCH.jar" | grep -v 'grep' | awk '{print $2}'`
echo -e "The PID Is $PID"
java -javaagent:C:\Users\admin\Desktop\work\study\fateverse\skywalking-agent\skywalking-agent.jar -Dskywalking.agent.service_name=$DRONE_COMMIT_BRANCH -Dskywalking.trace.ignore_path=/actuator/** -Dskywalking.collector.backend_service=10.7.125.151:11800 --add-opens java.base/jdk.internal.misc=ALL-UNNAMED -Dio.netty.tryReflectionSetAccessible=true -jar auth.jar --spring.profiles.active=dev --server.port=8080