[JIRA] [job-dsl-plugin] (JENKINS-27368) job-dsl folder should support using only a name argument

2015-04-04 Thread m...@daniel-spilker.com (JIRA)















































Daniel Spilker
 closed  JENKINS-27368 as Fixed


job-dsl folder should support using only a name argument
















Change By:


Daniel Spilker
(04/Apr/15 7:46 PM)




Status:


Resolved
Closed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-27368) job-dsl folder should support using only a name argument

2015-03-27 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-27368


job-dsl folder should support using only a name argument















Code changed in jenkins
User: Daniel Spilker
Path:
 docs/Job-DSL-Commands.md
 job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/DslFactory.groovy
 job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/JobParent.groovy
 job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/JobParentSpec.groovy
http://jenkins-ci.org/commit/job-dsl-plugin/d3e01323ae8bf0082e549a52853ed7ebb596416a
Log:
  Merge pull request #425 from CoreMedia/JENKINS-27368

JENKINS-27368 made closure parameter optional for factory methods


Compare: https://github.com/jenkinsci/job-dsl-plugin/compare/59e48dbc83df...d3e01323ae8b




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-27368) job-dsl folder should support using only a name argument

2015-03-27 Thread m...@daniel-spilker.com (JIRA)














































Daniel Spilker
 commented on  JENKINS-27368


job-dsl folder should support using only a name argument















Will be released in 1.31.

https://github.com/jenkinsci/job-dsl-plugin/pull/425



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-27368) job-dsl folder should support using only a name argument

2015-03-27 Thread m...@daniel-spilker.com (JIRA)














































Daniel Spilker
 started work on  JENKINS-27368


job-dsl folder should support using only a name argument
















Change By:


Daniel Spilker
(27/Mar/15 1:06 PM)




Status:


Open
InProgress



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-27368) job-dsl folder should support using only a name argument

2015-03-11 Thread kl...@schniedergers.com (JIRA)














































Klaus Schniedergers
 created  JENKINS-27368


job-dsl folder should support using only a name argument















Issue Type:


Bug



Assignee:


Daniel Spilker



Components:


job-dsl-plugin



Created:


11/Mar/15 6:41 PM



Description:


I converted my Job-DSL scripts to the 1.30 syntax changes, and tried:

...
folder("Sandbox")
...

"Process DSL" complained about:

FATAL: No signature of method: sandbox.folder() is applicable for argument types: (java.lang.String) values: [Sandbox]
Possible solutions: folder(groovy.lang.Closure), folder(java.lang.String, groovy.lang.Closure), find(), collect(), queue(java.lang.String), sleep(long)
groovy.lang.MissingMethodException: No signature of method: sandbox.folder() is applicable for argument types: (java.lang.String) values: [Sandbox]


The workaround is to add an empty closure like this:

folder("Sandbox) {}


but I would expect it to work without it.




Environment:


Job-DSL 1.30

Jenkins 1.596.1




Project:


Jenkins



Priority:


Minor



Reporter:


Klaus Schniedergers

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.