I am getting this stacktrace when running on Jenkins, so far I have been 
unable to reproduce it on my development machine (MacOS):

*14:52:38* spec.MySpec > classMethod FAILED*14:52:38*     
geb.error.UnableToLoadException: Unable to load configuration @ 
'file:/var/lib/jenkins/workspace/<pipeline-name>/<project-name>/build/resources/test/GebConfig.groovy'
 (with environment: )*14:52:38*         at 
geb.ConfigurationLoader.loadRawConfig(ConfigurationLoader.groovy:293)*14:52:38* 
        at 
geb.ConfigurationLoader.loadRawConfig(ConfigurationLoader.groovy:272)*14:52:38* 
        at 
geb.ConfigurationLoader.getConf(ConfigurationLoader.groovy:127)*14:52:38*       
  at 
geb.ConfigurationLoader.doGetConf(ConfigurationLoader.groovy:236)*14:52:38*     
    at geb.ConfigurationLoader.getConf(ConfigurationLoader.groovy:88)*14:52:38* 
        at 
geb.ConfigurationLoader.getConf(ConfigurationLoader.groovy:107)*14:52:38*       
  at geb.spock.GebSpec.createConf(GebSpec.groovy:34)*14:52:38*         at 
geb.spock.GebSpec.createBrowser(GebSpec.groovy:38)*14:52:38*         at 
geb.spock.GebSpec.getBrowser(GebSpec.groovy:43)*14:52:38*         at 
geb.spock.GebSpec.methodMissing(GebSpec.groovy:60)*14:52:38*         at 
spec.MySpec.doSomething(MySpec.groovy:209)*14:52:38*         at 
spec.MySpec.cleanupSpec(MySpec.groovy:202)
*14:52:38* *14:52:38*         Caused by:*14:52:38*         
geb.error.UnableToLoadException: Unable to load configuration from class 'class 
script15549871574581670056198' (with environment: )*14:52:38*             at 
geb.ConfigurationLoader.loadRawConfig(ConfigurationLoader.groovy:305)*14:52:38* 
            at 
geb.ConfigurationLoader.loadRawConfig(ConfigurationLoader.groovy:291)*14:52:38* 
            ... 11 more


I have tried a manual cloning of the directory, and then the problem does 
not happen.
But I am unable to go further with this, because the diff of the two 
checkout directories says that they are identical.
What could be causing this? 

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/3c8d92db-6f04-4921-9a30-e5a57ca0482e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to