Re: Read the SVN tag in custom plug-in

2013-12-20 Thread nkokkella
Tag name can be retrieved from SVN_URL environment variable. On Thursday, December 12, 2013 4:17:58 PM UTC-5, nkok...@gmail.com wrote: > > Hi, > i have a requirement to save the build data to database. > Requirement is to get the tag name being built in java class (custom > plug-in to develop),

Re: java.lang.OutOfMemoryError: PermGen space

2013-12-20 Thread nkokkella
Resolved the issue by creating environment variable MAVEN_OPTS with values. Tried all other possible ways to figure out but only above option solved my problem. On Thursday, December 19, 2013 10:27:46 PM UTC-5, Vivekanand S V wrote: > > For Ant it is "ANT_OPTS", assign the memory values to this k

Re: java.lang.OutOfMemoryError: PermGen space

2013-12-19 Thread nkokkella
Thanks for the comment but i tried before posted the query by setting JAVA_OPTS before running the ant script for the build but same error i am getting. On Thursday, December 19, 2013 12:56:13 PM UTC-5, Jeff MAURY wrote: > > This is an ant step so setting MAVEN_OPTS will have no effect > > Jef

java.lang.OutOfMemoryError: PermGen space

2013-12-19 Thread nkokkella
Hi, I am implementing custom plug-in to insert some data to DB (like audit2db plug-in, i cannot use audit2db plug-in as our requirement is different and also i cannot extend) and most of the times i get "java.lang.OutOfMemoryError: PermGen space" while running the job, so i tried increasing j

Re: Plug-in accessing database

2013-12-16 Thread nkokkella
You can try these steps: 1) Have some where sqljdbc4.jar in your system, from DOS prompt, traverse to this jar location and create a maven dependency JAR 2) mvn install:install-file -Dfile=sqljdbc4.jar -DgroupId=com.microsoft.sqlserver.jdbc -DartifactId=sqljdbc4 -Dversion=4.0 -Dpackaging=jar --

Read the SVN tag in custom plug-in

2013-12-12 Thread nkokkella
Hi, i have a requirement to save the build data to database. Requirement is to get the tag name being built in java class (custom plug-in to develop), Is there any simple way to get the tag name into java class. My class extends Builder class, tried all the ways to get the SVN tag name but di

Re: Audit2DB Plugin

2013-12-09 Thread nkokkella
Thanks Marco for the plug-in. I have a requirement to insert some specific data using new tables. I am new to Jenkins, could you please throw some inputs how can i extend the Audit to Database plug-in to fill my needs, assume that i have to insert data like SVN tag name which created as post-buil