-
Bug
-
Resolution: Fixed
-
Major
-
any current, e.g.
Jenkins 2.346.3
warnings-ng 9.20.0
When doing some "scp" command with a "-v" flag for verbosity, then you might see messages like:
Entering directory: D0750 0 deploy
This will later on result in an error when doing some parsing with maybe e.g. warnings-ng (or similar).
The final line, where the codes within jenkinsci/analysis-model library then will exit, is of that format:
throw new ParsingException("Unable to change directory using: %s to match %s", makePath.toString(), line);
For now, as a work around, i will drop the "-v" switch from my project. But being able to debug even scp invocations without breaking the build result should still be possible.
References:
https://github.com/jenkinsci/analysis-model/blob/master/src/main/java/edu/hm/hafner/analysis/LookaheadParser.java
https://unix.stackexchange.com/questions/655319/how-to-scp-from-remote-root-directory
https://issues.jenkins.io/browse/JENKINS-32191
- links to