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

Entering recommended refspec value for Gitlab job triggers an error

      In the Jenkin's documentation for setting up a Freestyle job there is a recommendation:

      1. In the Advanced settings, set Name to origin and Refspec to +refs/heads/:refs/remotes/origin/ +refs/merge-requests//head:refs/remotes/origin/merge-requests/

      https://plugins.jenkins.io/gitlab-plugin/#plugin-content-git-configuration

      However setting up

      +refs/heads/:refs/remotes/origin/ +refs/merge-requests//head:refs/remotes/origin/merge-requests/

      into the dedicated field triggers the error (see the screen-shot attached).
      The format seem to respect the documentation.

          [JENKINS-73527] Entering recommended refspec value for Gitlab job triggers an error

          Christian created issue -
          Mark Waite made changes -
          Component/s Original: gitlab-api-plugin [ 25128 ]
          Mark Waite made changes -
          Comment [ I faced similar kind of issue last time, I am still searching for some proper solution.
          https://www.securespend.com.co ]
          Mark Waite made changes -
          Comment [ Spam comment ]
          Mark Waite made changes -
          Comment [ Spam comment ]

            markewaite Mark Waite
            christian_rusin Christian
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: