[JIRA] (JENKINS-58637) .jenkinsignore

2020-01-08 Thread klei...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kyle Leinen commented on  JENKINS-58637  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: .jenkinsignore   
 

  
 
 
 
 

 
 Igal Gluh this feature got be really excited as it would solve the same problem for my team that Jesse Glick has. I've found that while the "Cancel build excluded regions strategy" works without issue, I am unable to get the new "Cancel ci by ignore file strategy" working using a .jenkinsignore file that has the same contents. I think these are valid ANT pattern files, so I'm not sure what I am doing wrong. Here is the contents if my .jenkinsignore: 

 

*.md
LICENSE
.gitignore
.jenkinsignore
review.conf
 

 I have also tried the following with no success: 

 

*.md
/LICENSE
/.gitignore
/.jenkinsignore
/review.conf
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit 

[JIRA] (JENKINS-58637) .jenkinsignore

2019-07-25 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick commented on  JENKINS-58637  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: .jenkinsignore   
 

  
 
 
 
 

 
 That was fast! https://github.com/jenkinsci/multibranch-build-strategy-extension-plugin/commit/df5033974de58e4f21798621da3e0e136b2bf15c I will try it out and see if we can get it running on ci.jenkins.io.  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200805.1563962839000.1201.1564084140212%40Atlassian.JIRA.


[JIRA] (JENKINS-58637) .jenkinsignore

2019-07-25 Thread igal.g...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Igal Gluh commented on  JENKINS-58637  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: .jenkinsignore   
 

  
 
 
 
 

 
 Jesse Hi, Is it solved your problem?    
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200805.1563962839000.1169.1564077300238%40Atlassian.JIRA.


[JIRA] (JENKINS-58637) .jenkinsignore

2019-07-24 Thread igal.g...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Igal Gluh commented on  JENKINS-58637  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: .jenkinsignore   
 

  
 
 
 
 

 
 Released ver 1.0.9  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200805.1563962839000.272.1564005300127%40Atlassian.JIRA.


[JIRA] (JENKINS-58637) .jenkinsignore

2019-07-24 Thread igal.g...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Igal Gluh commented on  JENKINS-58637  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: .jenkinsignore   
 

  
 
 
 
 

 
 Jesse Hi, It's realy good idea.    
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200805.1563962839000.189.1563993000147%40Atlassian.JIRA.


[JIRA] (JENKINS-58637) .jenkinsignore

2019-07-24 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58637  
 
 
  .jenkinsignore   
 

  
 
 
 
 

 
Issue Type: 
  New Feature  
 
 
Assignee: 
 Igal Gluh  
 
 
Components: 
 multibranch-build-strategy-extension-plugin  
 
 
Created: 
 2019-07-24 10:07  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Jesse Glick  
 

  
 
 
 
 

 
 Currently this plugin lets you skip CI builds based on some ignore list kept in Jenkins configuration (BranchBuildStrategy). This has some serious limitations: 
 
It is hard to keep an audit trail of changes, unless you also use jobConfigHistory or job-dsl. 
You need Item.CONFIGURE permission to make changes. For example, on ci.jenkins.io this would mean filing an INFRA ticket and waiting for an overworked administrator to pay attention. 
In the case of an OrganizationFolder, you can only set safe generic patterns like README.md—there is no way to define per-repository patterns. 
 The recommended usage mode should instead be to create a file in the repository itself listing patterns to exclude (or perhaps include). The contents of this file should be read (using SCMFileSystem, a.k.a. "lightweight checkout") in the currRevision, so that you can create an atomic commit which both adds some new file irrelevant to CI and marks it in the ignore list, without triggering a build. I would suggest the file name .jenkinsignore by analogy with .gitignore, .dockerignore, etc. For consistency with other Ant PatternSet usages in Jenkins, it can use the same syntax as the current configuration: 

 

.*
*.md
docs/
images/