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

Invalid characters in Promotion name causes error

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If you create a promotion process with and invalid character in the name (such as a /) you will get a page saying "Error : Could not create" once you save the job. The plugin will still create the directory under the promotions directory under the job. Now, no promotions will show on the job and attempts to create an subsequent promotion processes will fail.

      The promoted build plugin should validate the promotion name and disallow invalid filesystem path characters.

      Workaround: Manually delete the invalid promotion from <HUDSON_HOME>/.hudson/jobs/<JOB_NAME>/promotions

        Attachments

          Activity

          Show
          sogabe sogabe added a comment - Fixed. https://github.com/hudson/promoted-builds-plugin/commit/c3655866ce82d14ec99c7419bcb8c25633e247d0

            People

            Assignee:
            sogabe sogabe
            Reporter:
            wildcardab wildcardab
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: