jenkins-gitlab-merge-request-builder-plugin icon indicating copy to clipboard operation
jenkins-gitlab-merge-request-builder-plugin copied to clipboard

Jenkins Running on Windows Sever 2012 Issues

Open 06nenglish opened this issue 8 years ago • 0 comments

Hi there,

Does this plugin work with windows as I am facing issues with the ${gitlabSourceBranch%} and ${gitlabTargetBranch} variables in the project. I have also tried to use %gitlabSourceBranch% and %gitlabTargetBranch% to no avail.

Here are the console outputs for both: `Gitlab Merge Request #2 : polaris/polaris-ci-performance-board/develop => master Building in workspace C:\jenkins\workspace\CI Performance Merge Requests

C:\Program Files\Git\bin\git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository C:\Program Files\Git\bin\git.exe config remote.origin.url [email protected]:polaris/polaris-ci-performance-board.git # timeout=10 Fetching upstream changes from [email protected]:polaris/polaris-ci-performance-board.git C:\Program Files\Git\bin\git.exe --version # timeout=10 using GIT_SSH to set credentials Jenkins Private Key C:\Program Files\Git\bin\git.exe fetch --tags --progress [email protected]:polaris/polaris-ci-performance-board.git +refs/heads/:refs/remotes/origin/ C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/${gitlabSourceBranch}^{commit}" # timeout=10 C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/refs/remotes/origin/${gitlabSourceBranch}^{commit}" # timeout=10 C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/${gitlabSourceBranch}^{commit}" # timeout=10 ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. [CHECKSTYLE] Collecting checkstyle analysis files... [CHECKSTYLE] Finding all files that match the pattern **/checkstyle-result.xml [CHECKSTYLE] No files found in C:\jenkins\workspace\CI Performance Merge Requests for pattern: **/checkstyle-result.xml [FINDBUGS] Collecting findbugs analysis files... [FINDBUGS] Finding all files that match the pattern **/findbugsXml.xml [FINDBUGS] No files found in C:\jenkins\workspace\CI Performance Merge Requests for pattern: **/findbugsXml.xml Finished: FAILURE`

`Gitlab Merge Request #4 : polaris/polaris-ci-performance-board/develop => master Building in workspace C:\jenkins\workspace\CI Performance Merge Requests

C:\Program Files\Git\bin\git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository C:\Program Files\Git\bin\git.exe config remote.origin.url [email protected]:polaris/polaris-ci-performance-board.git # timeout=10 Fetching upstream changes from [email protected]:polaris/polaris-ci-performance-board.git C:\Program Files\Git\bin\git.exe --version # timeout=10 using GIT_SSH to set credentials Jenkins Private Key C:\Program Files\Git\bin\git.exe fetch --tags --progress [email protected]:polaris/polaris-ci-performance-board.git +refs/heads/:refs/remotes/origin/ C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/%gitlabSourceBranch%^{commit}" # timeout=10 C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/refs/remotes/origin/%gitlabSourceBranch%^{commit}" # timeout=10 C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/%gitlabSourceBranch%^{commit}" # timeout=10 ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. [CHECKSTYLE] Collecting checkstyle analysis files... [CHECKSTYLE] Finding all files that match the pattern **/checkstyle-result.xml [CHECKSTYLE] No files found in C:\jenkins\workspace\CI Performance Merge Requests for pattern: **/checkstyle-result.xml [FINDBUGS] Collecting findbugs analysis files... [FINDBUGS] Finding all files that match the pattern **/findbugsXml.xml [FINDBUGS] No files found in C:\jenkins\workspace\CI Performance Merge Requests for pattern: **/findbugsXml.xml Finished: FAILURE`

06nenglish avatar Nov 15 '16 14:11 06nenglish