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 created issue -

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

              Created:
              Updated: