Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins Running on Windows Sever 2012 Issues #198

Open
06nenglish opened this issue Nov 15, 2016 · 0 comments
Open

Jenkins Running on Windows Sever 2012 Issues #198

06nenglish opened this issue Nov 15, 2016 · 0 comments

Comments

@06nenglish
Copy link

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`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant