Has anyone had any success using the grails plugin to build and test using
version 2.3.7. I was able to build with previous versions and can build with
the current version on Grails 2.3.7 but when I run automated tests I get an
error about the test collector which has been rewritten in the latest version
of Grails. Is there a work around?
[workspace] $
/opt/jenkins/data/tools/com.g2one.hudson.grails.GrailsInstallation/Grails_2.3.7/bin/grails
-Dgrails.work.dir=/opt/jenkins/data/jobs/Worker/workspace//target
-Dserver.port=9080 -Dgrails.env=remotetest test-app -coverage -xml
--non-interactive --stacktrace
| Loading Grails 2.3.7
| Configuring classpath
| Configuring classpath.
| Environment set to remotetest
| Environment set to remotetest.
| Environment set to remotetest..
| Environment set to remotetest...
| Environment set to remotetest....
| Environment set to remotetest.....
| Error Error executing script TestApp: Could not find matching constructor
for:
org.codehaus.groovy.grails.test.event.GrailsTestEventPublisher(_GrailsEvents_groovy$_run_closure5)
(NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)
groovy.lang.GroovyRuntimeException: Could not find matching constructor for:
org.codehaus.groovy.grails.test.event.GrailsTestEventPublisher(_GrailsEvents_groovy$_run_closure5)
at _GrailsTest_groovy.run(_GrailsTest_groovy:65)
at _GrailsTest_groovy$run.call(Unknown Source)
at _GrailsProxy_groovy$run.call(Unknown Source)
at org.codehaus.gant.IncludeTargets.leftShift(IncludeTargets.groovy:59)
at org.codehaus.gant.IncludeTargets$leftShift.call(Unknown Source)
at TestApp.run(TestApp.groovy:25)
at TestApp$run.call(Unknown Source)
at gant.Gant.prepareTargets(Gant.groovy:607)
| Error Error executing script TestApp: Could not find matching constructor
for:
org.codehaus.groovy.grails.test.event.GrailsTestEventPublisher(_GrailsEvents_groovy$_run_closure5)
Build step 'Build With Grails' marked build as failure
Scott Ryan
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" 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/d/optout.