Re: Checkout failure on Windows

2021-02-02 Thread Mark Waite
Thanks for sharing an issue with 32 bit Java on Windows. I hadn't considered even asking if you were running 32 bit Java. I'd not heard of that problem before. I'm glad you found the solution. On Tue, Feb 2, 2021 at 3:19 PM Patrick Moran wrote: > Mark, > > I tried using the git command and st

Re: Checkout failure on Windows

2021-02-02 Thread Patrick Moran
Mark, I tried using the git command and stopping my anti-virus as suggested but without success. I experimented some more and discovered an empty Jenkins workspace under the SysWOW64 directory. It looks like Jenkins was cloning the repo to the 64 bit directory but then calling the 'dir' command

Re: Checkout failure on Windows

2021-02-01 Thread Mark Waite
On Mon, Feb 1, 2021 at 7:38 PM Patrick Moran wrote: > I am using a declarative pipeline. It's not in a Jenkinsfile, however. > > Thanks, > Pat > > The last pipeline definition I used is below: > > pipeline { > agent any > > stages { > stage('Build') { > steps { > echo 'Build

Re: Checkout failure on Windows

2021-02-01 Thread Patrick Moran
I am using a declarative pipeline. It's not in a Jenkinsfile, however. Thanks, Pat The last pipeline definition I used is below: pipeline { agent any stages { stage('Build') { steps { echo 'Building' checkout([$class: 'GitSCM', branches: [[name:

Re: Checkout failure on Windows

2021-02-01 Thread Mark Waite
On Mon, Feb 1, 2021 at 1:54 PM Patrick Moran wrote: > Mark, > > I tried to reproduce your steps as best I could. > - I already have git, java and jenkins installed so I did not re-install > them. > - I added the git and java paths to the jenkins configuration. > - I replaced my repo with a public

Re: Checkout failure on Windows

2021-02-01 Thread Patrick Moran
Mark, I tried to reproduce your steps as best I could. - I already have git, java and jenkins installed so I did not re-install them. - I added the git and java paths to the jenkins configuration. - I replaced my repo with a public repo on GitHub since it looks like I would need credentials t

Re: Checkout failure on Windows

2021-01-29 Thread Patrick Moran
Thanks Mark! I am new to Jenkins so it may take me a while to go through everything you’ve done here. > On Jan 29, 2021, at 7:21 PM, Mark Waite wrote: > >  > I made my best guess at the steps you took and was unable to duplicate the > problem. You'll need to provide more details of the step

Re: Checkout failure on Windows

2021-01-29 Thread Mark Waite
I made my best guess at the steps you took and was unable to duplicate the problem. You'll need to provide more details of the steps you took and how your system is configured. Steps I took included (with no claim that any of these steps are especially crucial, they just happen to be the steps t

Re: Checkout failure on Windows

2021-01-29 Thread Patrick Moran
Thanks for the reply Mark. I updated my pipeline script branch setting in the checkout step to "origin/feature/test-PM" but the output was the same. ... stage('Checkout') { steps { checkout([ $class: 'GitSCM', branches: [[name: 'origin/

Re: Checkout failure on Windows

2021-01-29 Thread Mark Waite
May want to try "origin/feature/test-PM" instead On Fri, Jan 29, 2021 at 1:25 PM Patrick Moran wrote: > Hello, > > > > I have installed Jenkins on my Windows 10 machine, created a pipeline and > run it. When it runs I get a message "ERROR: Unable to retrieve commit > message" when I try to chec

Checkout failure on Windows

2021-01-29 Thread Patrick Moran
Hello, I have installed Jenkins on my Windows 10 machine, created a pipeline and run it. When it runs I get a message "ERROR: Unable to retrieve commit message" when I try to checkout the last commit. The commit number is correct and I can run the steps listed in the console output by hand with