[JIRA] [job-dsl-plugin] (JENKINS-34060) Unstable a build when DSL scripts pattern doesn't list any files

2016-06-13 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon resolved as Fixed 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-34060 
 
 
 
  Unstable a build when DSL scripts pattern doesn't list any files  
 
 
 
 
 
 
 
 
 

Change By:
 
 SCM/JIRA link daemon 
 
 
 

Status:
 
 Open Resolved 
 
 
 

Resolution:
 
 Fixed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [job-dsl-plugin] (JENKINS-34060) Unstable a build when DSL scripts pattern doesn't list any files

2016-06-13 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-34060 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unstable a build when DSL scripts pattern doesn't list any files  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Daniel Spilker Path: docs/Home.md docs/User-Power-Moves.md job-dsl-plugin/src/main/groovy/javaposse/jobdsl/plugin/ExecuteDslScripts.java job-dsl-plugin/src/main/groovy/javaposse/jobdsl/plugin/ScriptRequestGenerator.groovy job-dsl-plugin/src/main/resources/javaposse/jobdsl/plugin/ExecuteDslScripts/config.jelly job-dsl-plugin/src/main/resources/javaposse/jobdsl/plugin/ExecuteDslScripts/help-ignoreMissingFiles.html job-dsl-plugin/src/test/groovy/javaposse/jobdsl/plugin/ExecuteDslScriptsSpec.groovy job-dsl-plugin/src/test/groovy/javaposse/jobdsl/plugin/ScriptRequestGeneratorSpec.groovy http://jenkins-ci.org/commit/job-dsl-plugin/9c85e7f87c5379bedb53e72f7edd038bb8f0fb16 Log: added option to ignore missing files (#866) 
[FIXES JENKINS-34060] 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [job-dsl-plugin] (JENKINS-34060) Unstable a build when DSL scripts pattern doesn't list any files

2016-06-12 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Daniel Spilker commented on  JENKINS-34060 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unstable a build when DSL scripts pattern doesn't list any files  
 
 
 
 
 
 
 
 
 
 
PR: https://github.com/jenkinsci/job-dsl-plugin/pull/866 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [job-dsl-plugin] (JENKINS-34060) Unstable a build when DSL scripts pattern doesn't list any files

2016-05-17 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Daniel Spilker commented on  JENKINS-34060 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unstable a build when DSL scripts pattern doesn't list any files  
 
 
 
 
 
 
 
 
 
 
Victor Martinez are you still working on a fix? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [job-dsl-plugin] (JENKINS-34060) Unstable a build when DSL scripts pattern doesn't list any files

2016-05-17 Thread chris_hubb...@sil.org (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Chris Hubbard commented on  JENKINS-34060 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unstable a build when DSL scripts pattern doesn't list any files  
 
 
 
 
 
 
 
 
 
 
We have a web application that generates DSL files from a database. When there are no entries in the database, then there won't be any groovy files. When a database entry is deleted (and the count goes to zero), the job should be deleted. With 

JENKINS-30541
, now the Job DSL job fails and the generated job doesn't get deleted. 
I would be fine with a checkbox to enable/disable this. I don't want a switch between "validate that at least one DSL was found" and "validate that all globs resulted in a DSL being found" since we can have cases where it is fine that there are no DSL files generated. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [job-dsl-plugin] (JENKINS-34060) Unstable a build when DSL scripts pattern doesn't list any files

2016-04-06 Thread mi...@zoltu.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Micah Zoltu commented on  JENKINS-34060 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unstable a build when DSL scripts pattern doesn't list any files  
 
 
 
 
 
 
 
 
 
 
This solution (marking builds as unstable) won't resolve my issue with 

JENKINS-30541
 because it will result in every build being marked as unstable. I need a way to switch the validation to only require that DSL files were found it at least one folder. 
It is unclear to me why there is a desire to validate that every folder has a DSL file in it, I can't think of a situation where you have multiple glob patterns and every one must have a file in it. It seems to me that if you are using multiple globs the most likely scenario is that you are searching for a DSL rather than specifically loading each DSL. 
That being said, I would be fine with a checkbox to enable/disable this, or switch between "validate that at least one DSL was found" and "validate that all globs resulted in a DSL being found". 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [job-dsl-plugin] (JENKINS-34060) Unstable a build when DSL scripts pattern doesn't list any files

2016-04-06 Thread victormartinezru...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Victor Martinez commented on  JENKINS-34060 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Unstable a build when DSL scripts pattern doesn't list any files  
 
 
 
 
 
 
 
 
 
 
Initial approach: 
 

https://github.com/v1v/job-dsl-plugin/commit/82ef6729855eff4c28c0f8e747193e74f8bb03ff
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [job-dsl-plugin] (JENKINS-34060) Unstable a build when DSL scripts pattern doesn't list any files

2016-04-06 Thread victormartinezru...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Victor Martinez created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-34060 
 
 
 
  Unstable a build when DSL scripts pattern doesn't list any files  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Victor Martinez 
 
 
 

Components:
 

 job-dsl-plugin 
 
 
 

Created:
 

 2016/Apr/06 3:16 PM 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Victor Martinez 
 
 
 
 
 
 
 
 
 
 
Let's control the jobdsl status when a script doesn't exist in a particular folder, as it has been intentionally coded in the ticke 

JENKINS-30541
, rather than failing let's keep generating jobs and make the build unstable instead failing the build. 
Further details:  https://groups.google.com/forum/#!topic/job-dsl-plugin/JkhN523-u4o 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment