[JIRA] (JENKINS-45489) checkout(scm) step can return wrong variables when used following another Git checkout

2019-04-02 Thread m...@kakapo.co.nz (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Wright commented on  JENKINS-45489  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: checkout(scm) step can return wrong variables when used following another Git checkout   
 

  
 
 
 
 

 
 Richard Bowater, on (Windows) build-server, we use the following in our scripts as Mark Waite suggests: 

 

def sha = bat(returnStdout: true, script: '@git rev-parse HEAD').trim()  

  
 

  
 
 
 
 

 
 
 

 
 
 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-44172) Better scan of multibranch pipelines

2018-08-26 Thread m...@kakapo.co.nz (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Wright commented on  JENKINS-44172  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Better scan of multibranch pipelines   
 

  
 
 
 
 

 
 Just to reiterate the comments of Edgars Batna and Tim Webster, we have a large number of jobs configured with the job DSL. Restarting Jenkins for any reason is a nightmare, as the branch scanning triggers a multitude of jobs. We generally have to spend some time killing the jobs in order to free resources for the builds we actually want. Like Tim, I'm under the impression that the only workaround is to disable the automatic SCM triggering which would also disable triggering from webhooks (which we don't want to do).  
 

  
 
 
 
 

 
 
 

 
 
 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-43749) Support multiple Jenkinsfiles from the same repository

2018-03-13 Thread m...@kakapo.co.nz (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Wright commented on  JENKINS-43749  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Support multiple Jenkinsfiles from the same repository   
 

  
 
 
 
 

 
 Jens Beyer in your example, do you use githooks to trigger builds? If so, how do you prevent changes from one of your sub-projects from triggering building of another? E.g how do you prevent a change under /project-app from building /project2-app? Or do you just build them all?  
 

  
 
 
 
 

 
 
 

 
 
 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.