[JIRA] [job-dsl-plugin] (JENKINS-21750) Promoted Builds Plugin

2014-02-11 Thread jus...@halfempty.org (JIRA)















































Justin Ryan
 assigned  JENKINS-21750 to Thomas Bosch



Promoted Builds Plugin
















Change By:


Justin Ryan
(11/Feb/14 5:13 PM)




Assignee:


JustinRyan
ThomasBosch



























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/groups/opt_out.


[JIRA] [job-dsl-plugin] (JENKINS-21750) Promoted Builds Plugin

2014-02-11 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 commented on  JENKINS-21750


Promoted Builds Plugin















This'll definitely need some special support for something like this. Since this is a common problem, saving files alongside the config.xml, please take a little extra time to make it a re-usable feature.



























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/groups/opt_out.


[JIRA] [job-dsl-plugin] (JENKINS-18492) Inception: Create DSL build step to add DSL Job execution as step

2013-07-11 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 commented on  JENKINS-18492


Inception: Create DSL build step to add DSL Job execution as step















The queue() method can execute any jobs, including those created by the DSL. You should be able to do this:


def seedJobs = []
def branches = ...
for(branch in branches) {
  seedJobs   job {
name 'My Seed'
scm { github(...) }
steps {
  dsl('job.dsl.groovy')
}
  }
}
queue(seedJobs)


That looks a lot like the wording of the issue, e.g. I created branch jobs that in turn execute. Given your last message, I might be missing something here.



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18491) Add support for advanced project configuration and timeouts to DSL

2013-07-05 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 started work on  JENKINS-18491


Add support for advanced project configuration and timeouts to DSL
















Change By:


Justin Ryan
(05/Jul/13 6:50 AM)




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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18492) Inception: Create DSL build step to add DSL Job execution as step

2013-07-05 Thread jus...@halfempty.org (JIRA)















































Justin Ryan
 resolved  JENKINS-18492 as Fixed


Inception: Create DSL build step to add DSL Job execution as step
















The new queue() method in 1.16 should take care of this.





Change By:


Justin Ryan
(05/Jul/13 6:52 AM)




Status:


Open
Resolved





Resolution:


Fixed



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18251) Add support for Do not fail build if archiving returns nothing option of archiveArtifacts publisher

2013-06-20 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 commented on  JENKINS-18251


Add support for Do not fail build if archiving returns nothing option of archiveArtifacts publisher















Ah, because ArtifactArchiver is in core. That's generally bad, but I think we can expose the jenkins version too.



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18340) Add support for passing Jenkins configuration information to the DSL

2013-06-19 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 commented on  JENKINS-18340


Add support for passing Jenkins configuration information to the DSL















I wouldn't necessarily implement it by changing getParameters, it serves its purpose already. But another entry point in JobManagement would be reasonable. Ideally we'd tie each DSL method to a plugin, which would have to exist in the running Jenkins, something like an Annotation that would just skip over methods not supported (and report it). There's problems with that too, since methods couldn't degrade nicely. I guess the best thing is to make an accessor in JobManagement and let each dsl method do its thing.

I'm going to wait on doing this until we come up with more of a strategy on how we're going to integrate more tightly with Jenkins. E.g. I could return the actual PluginWrapper instance to the dsl method for very tight coupling. That would be useful for things where we need a list of installations at a global level. But it's harder to mock out and our dependencies could get out of control. The alternative is to return a version number for a given name, which would suffice for this issue.



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18396) Add ability to inject imports for helper classes used in job dsl.

2013-06-18 Thread jus...@halfempty.org (JIRA)















































Justin Ryan
 assigned  JENKINS-18396 to Chris Dore



Add ability to inject imports for helper classes used in job dsl.
















Change By:


Justin Ryan
(19/Jun/13 5:06 AM)




Assignee:


JustinRyan
ChrisDore



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18075) Add method to schedule a job after it has been created/modified

2013-06-09 Thread jus...@halfempty.org (JIRA)















































Justin Ryan
 resolved  JENKINS-18075 as Fixed


Add method to schedule a job after it has been created/modified
















I added a queue(String jobName) and queue(Job job) method. You can now do the following to queue up JobA and JobB:


def jobA = job {
name 'JobA'
}
queue jobA
queue 'JobB'






Change By:


Justin Ryan
(09/Jun/13 7:29 AM)




Status:


InProgress
Resolved





Resolution:


Fixed



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18075) Add method to schedule a job after it has been created/modified

2013-06-09 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 commented on  JENKINS-18075


Add method to schedule a job after it has been created/modified















It'll be in 1.16.



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18076) Methods to import and read files from the workspace (even if remote).

2013-06-09 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 started work on  JENKINS-18076


Methods to import and read files from the workspace (even if remote).
















Change By:


Justin Ryan
(09/Jun/13 7:44 AM)




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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18251) Add support for Do not fail build if archiving returns nothing option of archiveArtifacts publisher

2013-06-09 Thread jus...@halfempty.org (JIRA)















































Justin Ryan
 assigned  JENKINS-18251 to Chris Dore



Add support for Do not fail build if archiving returns nothing option of archiveArtifacts publisher
















Chris, this all looks fine. The method signature looks good, the 18251 branch looks good. I'm not sure why it's complaining. It's specifically mentioning a null value. You might have to set some debug point and see exactly what the XML looks like when running in Jenkins (vs a unit test).

For reference, this is the branch: 
https://github.com/oesolutions/job-dsl-plugin/commit/18251





Change By:


Justin Ryan
(09/Jun/13 7:43 AM)




Assignee:


JustinRyan
ChrisDore



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18076) Methods to import and read files from the workspace (even if remote).

2013-06-09 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 commented on  JENKINS-18076


Methods to import and read files from the workspace (even if remote).















Keeping in mind the goal of being to run the DSL scripts outside of Jenkins, I probably won't inject a workspace variable. But instead create a method like readFile. That should be able to work remotely, locally and in Jenkins.



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18076) Methods to import and read files from the workspace (even if remote).

2013-06-09 Thread jus...@halfempty.org (JIRA)















































Justin Ryan
 resolved  JENKINS-18076 as Fixed


Methods to import and read files from the workspace (even if remote).
















This is merged on now, just not documented yet. This si the method signature:


InputStream streamFileInWorkspace(String filePath) throws IOException;
String readFileInWorkspace(String filePath) throws IOException;






Change By:


Justin Ryan
(09/Jun/13 7:14 PM)




Status:


InProgress
Resolved





Resolution:


Fixed



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18089) block() generates invalid config, documentation is ambiguous

2013-06-09 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 commented on  JENKINS-18089


block() generates invalid config, documentation is ambiguous















You're right that the docs are incorrect, even though you were looking at a fork of the project under andrewharmellaw. Please refer to the official docs in the future: https://github.com/jenkinsci/job-dsl-plugin/wiki/Job-reference and https://github.com/jenkinsci/job-dsl-plugin/wiki/Job-DSL-Commands. I've fix the docs, simply enough.

The code is wrong too. I'm working on a fix.



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18089) block() generates invalid config, documentation is ambiguous

2013-06-09 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 started work on  JENKINS-18089


block() generates invalid config, documentation is ambiguous
















Change By:


Justin Ryan
(09/Jun/13 7:29 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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18089) block() generates invalid config, documentation is ambiguous

2013-06-09 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 commented on  JENKINS-18089


block() generates invalid config, documentation is ambiguous















Fixed in https://github.com/jenkinsci/job-dsl-plugin/pull/57. It should be in the next release, 1.16, of the plugin.



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18089) block() generates invalid config, documentation is ambiguous

2013-06-09 Thread jus...@halfempty.org (JIRA)















































Justin Ryan
 resolved  JENKINS-18089 as Fixed


block() generates invalid config, documentation is ambiguous
















Change By:


Justin Ryan
(09/Jun/13 7:36 PM)




Status:


InProgress
Resolved





Resolution:


Fixed



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18075) Add method to schedule a job after it has been created/modified

2013-06-08 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 started work on  JENKINS-18075


Add method to schedule a job after it has been created/modified
















Change By:


Justin Ryan
(09/Jun/13 1:14 AM)




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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-16363) Allow selection of job type

2013-06-08 Thread jus...@halfempty.org (JIRA)















































Justin Ryan
 resolved  JENKINS-16363 as Fixed


Allow selection of job type
















It was added as part of maven support. Multi-module support further supported it.





Change By:


Justin Ryan
(09/Jun/13 1:44 AM)




Status:


Open
Resolved





Resolution:


Fixed



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-18141) BuildParameters: Support for Password

2013-05-31 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 commented on  JENKINS-18141


BuildParameters: Support for Password















For a basis for the method: https://github.com/andrewharmellaw/job-dsl-plugin/commit/37a818537991e801b39c6f40daee751c79764a93



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-16361) @Grab Grape support

2013-05-10 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 commented on  JENKINS-16361


