I changed the test from trying to connect to my DB to listing the files in CWD 
(more within my Groovy skillset).

WORKED . . .

Post Build Plugin does not seem to be in a clean room.

Thank you.

Frank

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Octavian Covalschi
Sent: Wednesday, February 27, 2013 11:16 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Can Groovy Postbuild Plugin Access DB Servers?

You should be able to. Something like link below, but adapted to work with 
SQLServer

http://mrhaki.blogspot.com/2010/04/groovy-goodness-configuring-grape-to.html

PS: I've never done this personally...



On Wed, Feb 27, 2013 at 1:09 PM, Merrow, Frank 
<fmer...@qti.qualcomm.com<mailto:fmer...@qti.qualcomm.com>> wrote:
What would I would like to do is to scan the Jenkins log and then update my own 
SQLServer database(s).

I know nothing about Groovy/Java and my first attempts at connecting to a 
database are not going well.

My question is: If I figure out "how" to connect, will I still be able to 
connect/update a database once that Groovy code is running via the Post Build 
Plugin?

Are the Post Build Groovy scripts running in some kind of a "clean room"?  Or 
are they free to access Network resources?

Frank
--
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 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users%2bunsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.



--
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 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.


-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to