|
||||||||
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 |
[JIRA] (JENKINS-14154) Groovy script can not resolve import classes like hudson.scm.SubversionSCM
joao.antu...@tagus.ist.utl.pt (JIRA) Wed, 25 Jul 2012 12:17:25 -0700
- [JIRA] (JENKINS-14154) Groovy script ... joao.antu...@tagus.ist.utl.pt (JIRA)
- [JIRA] (JENKINS-14154) Groovy sc... joao.antu...@tagus.ist.utl.pt (JIRA)
- [JIRA] (JENKINS-14154) Groovy sc... joao.antu...@tagus.ist.utl.pt (JIRA)
- [JIRA] (JENKINS-14154) Groovy sc... joao.antu...@tagus.ist.utl.pt (JIRA)
- [JIRA] (JENKINS-14154) Groovy sc... joao.antu...@tagus.ist.utl.pt (JIRA)
- [JIRA] (JENKINS-14154) Groovy sc... joao.antu...@tagus.ist.utl.pt (JIRA)
- [JIRA] (JENKINS-14154) Groovy sc... joao.antu...@tagus.ist.utl.pt (JIRA)
- [JIRA] (JENKINS-14154) Groovy sc... jgl...@cloudbees.com (JIRA)
ok, so, I was running jenkins with Java 6, switched to run it with Java 7, and the purge now works, but the import gives me the error:
groovy:000> import jenkins.scm.SubversionSCM
ERROR org.codehaus.groovy.tools.shell.CommandException:
Invalid import definition: 'import jenkins.scm.SubversionSCM'; reason: startup failed:
script13432436404381481316699.groovy: 1: unable to resolve class jenkins.scm.SubversionSCM
@ line 1, column 1.
import jenkins.scm.SubversionSCM
^
1 error