[JIRA] (JENKINS-38895) Job DSL fails to add new job

2016-10-11 Thread and...@telesoftas.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrius Butkevicius updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38895  
 
 
  Job DSL fails to add new job   
 

  
 
 
 
 

 
Change By: 
 Andrius Butkevicius  
 

  
 
 
 
 

 
 I have DSL script that creates new job for every banch read from separate text file.Sometimes this job which processes DSL script fails to create new job defined in DSL.Job log indicates that new job creation succeeded:{code:java}Existing items:...GeneratedJob{name='GameON_feature-click_on_logo_opens_menu_android'}...{code}But it doesn't show in jenkins ui and job files are not created on disk.In jenkins log I found this error:{code:java}INFO: createOrUpdateConfig for GameON_feature-click_on_logo_opens_menu_androidOct 11, 2016 10:25:17 AM javaposse.jobdsl.plugin.JenkinsJobManagement createNewItemWARNING: Error writing config for new item GameON_feature-click_on_logo_opens_menu_android.java.io.IOException: Failed to persist config.xmlat hudson.model.ItemGroupMixIn.createProjectFromXML(ItemGroupMixIn.java:297)at jenkins.model.Jenkins.createProjectFromXML(Jenkins.java:3749)at javaposse.jobdsl.plugin.JenkinsJobManagement.createNewItem(JenkinsJobManagement.java:533)at javaposse.jobdsl.plugin.JenkinsJobManagement.createOrUpdateConfig(JenkinsJobManagement.java:148)at javaposse.jobdsl.dsl.JobManagement$createOrUpdateConfig$5.call(Unknown Source)at javaposse.jobdsl.plugin.InterruptibleJobManagement.createOrUpdateConfig(InterruptibleJobManagement.groovy:37)at javaposse.jobdsl.dsl.JobManagement$createOrUpdateConfig$5.call(Unknown Source)at javaposse.jobdsl.dsl.DslScriptLoader$_extractGeneratedJobs_closure4.doCall(DslScriptLoader.groovy:212)at sun.reflect.GeneratedMethodAccessor2351.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)at groovy.lang.Closure.call(Closure.java:414)at groovy.lang.Closure.call(Closure.java:430)at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2030)at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2015)at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2056)at org.codehaus.groovy.runtime.dgm$162.invoke(Unknown Source)at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)at 

[JIRA] (JENKINS-38895) Job DSL fails to add new job

2016-10-11 Thread and...@telesoftas.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrius Butkevicius created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38895  
 
 
  Job DSL fails to add new job   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Daniel Spilker  
 
 
Components: 
 job-dsl-plugin  
 
 
Created: 
 2016/Oct/11 12:25 PM  
 
 
Environment: 
 Jenkins 2.25, job-dsl-plugin 1.51  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Andrius Butkevicius  
 

  
 
 
 
 

 
 I have DSL script that creates new job for every banch read from separate text file. Sometimes this job which processes DSL script fails to create new job defined in DSL. Job log indicates that new job creation succeeded: 

 

Existing items:
...
GeneratedJob{name='GameON_feature-click_on_logo_opens_menu_android'}
...
 

 But it doesn't show in jenkins ui and job files are not created on disk. In jenkins log I found this error: 

 

INFO: createOrUpdateConfig for GameON_feature-click_on_logo_opens_menu_android
Oct 11, 2016 10:25:17 AM javaposse.jobdsl.plugin.JenkinsJobManagement createNewItem
WARNING: Error writing config for new item GameON_feature-click_on_logo_opens_menu_android.
java.io.IOException: Failed to persist config.xml
at hudson.model.ItemGroupMixIn.createProjectFromXML(ItemGroupMixIn.java:297)
at jenkins.model.Jenkins.createProjectFromXML(Jenkins.java:3749)
at javaposse.jobdsl.plugin.JenkinsJobManagement.createNewItem(JenkinsJobManagement.java:533)
  

[JIRA] (JENKINS-38895) Job DSL fails to add new job

2016-10-12 Thread and...@telesoftas.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrius Butkevicius commented on  JENKINS-38895  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Job DSL fails to add new job   
 

  
 
 
 
 

 
 How to solve this problem?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38895) Job DSL fails to add new job

2016-10-12 Thread and...@telesoftas.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrius Butkevicius commented on  JENKINS-38895  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Job DSL fails to add new job   
 

  
 
 
 
 

 
 Plugins: 

 

# grep -ir 'org.xml.sax.driver' *
Binary file analysis-core/WEB-INF/lib/xercesImpl-2.11.0.jar matches
Binary file findbugs/WEB-INF/lib/library-2.0.4.jar matches
Binary file jacoco/WEB-INF/lib/xercesImpl-2.9.1.jar matches
Binary file jdepend/WEB-INF/lib/xercesImpl-2.8.1.jar matches
Binary file jshint-checkstyle/WEB-INF/lib/xercesImpl-2.8.1.jar matches
Binary file jslint-checkstyle/WEB-INF/lib/xercesImpl-2.8.1.jar matches
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-38895) Job DSL fails to add new job

2016-10-12 Thread and...@telesoftas.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrius Butkevicius updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38895  
 
 
  Job DSL fails to add new job   
 

  
 
 
 
 

 
Change By: 
 Andrius Butkevicius  
 

  
 
 
 
 

 
 I have DSL script that creates new job for every banch read from separate text file.Sometimes this job which processes DSL script fails to create new job defined in DSL.Job log indicates that new job creation succeeded:{code:java}Existing items:...GeneratedJob{name='GameON_feature-click_on_logo_opens_menu_android'}...{code}But it doesn't show in jenkins ui and job files are not created on disk.In jenkins log I found this error:{code:java}INFO: createOrUpdateConfig for GameON_feature-click_on_logo_opens_menu_androidOct 11, 2016 10:25:17 AM javaposse.jobdsl.plugin.JenkinsJobManagement createNewItemWARNING: Error writing config for new item GameON_feature-click_on_logo_opens_menu_android.java.io.IOException: Failed to persist config.xmlat hudson.model.ItemGroupMixIn.createProjectFromXML(ItemGroupMixIn.java:297)at jenkins.model.Jenkins.createProjectFromXML(Jenkins.java:3749)at javaposse.jobdsl.plugin.JenkinsJobManagement.createNewItem(JenkinsJobManagement.java:533)at javaposse.jobdsl.plugin.JenkinsJobManagement.createOrUpdateConfig(JenkinsJobManagement.java:148)at javaposse.jobdsl.dsl.JobManagement$createOrUpdateConfig$5.call(Unknown Source)at javaposse.jobdsl.plugin.InterruptibleJobManagement.createOrUpdateConfig(InterruptibleJobManagement.groovy:37)at javaposse.jobdsl.dsl.JobManagement$createOrUpdateConfig$5.call(Unknown Source)at javaposse.jobdsl.dsl.DslScriptLoader$_extractGeneratedJobs_closure4.doCall(DslScriptLoader.groovy:212)at sun.reflect.GeneratedMethodAccessor2351.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)at groovy.lang.Closure.call(Closure.java:414)at groovy.lang.Closure.call(Closure.java:430)at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2030)at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2015)at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2056)at org.codehaus.groovy.runtime.dgm$162.invoke(Unknown Source)at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)at 

[JIRA] (JENKINS-38895) Job DSL fails to add new job

2016-10-12 Thread and...@telesoftas.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrius Butkevicius commented on  JENKINS-38895  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Job DSL fails to add new job   
 

  
 
 
 
 

 
 

 

INFO: createOrUpdateConfig for GameON_feature-click_on_logo_opens_menu_android
Oct 11, 2016 10:25:17 AM javaposse.jobdsl.plugin.JenkinsJobManagement createNewItem
WARNING: Error writing config for new item GameON_feature-click_on_logo_opens_menu_android.
java.io.IOException: Failed to persist config.xml
	at hudson.model.ItemGroupMixIn.createProjectFromXML(ItemGroupMixIn.java:297)
	at jenkins.model.Jenkins.createProjectFromXML(Jenkins.java:3749)
	at javaposse.jobdsl.plugin.JenkinsJobManagement.createNewItem(JenkinsJobManagement.java:533)
	at javaposse.jobdsl.plugin.JenkinsJobManagement.createOrUpdateConfig(JenkinsJobManagement.java:148)
	at javaposse.jobdsl.dsl.JobManagement$createOrUpdateConfig$5.call(Unknown Source)
	at javaposse.jobdsl.plugin.InterruptibleJobManagement.createOrUpdateConfig(InterruptibleJobManagement.groovy:37)
	at javaposse.jobdsl.dsl.JobManagement$createOrUpdateConfig$5.call(Unknown Source)
	at javaposse.jobdsl.dsl.DslScriptLoader$_extractGeneratedJobs_closure4.doCall(DslScriptLoader.groovy:212)
	at sun.reflect.GeneratedMethodAccessor2351.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
	at groovy.lang.Closure.call(Closure.java:414)
	at groovy.lang.Closure.call(Closure.java:430)
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2030)
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2015)
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2056)
	at org.codehaus.groovy.runtime.dgm$162.invoke(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
	at javaposse.jobdsl.dsl.DslScriptLoader.extractGeneratedJobs(DslScriptLoader.groovy:203)
	at javaposse.jobdsl.dsl.DslScriptLoader.this$2$extractGeneratedJobs(DslScriptLoader.groovy)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:384)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:69)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:174)
	at javaposse.jobdsl.dsl.DslScriptLoader$_runScriptsWithClassLoader_closure1.doCall(DslScriptLoader.groovy:84)
	at 

[JIRA] (JENKINS-27548) Sporadic IOException: Failed to persist config

2016-10-12 Thread and...@telesoftas.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrius Butkevicius commented on  JENKINS-27548  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Sporadic IOException: Failed to persist config   
 

  
 
 
 
 

 
 I am still having this problem. Using jenkins version 2.25 with all plugins updated. 

 

# grep -ir 'org.xml.sax.driver' *
Binary file analysis-core/WEB-INF/lib/xercesImpl-2.11.0.jar matches
Binary file findbugs/WEB-INF/lib/library-2.0.4.jar matches
Binary file jacoco/WEB-INF/lib/xercesImpl-2.9.1.jar matches
Binary file jdepend/WEB-INF/lib/xercesImpl-2.8.1.jar matches
Binary file jshint-checkstyle/WEB-INF/lib/xercesImpl-2.8.1.jar matches
Binary file jslint-checkstyle/WEB-INF/lib/xercesImpl-2.8.1.jar matches
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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