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

When branch build parameter is '*', '**' or empty, a stale revision is built

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin
    • None
    • Ubuntu 12.04

      I have a build parameter, branch, which is passed to the git "Branches to build" setting. When this parameter is set to '*', '**', or is empty, the last built revision gets built again instead of an updated branch HEAD. Setting this parameter to a specific branch name, such as 'development' or 'master' will build the HEAD of the specified branch. Directly setting git "Branches to build" to '*', '**', or leaving it empty will cause an updated branch HEAD to build properly.

          [JENKINS-20969] When branch build parameter is '*', '**' or empty, a stale revision is built

          Mike Smith created issue -
          Mike Smith made changes -
          Description Original: I have a build parameter, branch, which is passed to the git "Branches to build" setting. When this parameter is set to '*', '**', or is empty, the last built revision gets built again instead of an updated branch HEAD. Setting this parameter to a specific branch name, such as 'development' or 'master' will build the HEAD of the specified branch. Directly setting git "Branches to build" to '*', '**', or leaving it empty will cause an updated branch HEAD to build properly. New: I have a build parameter, branch, which is passed to the git "Branches to build" setting. When this parameter is set to '\*', '**', or is empty, the last built revision gets built again instead of an updated branch HEAD. Setting this parameter to a specific branch name, such as 'development' or 'master' will build the HEAD of the specified branch. Directly setting git "Branches to build" to '\*', '**', or leaving it empty will cause an updated branch HEAD to build properly.
          Mike Smith made changes -
          Description Original: I have a build parameter, branch, which is passed to the git "Branches to build" setting. When this parameter is set to '\*', '**', or is empty, the last built revision gets built again instead of an updated branch HEAD. Setting this parameter to a specific branch name, such as 'development' or 'master' will build the HEAD of the specified branch. Directly setting git "Branches to build" to '\*', '**', or leaving it empty will cause an updated branch HEAD to build properly. New: I have a build parameter, branch, which is passed to the git "Branches to build" setting. When this parameter is set to '\*', '\*\*', or is empty, the last built revision gets built again instead of an updated branch HEAD. Setting this parameter to a specific branch name, such as 'development' or 'master' will build the HEAD of the specified branch. Directly setting git "Branches to build" to '\*', '\*\*', or leaving it empty will cause an updated branch HEAD to build properly.
          Mark Waite made changes -
          Link New: This issue is duplicated by JENKINS-21719 [ JENKINS-21719 ]
          Lothar Schulz made changes -
          Link New: This issue is related to JENKINS-23714 [ JENKINS-23714 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 152810 ] New: JNJira + In-Review [ 178328 ]
          Nicolas De Loof made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ]

            Unassigned Unassigned
            rheostat Mike Smith
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: