tophat / jenkins-timeline-plugin

A build timeline to facilitate the inspection of Jenkins pipelines and identify bottlenecks.

Home Page:https://jenkinstimeline.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Artifact cleanup scripts use unsafe ops

mcataford opened this issue · comments

commented

Describe the bug
make clean_webapp raises the following when used:

find ./src/main/webapp -not -name 'jenkins_assets' -delete
find: -delete: ./src/main/webapp: relative path potentially not safe
make[1]: *** [clean_webapp] Error 1
make: *** [build_all] Error 2

This halts the make flow so it can't be part of a complex make command.

To Reproduce

  • Use make clean_webapp

Expected behavior
The make command should complete smoothly.

commented

Fix as of #23