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

Working directory not set in Slack Uploader plugin.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • slack-uploader-plugin
    • None
    • Jenkins 2.52, Slack uploader 1.7

      Entering a path in "Enter path to file directory" has multiple issues:

      1. Backslashes are ignored and not escaped.
      2. Spaces split the path into arguments. (somewhat expected, but see #1)
      3. The working directory isn't set, so relative paths can not be used. I would think the working directory (Basedir) should be WORKSPACE. In the case of the plugin "Publish JUnit test result report" the stated Basedir is "the workspace root."

          [JENKINS-43280] Working directory not set in Slack Uploader plugin.

          Caylan Larson added a comment - - edited

          I don't know if this will help, but here's a link to the aforementioned JUnit publisher plugin that shows all uses of the word "filePath"

          https://github.com/jenkinsci/junit-plugin/search?&q=filepath

          Caylan Larson added a comment - - edited I don't know if this will help, but here's a link to the aforementioned JUnit publisher plugin that shows all uses of the word "filePath" https://github.com/jenkinsci/junit-plugin/search?&q=filepath

          Hi masterlittle,

          we are still facing this issue with Slack uploader 1.7 

          Any updates with this bug ? 
           

          hajar bensmail added a comment - Hi  masterlittle , we are still facing this issue with Slack uploader 1.7  Any updates with this bug ?   

            masterlittle Shitij Goyal
            caylan Caylan Larson
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: