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

Colon in job name causes incorrect use of windows path separator

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ant-plugin
    • None
    • Platform: All, OS: Solaris

      Create a job on a *nix system with a colon : in the name.
      When the job tries to run ant it gets an error like:

      FATAL: command execution failed
      java.io.IOException: Cannot run program "/opt/apache-ant-1.7.0/bin/ant" (in
      directory "/opt/webserver7/.hudson/jobs/what:IsGoingOn/workspace\client"):
      error=2, No such file or directory

      Notice the \ near the end of the path.
      I'm using 1.149.

          [JENKINS-970] Colon in job name causes incorrect use of windows path separator

          I think using ':' in path name would lead to all sorts of problems, as ':' in
          Unix is used as a path separator. So I'm disallowing ':' and ';' as job names in
          1.152.

          Kohsuke Kawaguchi added a comment - I think using ':' in path name would lead to all sorts of problems, as ':' in Unix is used as a path separator. So I'm disallowing ':' and ';' as job names in 1.152.

            Unassigned Unassigned
            mindless Alan Harder
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: