|
||||||||
|
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Here is the now working script:
def unittestNamesList = ["test1", "test2", "test3"]
def versions = ["v1", "v2", "v3", "v4"]
for (int versionsIt = 0; versionsIt < versions.size(); versionsIt++) {
for (int i = 0; i < unittestNamesList.size(); i++) {
def jobName = versions[versionsIt] + '_' + unittestNamesList[i]
job {
name jobName
scm {
svn('svn://svn-server/dev/trunk/checkTools', 'checkTools') { svnNode -> svnNode / excludedRegions('regionToExclude') svnNode / excludedUsers('userToExclude') def toChange = svnNode / workspaceUpdater toChange.attributes().put('class', 'hudson.scm.subversion.UpdateWithRevertUpdater') }
}
}
}
}
_____________________________________
Before your hint I tried following line instead of your suggestion:
svnNode / workspaceUpdater(class:'hudson.scm.subversion.UpdateWithRevertUpdater')
The above line did not work, but did also not result in any errormessage ... but it prevented every new/changed config.xml from saving.