When jobs are run on a slave not the ParametersAction parameter is null and thereby the plugin will not check if the build matches the branch requested.

      To fix this use the git plugin data to test which branch this build covers.

      A suggestion on how to fix it https://github.com/DABSquared/gitlab-plugin/pull/32

          [JENKINS-25844] Can't fetch branch from remote builds

          Kasper Fock created issue -
          Kasper Fock made changes -
          Description Original: When jobs are run on a slave not the ParametersAction parameter is null and thereby the plugin will not check if the build matches the branch requested.

          To fix this use the git plugin data to test which branch this build covers
          New: When jobs are run on a slave not the ParametersAction parameter is null and thereby the plugin will not check if the build matches the branch requested.

          To fix this use the git plugin data to test which branch this build covers.

          A suggestion on how to fix it https://github.com/DABSquared/gitlab-plugin/pull/32
          Owen Mehegan made changes -
          Assignee New: Owen Mehegan [ owenmehegan ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 159825 ] New: JNJira + In-Review [ 208263 ]

            owenmehegan Owen Mehegan
            kasperf Kasper Fock
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: