Looks good, I only have one question about this, cp spm-monitor-*/target/*-withdeps.jar /tmp/cache/java-agent/. Do you plan to use this jar in some other job? If yes, you would need to add that part to this pipeline as well, because another job may start on another node.
Looks good, I only have one question about this,
cp spm-monitor-*/target/*-withdeps.jar /tmp/cache/java-agent/
. Do you plan to use this jar in some other job? If yes, you would need to add that part to this pipeline as well, because another job may start on another node.