@Grab Grape support















Let's leave this open until after it's documented. I just started using this feature today, so give me a few days to clean it up to be used as an example. Thanks for adding the page.



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-16361) @Grab Grape support

2013-05-10 Thread jus...@halfempty.org (JIRA)















































Justin Ryan
 resolved  JENKINS-16361 as Fixed


@Grab Grape support
















Change By:


Justin Ryan
(10/May/13 9:52 PM)




Status:


InProgress
Resolved





Resolution:


Fixed



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-16361) @Grab Grape support

2013-05-09 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 commented on  JENKINS-16361


@Grab Grape support















I think I got this figured out. Daniel, your research was spot on. There is no all-groovy or no-groovy solution, but there is a compromise. The trick is to just get Grape into the plugin classloader, so it can see the plugin's Ivy. I'll send you the code review.



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-16358) In configuration, control if generated jobs should be deleted or disabled

2013-05-08 Thread jus...@halfempty.org (JIRA)















































Justin Ryan
 resolved  JENKINS-16358 as Fixed


In configuration, control if generated jobs should be deleted or disabled
















Change By:


Justin Ryan
(09/May/13 1:00 AM)




Status:


Open
Resolved





Resolution:


Fixed



























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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-16361) @Grab Grape support

2013-05-08 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 started work on  JENKINS-16361


@Grab Grape support
















Change By:


Justin Ryan
(09/May/13 4:00 AM)




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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-17513) For SVN only one workspaceupdater is supported

2013-04-08 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 started work on  JENKINS-17513


For SVN only one workspaceupdater is supported
















Change By:


Justin Ryan
(08/Apr/13 3:49 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/groups/opt_out.




[JIRA] [job-dsl-plugin] (JENKINS-17513) For SVN only one workspaceupdater is supported

2013-04-08 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 commented on  JENKINS-17513


For SVN only one workspaceupdater is supported















Please provide a full example of DSL code, and possibly the XML of what you're trying to accomplish in the future.

NodeEnhancement, in the context of a div ("/") will try to match an element by name and attributes. In your case, you'll have to leave off the class attribute and then override it. E.g.


def updaterNode = scmNode / workpaceUpdater
updateNode.attributes().put('class','hudson.scm.subversion.UpdateWithRevertUpdater')


It's definitely not ideal, but that should work for you.



























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/groups/opt_out.




[JIRA] (JENKINS-17222) Add ability to specify more than one location when using the svn method

2013-03-14 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 commented on  JENKINS-17222


Add ability to specify more than one location when using the svn method















Copying from email:


Ideally we'd create a inner context to define concepts like this, like we do for the ant dsl method. The problem is that svn was written before we knew how to do that, so we just took a "configure" object. It's not really possible to make a change to the signature to take a context instead of a configure closure, without making it a breaking change. What do people feel about this? Should we "fix" the p4, svn and git commands?

In some respects, the resulting XML is pretty straightforward, though not completely obvious to someone new. E.g. from the ticket:


svn('https://some.repo.com/proj1/trunk', 'project1') \{
it / locations / 'hudson.scm.SubversionSCM_-ModuleLocation' \{
remote 'https://some.repo.com/proj2/branches/qwe'
local 'project2_qwe'
  }
}


Maybe we can just document this (and pretend that the scm commands aren't as ugly as they are)?



























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/groups/opt_out.




[JIRA] (JENKINS-16361) @Grab Grape support

2013-03-02 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 commented on  JENKINS-16361


@Grab Grape support















Excellent research so far. I really need to get this working, so I'll try to find some time this week to review what you've found so far. Though I'm curious what problem you found by default, it sounded like an Ivy problem. And what problem did you see when you added Ivy to the plugin?



























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/groups/opt_out.




[JIRA] (JENKINS-16931) It is not possible to define roaming jobs

2013-03-01 Thread jus...@halfempty.org (JIRA)















































Justin Ryan
 resolved  JENKINS-16931 as Fixed


It is not possible to define roaming jobs
















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





Change By:


Justin Ryan
(01/Mar/13 11:12 PM)




Status:


InProgress
Resolved





Resolution:


Fixed



























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/groups/opt_out.




[JIRA] (JENKINS-16931) It is not possible to define roaming jobs

2013-02-22 Thread jus...@halfempty.org (JIRA)














































Justin Ryan
 started work on  JENKINS-16931


It is not possible to define roaming jobs
















Change By:


Justin Ryan
(22/Feb/13 6:57 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/groups/opt_out.