Issue Type: Bug Bug
Affects Versions: current
Assignee: wolfs
Components: groovy-postbuild
Created: 29/Jul/13 8:30 PM
Description:

Jenkins: 1:523, PostBuild: 1.8

I have a Groovy script . . . that will eventually be a post build script . . . for now the script runs on its own and connects to a Database, but with this CLASSPATH set:

SET CLASSPATH=C:\Users\fmerrow\Downloads\Microsoft JDBC Driver 4.0 for SQL Server\sqljdbc_4.0\enu\sqljdbc4.jar

However, when I try to get the working script to run as a post build . . . I cannot find the class in that file.

I've tried to specify as Directory using "Additional groovy classpath" and when that didn't work as full path to the Jar file. I also wondered if spaces would be an issue . . . Quoting gave odd results (pretended C:\Program Files(x85)\Jenkins to the path) so I moved it into a directory with no spaces (again tried both file and directory) . . . I cannot seem to get it to find the class in this jar file.

Works fine "in the clear" with CLASSPATH set, but I cannot get it to work inside the Jenkins JVM.

Frank

Environment: Windows 7, Jenkins 1.523, Groovy Postbuild: 1.8, SQL Server 2008, JDBC 4.0
Project: Jenkins
Labels: plugin, groovy classpath,
Priority: Major Major
Reporter: Frank Merrow
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to