Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70996

Exception due to unexpected "entering directory" messages

XMLWordPrintable

      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

            drulli Ulli Hafner
            alexanderstohr_li Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: