[JIRA] (JENKINS-44598) git workspace should be reset before build PR merged with base branch

2019-02-14 Thread brian.murr...@intel.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Brian J Murrell edited a comment on  JENKINS-44598  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git workspace should be reset before build PR merged with base branch   
 

  
 
 
 
 

 
 I too am hitting this and would appreciate a status update on whether anything is being done to resolve it.Adding the *Clean before checkout* (from Jenkins Git plugin) isn't really an acceptable solution because I really only want the cleaning before the initial checkout on the master (just to resolve the initial checkout merge failure before the Pipeline is even run) and not before every checkout for every Pipeline build step.  This is because cleaning in some of the subsequent Pipeline steps leads to other errors such as:{noformat}10:21:35  Fetching changes from the remote Git repository10:21:35  Cleaning workspace10:21:35  ERROR: Error fetching remote repo 'origin'10:21:35  hudson.plugins.git.GitException: Failed to fetch from https://github.com/daos-stack/daos.git10:21:35   at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:904)10:21:35   at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1144)10:21:35   at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1175)10:21:35   at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:120)10:21:35   at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:90)10:21:35   at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:77)10:21:35   at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)10:21:35   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)10:21:35   at java.util.concurrent.FutureTask.run(FutureTask.java:266)10:21:35   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)10:21:35   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)10:21:35   at java.lang.Thread.run(Thread.java:748)10:21:35  Caused by: hudson.plugins.git.GitException: Command "git clean -fdx" returned status code 128:10:21:35  stdout: 10:21:35  stderr: fatal: Not a git repository: install/include/boost/../../.git/modules/src/boost10:21:35  10:21:35   at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2318)10:21:35   at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2248)10:21:35   at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2244)10:21:35   at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1777)10:21:35   at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1789)10:21:35   at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.clean(CliGitAPIImpl.java:901)10:21:35   at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.clean(CliGitAPIImpl.java:912)10:21:35   at hudson.plugins.git.GitAPI.clean(GitAPI.java:311)10:21:35   at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)10:21:35   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)10:21:35   at java.lang.reflect.Method.invoke(Method.java:498)10:21:35   at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:929)10:21:35   at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:903)10:21:35   at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:855)10:21:35   at hudson.remoting.UserRequest.perform(UserRequest.java:212)10:21:35   at hudson.remoting.UserRequest.perform(UserRequest.java:54)10:21:35   at hudson.remoting.Request$2.run(Request.java:369)10:21:35   at 

[JIRA] (JENKINS-44598) git workspace should be reset before build PR merged with base branch

2019-02-14 Thread brian.murr...@intel.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Brian J Murrell commented on  JENKINS-44598  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git workspace should be reset before build PR merged with base branch   
 

  
 
 
 
 

 
 I too am hitting this and would appreciate a status update on whether anything is being done to resolve it. Adding the Clean before checkout (from Jenkins Git plugin) isn't really an acceptable solution because I really only want the cleaning before the initial checkout on the master (just to resolve the initial checkout merge failure before the Pipeline is even run) and not before every checkout for every Pipeline build step.  This is because cleaning in some of the subsequent Pipeline steps leads to other errors such as: 

 
10:21:35  Fetching changes from the remote Git repository
10:21:35  Cleaning workspace
10:21:35  ERROR: Error fetching remote repo 'origin'
10:21:35  hudson.plugins.git.GitException: Failed to fetch from https://github.com/daos-stack/daos.git
10:21:35  	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:904)
10:21:35  	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1144)
10:21:35  	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1175)
10:21:35  	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:120)
10:21:35  	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:90)
10:21:35  	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:77)
10:21:35  	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
10:21:35  	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
10:21:35  	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
10:21:35  	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
10:21:35  	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
10:21:35  	at java.lang.Thread.run(Thread.java:748)
10:21:35  Caused by: hudson.plugins.git.GitException: Command "git clean -fdx" returned status code 128:
10:21:35  stdout: 
10:21:35  stderr: fatal: Not a git repository: install/include/boost/../../.git/modules/src/boost
10:21:35  
10:21:35  	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2318)
10:21:35  	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2248)
10:21:35  	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2244)
10:21:35  	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1777)
10:21:35  	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1789)
10:21:35  	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.clean(CliGitAPIImpl.java:901)
10:21:35  	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.clean(CliGitAPIImpl.java:912)
10:21:35  	at hudson.plugins.git.GitAPI.clean(GitAPI.java:311)
10:21:35  	at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
10:21:35  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10:21:35  	at java.lang.reflect.Method.invoke(Method.java:498)
10:21:35  	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:929)
10:21:35  	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:903)
10:21:35  	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:855)
10:21:35  	at 

[JIRA] (JENKINS-44598) git workspace should be reset before build PR merged with base branch

2019-01-04 Thread rthir...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thirunavukkarasu Ravichandran commented on  JENKINS-44598  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git workspace should be reset before build PR merged with base branch   
 

  
 
 
 
 

 
 I'm still facing the problem. The Jira issue is in OPEN state. Can this be resolved somehow?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-44598) git workspace should be reset before build PR merged with base branch

2018-02-13 Thread gravelt...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 andrew morton commented on  JENKINS-44598  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git workspace should be reset before build PR merged with base branch   
 

  
 
 
 
 

 
 The clean before build worked for me. The sparse checkout option didn't seem to have any effect on this issue.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.