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

Jenkins doesn't fail when nonexistant Branch Name is specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin
    • None
    • jenkins: 1.609.2, git-plugin: 2.4.0

      This only happens when multiple git repositories are used.

      Steps to reproduce:

      1. Create a Project with 2 git repositories
      2. For "Branches to build" specify an existing branch
      3. build the project
      4. Change "Branches to build" to "non_existing_branch"
      5. build again

      Expected result:
      The build should fail

      Result:
      The build succeeds. The last checkout is simply left as is.

            Unassigned Unassigned
            stefank Stefan Klug
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: