Open timja opened 6 years ago
I believe this is because of the dot in the end of the command line.
In the documentation the dot is not a part of the command line sample, it just ends the sentence. Anyway , it makes sense to update the doc to prevent confusion
oleg_nenashev ohh my god.. This dot is very confusing. But the application should not remove files recursively without any notification (in any uncertain situation). This is a disaster for users.
Pretty sure https://github.com/jenkinsci/winstone/blob/04bcf4e65a19ceacb93df9dcec8fefe3b638a95d/src/main/java/winstone/HostConfiguration.java#L252 is the culprit, from the first mode in https://github.com/jenkinsci/winstone/#deployment-choices
This seems a bit too clever.
I wonder whether this could be changed to require an absolute path be specified for a webroot dir. This way, simple words aren't enough. Any real deployments will specify full paths anyway.
jenkins.war deleted all my files even itself.
I just want to follow the instructions on the official website:https://jenkins.io/doc/pipeline/tour/getting-started/ but I lost my files now.
following is the errors:
and now my files are gone. This bug is very annoying.
Originally reported by lazydomino, imported from: jenkins.war deleted all my files in current working dir