Cannot create a slave node : Failed to instantiate class hudson.slaves.DumbSlave

2016-07-15 Thread Kamal Ahmed
Jenkins: Jenkins ver. 1.651.2 
trying to create a Dumb Node:

i get the following error: Here is the stack trace:

A problem occurred while processing the request. Please check our bug 
tracker to see if a similar problem has already been reported. If it is 
already reported, please vote and put a comment on it to let us gauge the 
impact of the problem. If you think this is a new issue, please file a new 
issue. When you file an issue, make sure to add the entire stack trace, 
along with the version of Jenkins and relevant plugins. The users list 
might be also useful in understanding what has happened.
Stack trace
javax.servlet.ServletException: java.lang.RuntimeException: Failed to 
instantiate class hudson.slaves.DumbSlave from 
{"name":"70GiB","nodeDescription":"","numExecutors":"1","remoteFS":"/home/jenkins","labelString":"70GiB","mode":"EXCLUSIVE","":["hudson.plugins.sshslaves.SSHLauncher","hudson.slaves.RetentionStrategy$Always"],"launcher":{"stapler-class":"hudson.plugins.sshslaves.SSHLauncher","$class":"hudson.plugins.sshslaves.SSHLauncher","host":"10.103.135.18","credentialsId":"99abf90a-55c1-4bc8-b131-90399456","port":"22","javaPath":"","jvmOptions":"","prefixStartSlaveCmd":"","suffixStartSlaveCmd":"","launchTimeoutSeconds":"","maxNumRetries":"","retryWaitTime":""},"retentionStrategy":{"stapler-class":"hudson.slaves.RetentionStrategy$Always","$class":"hudson.slaves.RetentionStrategy$Always"},"nodeProperties":{"stapler-class-bag":"true"},"type":"hudson.slaves.DumbSlave"}
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:196)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
at 
com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
at 
hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:95)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:201)
at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:178)
at 
net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:85)
at 
org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:102)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
at 
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at 
hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 

error: package jenkins is not relocatable

2016-04-15 Thread Kamal Ahmed
I am trying to use yum, or rpm to install ( by default ) jenkins @ 
/opt/jenkins
and not /var/lib/jenkins. But when i try to :

$rpm --prefix=/opt/jenkins -ivh jenkins-1.656-1.1.noarch.rpm
error: package jenkins is not relocatable

I get error, is there a way to easily install jenkins in other locations ? 
I read on stackflow, that someone installed it on /var/lib and then 
manually moved all directories to custom location, and
pointed env variables to the new location, but that seems too much manual 
work and prone to error, 

Jenkins being used by millions i would assume have the BASIC ability to let 
the user choose a location, plus keeping the easily upgradable option 
working, right ?

Anyone having a solution please post

Thanks,
-Kamal.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/dca77cd2-c797-4400-a71a-eb4a931f6977%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


InfluxDb Jenkins Plugin

2016-04-11 Thread Kamal Ahmed
Where can i find the hpi for InfluxDb Jenkins Plugin

I found the source 
@ https://github.com/jrajala-eficode/jenkins-ci.influxdb-plugin.git but 
having trouble building it

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4e69583d-219c-49e8-860a-2236c2658318%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Permission denied when executing shell script

2014-04-29 Thread 'Kamal Ahmed' via Jenkins Users
Look at your .hg's for permissions

After hg init .hg and .hg/store have 755 permission, so if you're not 
the owner of the repository, you won't be able to write there. You can 
read, but not write.


hope this helps

On Tuesday, April 29, 2014 8:51 AM, Justinas Urbanavicius justin...@gmail.com 
wrote:
 
I have a Master only server on Linux debian, 
it clones a local mercurial repository and then after the build jenkins tags 
version as qa
with command:
hg tag -f qa
and should push the changes to the same local repository, but after executing 
hg push -f 
it fails with error permission denied:

[workspace] $ /bin/sh -xe /tmp/hudson4453977963147108156.sh
+ hg tag -f -u jenkins qa
+ hg push -f
pushing to /home/hg/ituvs
abort: could not lock repository /home/hg/ituvs: Permission denied

jenkins executes sh script under jenkins user, i'v given 2775 permission to 
/home/hg/ituvs:
drwxrwsr-x 3 root www-data 4096 Oct 17  2013 ituvs

and added jenkins to group www-data but it still failes to push.
if i change to user jenkins myself and execute these command everyting works 
fine:
su jenkins
hg tag -f -u jenkins qa
hg push -f
pushing to /home/hg/ituvs
searching for changes
adding changesets
adding manifests
adding file changes
added 2 changesets with 2 changes to 1 files

can't seem to figure this out, any help would be appreciated




-- 
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/d/optout.




-- 
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/d/optout.


persisting PERL5LIB During a build job

2014-04-26 Thread 'Kamal Ahmed kamal2222ah...@yahoo.com' via Jenkins Users
on a Linux slave, i have a default PERL5LIB which works, fine, but i have 
another project running on the same slave, for which the PERL5LIB is different, 
i want to persist the alternate PERL5LIB During the job run.

I tried export PERL5LIB=/alternate PERL5LIB Path/ in an Execute Shell but it 
does not persist throughout the execution / run of the job

The slave is CentOs 6.4.

Any ideas ? experiences ?

Thanks,
-Kamal.

-- 
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/d/optout.


deploying a directory structure in tomcat using Jenkins

2014-02-26 Thread Kamal Ahmed
Hi,
Has anyone resolved this issue:

The application frontend comprises of files , structure such as:

workspace/DATASC-UI-DEV-STAGING/datasc-ui/dist $ tree
.
├── DataSc.html
├── index.jsp
├── js
│   └── DataSc.min.js
├── lib
│   ├── ember.js
│   ├── handlebars.js
│   └── jquery.js
├── META-INF
│   ├── context.xml
│   └── MANIFEST.MF
├── resources
│   ├── base.css
│   └── images
│   └── bg.png
└── WEB-INF
    └── web.xml

6 directories, 11 file


If this structure can be deployed directly to tomcat
Thanks,
-Kamal.

-- 
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.


email-ext plugin sending incorrect LDAP email

2014-01-28 Thread Kamal Ahmed
Seems that email-ext plugin constructs email by an LDAP user's first initial 
and last name and append the @domain (like mail.com) after that.
The problem is that some of these addresses do NOT exist in LDAP and are 
bounced, and sometimes go to another unintended person.

How do i resolve this ?

Thanks,
-Kamal.

-- 
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.


log parser failing subversion merge

2013-10-25 Thread Kamal Ahmed
I am using Jenkins to do subversion merge.
Jenkins is reporting Success all the time, even though if i look at the console:

00:22:40 Summary of conflicts:
00:22:40   Text conflicts: 1
00:22:40   Tree conflicts: 2

How can i fail the build so that the email notification goes out if there are 
conflicts.

any ideas/help would be appreciated.

Thanks,
-Kamal.

-- 
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.


parse build text and based on match send email

2013-10-03 Thread Kamal Ahmed
Hi,

I want to be able to parse the following text :

01:17:46 Summary of conflicts: 01:17:46  Text conflicts: 3 01:17:46  Tree 
conflicts: 8

Text conflicts: 0
and 
Tree conflicts: 0

Send no email, but any positive integer, send email

Any ideas how i can do that ?
Thanks,
-Kamal.

-- 
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.


append arbitrary versioning to the generated war file

2013-09-16 Thread Kamal Ahmed
Hi,
I am running a maven build and the output artifact is saved as 
dite-application.war

I would like to append versioning to the war file, like:

build23_345767  which is svn head .dite-application.war

Any idea how ? i can do this, without adding some plugin and setup to the 
pom.xml ? and JUST using Jenkins 


Thanks,
-Kamal.

-- 
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.


Add Version to a maven build war file in Jenkins

2013-09-04 Thread Kamal Ahmed
Hi,

I am using Jenkins to build a war file for deployment via puppet. Would be good 
to have version information appended to the war file.
Is there a plugin that does this ? Does anyone have such experience of 
versioning the war file in Jenkins

Thanks,
-Kamal.

-- 
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.


Email-Ext , Subversion Repo URL in Jelly script

2013-06-28 Thread Kamal Ahmed
I can get the Subversion Repo URL, for the Job as:
Subversion URL: ${ENV, var=SVN_URL}

But, is it possible to have the same in jelly script, like build.svn_url so i 
can display it as part of the email with the same fonts, etc

TR TDProject:/TD TD${project.name}/TD /TR TR TDDate of 
build:/TD TD${it.timestampString}/TD /TR TR TDBuild duration:/TD 
TD${build.durationString}/TD /TR TR !-- BRANCH -- TDSubversion 
Repo:/TD TD${build.scm}/TD /TR

where do i look for these objects like 

build
it
project

Thanks,
-Kamal.

-- 
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.




new user gets a Status Code: 404 @ login

2013-06-21 Thread Kamal Ahmed
I create a new user using Jenkins Security, but the user cannot login, and gte 
a 404 Status Code 


-K

-- 
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.




Cannot connect slave Caused by: java.io.IOException: Invalid PEM structure, '-----BEGIN...' missing

2013-06-18 Thread Kamal Ahmed
I am using Jenkins ver. 1.518, on Centos 6.4 , and trying to connect to a 
CentOs 6.4 Slave but getting exception:


ERROR: Failed to authenticate as jenkins with 
credential=a5504c8f-3302-40bd-ab4b-8c689e64c84f java.io.IOException: Publickey 
authentication failed. at 
com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:264)
 at com.trilead.ssh2.Connection.authenticateWithPublicKey(Connection.java:445) 
at 
com.cloudbees.jenkins.plugins.sshcredentials.impl.TrileadSSHPublicKeyAuthenticator.doAuthenticate(TrileadSSHPublicKeyAuthenticator.java:92)
 at 
com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.authenticate(SSHAuthenticator.java:262)
 at 
com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.authenticate(SSHAuthenticator.java:282)
 at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:918) 
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:479) at 
hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:223) at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at
 java.util.concurrent.FutureTask.run(FutureTask.java:138) at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) 
at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: 
Invalid PEM structure, '-BEGIN...' missing at 
com.trilead.ssh2.crypto.PEMDecoder.parsePEM(PEMDecoder.java:138) at 
com.trilead.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:313) at 
com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:173)
 ... 12 more
[06/18/13 10:45:18] [SSH] Authentication failed.
hudson.AbortException: Authentication failed. at 
hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:923) at 
hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:479) at 
hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:223) at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at 
java.util.concurrent.FutureTask.run(FutureTask.java:138) at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) 
at java.lang.Thread.run(Thread.java:662)
[06/18/13 10:45:18] [SSH] Connection closed.

-- 
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.




Re: Jenkins ver. 1.518 java.lang.NullPointerException

2013-06-15 Thread Kamal Ahmed
removed global build stats plugin, back to normal.
Filing a bug, if not already there
-K






 From: Kamal Ahmed kamalah...@yahoo.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Friday, June 14, 2013 6:01 PM
Subject: Jenkins ver. 1.518 java.lang.NullPointerException
 


Getting NPE starting jenkins on centos 6.4


java.lang.NullPointerException at 
com.thoughtworks.xstream.converters.ConversionException.add(ConversionException.java:65)
 at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1066) at 
hudson.util.XStream2.unmarshal(XStream2.java:109) at 
com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045) at 
hudson.XmlFile.unmarshal(XmlFile.java:166) at 
hudson.Plugin.load(Plugin.java:239) at 
hudson.plugins.global_build_stats.GlobalBuildStatsPlugin.load(GlobalBuildStatsPlugin.java:98)
 at 
hudson.plugins.global_build_stats.business.GlobalBuildStatsPluginSaver.reloadPlugin(GlobalBuildStatsPluginSaver.java:98)
 at 
hudson.plugins.global_build_stats.business.GlobalBuildStatsBusiness.reloadPlugin(GlobalBuildStatsBusiness.java:382)
 at 
hudson.plugins.global_build_stats.GlobalBuildStatsPlugin$GlobalBuildStatsItemListener.onLoaded(GlobalBuildStatsPlugin.java:149)
 at jenkins.model.Jenkins.init(Jenkins.java:855) at 
hudson.model.Hudson.init(Hudson.java:81) at
 hudson.model.Hudson.init(Hudson.java:77) at 
hudson.WebAppMain$2.run(WebAppMain.java:214) 
-- 
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.
 
 




-- 
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.




Jenkins ver. 1.518 java.lang.NullPointerException

2013-06-14 Thread Kamal Ahmed
Getting NPE starting jenkins on centos 6.4

java.lang.NullPointerException at 
com.thoughtworks.xstream.converters.ConversionException.add(ConversionException.java:65)
 at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1066) at 
hudson.util.XStream2.unmarshal(XStream2.java:109) at 
com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045) at 
hudson.XmlFile.unmarshal(XmlFile.java:166) at 
hudson.Plugin.load(Plugin.java:239) at 
hudson.plugins.global_build_stats.GlobalBuildStatsPlugin.load(GlobalBuildStatsPlugin.java:98)
 at 
hudson.plugins.global_build_stats.business.GlobalBuildStatsPluginSaver.reloadPlugin(GlobalBuildStatsPluginSaver.java:98)
 at 
hudson.plugins.global_build_stats.business.GlobalBuildStatsBusiness.reloadPlugin(GlobalBuildStatsBusiness.java:382)
 at 
hudson.plugins.global_build_stats.GlobalBuildStatsPlugin$GlobalBuildStatsItemListener.onLoaded(GlobalBuildStatsPlugin.java:149)
 at jenkins.model.Jenkins.init(Jenkins.java:855) at 
hudson.model.Hudson.init(Hudson.java:81) at
 hudson.model.Hudson.init(Hudson.java:77) at 
hudson.WebAppMain$2.run(WebAppMain.java:214) 

-- 
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.




exception accessing jenkins-ci.org

2013-06-10 Thread Kamal Ahmed
when i access http://jenkins-ci.org/

i get :


warning: unlink(/tmp/cache_lock) [function.unlink]: No such file or directory 
in /etc/drupal/6/sites/default/modules/cacherouter/Cache.php on line 124.

Can some one please fix this

Thanks,
-Kamal.

-- 
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.




exception trying to use jigomerge

2013-06-04 Thread Kamal Ahmed
I am trying to use jigomerge with jenkins 1.516
and getting Exception:

+ groovy /opt/jigomerge/jigomerge.groovy -u 
https://svn.hq.coderyte.corp/coderyte/perlapp/trunk Exception in thread main 
java.lang.NoClassDefFoundError: org/codehaus/groovy/tools/GroovyStarter
Caused by: java.lang.ClassNotFoundException: 
org.codehaus.groovy.tools.GroovyStarter at 
java.net.URLClassLoader$1.run(URLClassLoader.java:202) at 
java.security.AccessController.doPrivileged(Native Method) at 
java.net.URLClassLoader.findClass(URLClassLoader.java:190) at 
java.lang.ClassLoader.loadClass(ClassLoader.java:306) at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at 
java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.codehaus.groovy.tools.GroovyStarter.  
Program will exit.
Build step 'Execute shell' marked build as failure
Email was triggered for: Failure
Sending email for trigger: Failure

-- 
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.




Javadoc plugin 1.0 displaying error in plugin manager

2013-05-31 Thread Kamal Ahmed
I installed jenkins LTS 1.501.1 via rpm, on centos 6.4 

then upgraded some plugins, and start getting VERY Slow performance, so i 
manually removed some plugins , dont remember wich ones.
Now i uninstalled and reinstalled the rpm, and then copied the core hpi files 
to /var/lib/jenkins/plugins/

but now getting following error in 
http://jenkins.vm:8080/pluginManager/installed

any idea how to resolve this ?


j:include could not include jelly script: 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly.
 Reason: org.apache.commons.jelly.JellyException: Could not parse Jelly 
script : 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly
Stacktrace: 


Status Code: 500Exception: 
org.apache.commons.jelly.JellyTagException: 
jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.1.jar!/hudson/PluginManager/installed.jelly:67:55:
 j:include could not include jelly script: 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly.
 Reason: org.apache.commons.jelly.JellyException: Could not parse Jelly 
script : 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly
Stacktrace: 
javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: 
jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.1.jar!/hudson/PluginManager/installed.jelly:67:55:
 j:include could not include jelly script: 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly.
 Reason: org.apache.commons.jelly.JellyException: Could not parse Jelly script 
: 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly
 at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:103) at 
org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:175) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at
 org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at 
org.kohsuke.stapler.Stapler.service(Stapler.java:214) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at 
winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at 
winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206) at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179) at 
net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
 at 
org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
 at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at 
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at
 winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at 
hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at 
winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) 
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) 
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at 
winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at 
org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
 at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at
 hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at 
winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at 
winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227) at 
winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at 
java.util.concurrent.FutureTask.run(FutureTask.java:166) at 
winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
at java.lang.Thread.run(Thread.java:679)
Caused by: 

Re: Javadoc plugin 1.0 displaying error in plugin manager

2013-05-31 Thread Kamal Ahmed
question is how come javadoc, which is a core plugin, depending on testswarm ?







 From: jieryn jie...@gmail.com
To: Jenkins Users jenkinsci-users@googlegroups.com 
Sent: Friday, May 31, 2013 8:25 AM
Subject: Re: Javadoc plugin 1.0 displaying error in plugin manager
 

Greetings,

On Fri, May 31, 2013 at 8:09 AM, Kamal Ahmed kamalah...@yahoo.com wrote:
 any idea how to resolve this ?

Uninstall the TestSwarm plugin.

-- 
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.






-- 
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.




Re: Javadoc plugin 1.0 displaying error in plugin manager

2013-05-31 Thread Kamal Ahmed
this was in my original email.
the way i interpret is:


:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.1.jar

could not include jelly script: 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly

and jenkins-testswarm-plugin is mentioned.

Maybe i am misinterpreting it. Please let me know if this is an incorrect 
deduction, if so , then how ?

Thanks,


Exception: 
org.apache.commons.jelly.JellyTagException: 
jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.1.jar!/hudson/PluginManager/installed.jelly:67:55:
 j:include could not include jelly script: 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly.
 Reason: org.apache.commons.jelly.JellyException: Could not parse Jelly 
script : 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly
Stacktrace: 


 From: jieryn jie...@gmail.com
To: Jenkins Users jenkinsci-users@googlegroups.com 
Sent: Friday, May 31, 2013 9:33 AM
Subject: Re: Javadoc plugin 1.0 displaying error in plugin manager
 

Greetings,

On Fri, May 31, 2013 at 9:11 AM, Kamal Ahmed kamalah...@yahoo.com wrote:
 question is how come javadoc, which is a core plugin, depending on testswarm?

There is absolutely no evidence that you have ever reported that even
remotely links javadoc, or the Jenkins Javadoc Plugin, to the issue.
So unless you are not reporting all the problems, you are under a
grave misunderstanding.

-- 
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.






-- 
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.




subversion merging with Jenkins

2013-05-31 Thread Kamal Ahmed
Hi Group,
Sorry for posting a lot today, but i wanted to know your expert opinion.

I have a subversion trunk that developers work on , as well as a branch RC-1

now, i want to merge changes from trunk to RC-1 every night, just to see if it 
is still building if not then revert 


What is the Jenkins way of doing this ?
Thanks,
-Kamal.

-- 
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.




Content Encoding Error

2013-05-31 Thread Kamal Ahmed
When trying to access http://local-jenkins:8080/job/app/integration-status/?


i get an error:


The page you are trying to view cannot be shown because it uses an invalid or 
unsupported form of compression
  Please contact the website owners to inform them of this problem.


I am using Jenkins Jenkins ver. 1.516
-K

-- 
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.




Javadoc plugin throwing exception 500

2013-05-30 Thread Kamal Ahmed
How do i remove this plugin, or resolve the issue:
Jenkins 1.509.1 

javadoc 1.1 and 1.0 give the same exception

Status Code: 500Exception: 
org.apache.commons.jelly.JellyTagException: 
jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.1.jar!/hudson/PluginManager/installed.jelly:67:55:
 j:include could not include jelly script: 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly.
 Reason: org.apache.commons.jelly.JellyException: Could not parse Jelly 
script : 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly
Stacktrace: 
javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: 
jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.1.jar!/hudson/PluginManager/installed.jelly:67:55:
 j:include could not include jelly script: 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly.
 Reason: org.apache.commons.jelly.JellyException: Could not parse Jelly script 
: 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly
 at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:103) at 
org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:175) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at
 org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at 
org.kohsuke.stapler.Stapler.service(Stapler.java:214) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at 
winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at 
winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206) at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179) at 
net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
 at 
org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
 at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at 
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at
 winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at 
hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at 
winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) 
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) 
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at 
winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at 
org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
 at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at
 hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) 
at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at 
winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at 
winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227) at 
winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at 
java.util.concurrent.FutureTask.run(FutureTask.java:166) at 
winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
at java.lang.Thread.run(Thread.java:679)
Caused by: org.apache.commons.jelly.JellyTagException: 
jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.1.jar!/hudson/PluginManager/installed.jelly:67:55:
 j:include could not include jelly script: 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly.
 Reason: org.apache.commons.jelly.JellyException: Could not parse Jelly script 
: 
file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly
 at org.apache.commons.jelly.tags.core.IncludeTag.doTag(IncludeTag.java:109) at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at 

java.io.FileNotFoundException: http://download.sonatype.com/clm/ci/sonatype-clm-ci-2.8-update-center.json?

2013-05-30 Thread Kamal Ahmed
After installing Jenkins ver. 1.509.1 on centos 6.4
and trying to install sonatype plugin 
https://wiki.jenkins-ci.org/display/JENKINS/Sonatype+CI+Plugins

seems not available


java.io.FileNotFoundException: 
http://download.sonatype.com/clm/ci/sonatype-clm-ci-2.8-update-center.json?uctest
 at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401)
 at 
hudson.model.UpdateCenter$UpdateCenterConfiguration.testConnection(UpdateCenter.java:862)
 at 
hudson.model.UpdateCenter$UpdateCenterConfiguration.checkUpdateCenter(UpdateCenter.java:711)
 at hudson.model.UpdateCenter$ConnectionCheckJob.run(UpdateCenter.java:1032) at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at 
java.util.concurrent.FutureTask.run(FutureTask.java:166) at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
at java.lang.Thread.run(Thread.java:679) 


Thanks,
-Kamal.

-- 
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.




Two Jenkins Masters for same set of slaves

2013-05-30 Thread Kamal Ahmed
Is it possible to have two jenkins masters for same set of slaves, and when one 
master is out of service, the other one continues, like hot backup ?
i think Cloudbees Jenkins Enterprise has HA support using active and stand-by 
Jenkins masters. but open source does not.
Is there a poor man's workaround ?
Thanks,
-Kamal.

-- 
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.




net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found.

2013-05-29 Thread Kamal Ahmed
While trying to run https://github.com/rombert/Maven-Recipe--RPM-Package in 
jenkins, i got an exception:

Error
Failed to parse form data. Please report this problem as a bug
JSON={name:Maven-Recipe--RPM-Package,description:,:[,0,0,0,0,0,0,0,0],logrotate:true,buildDiscarder:{stapler-class:hudson.tasks.LogRotator,daysToKeepStr:,numToKeepStr:5,artifactDaysToKeepStr:,artifactNumToKeepStr:},properties:{stapler-class-bag:true,com-sonyericsson-jenkins-plugins-bfa-model-ScannerJobProperty:{doNotScan:false},jenkins-plugins-svnmerge-IntegratableProject:{},org-jenkinsci-plugins-mavenrepocleaner-MavenRepoCleanerProperty:{notOnThisProject:false},com-suryagaddipati-jenkins-SlaveUtilizationProperty:{},hudson-model-ParametersDefinitionProperty:{},com-thalesgroup-hudson-plugins-jobrevision-JobRevision:{},hudson-plugins-svn_release_mgr-JobPropertyImpl:{},hudson-plugins-trackingsvn-TrackingSVNProperty:{},jenkins-plugins-svnmerge-FeatureBranchProperty:{},org-jenkinsci-plugins-envinject-EnvInjectJobProperty:{}},hasSlaveAffinity:{assignedLabelString:VM-DEVQA02
},displayNameOrNull:,scm:{value:5,locations:{remote:http://svn.hq.coderyte.corp/coderyte/qa/autofw/Maven-Recipe--RPM-Package,local:.,depthOption:infinity,ignoreExternalsOption:false},:[0,auto],workspaceUpdater:{stapler-class:hudson.scm.subversion.UpdateUpdater},ignoreDirPropChanges:false,excludedRegions:,includedRegions:,excludedUsers:,excludedCommitMessages:,excludedRevprop:,filterChangelog:false},hudson-triggers-SCMTrigger:{scmpoll_spec:H
 */5 * * *,ignorePostCommitHooks:false},builder:{command:mvn clean 
package,stapler-class:hudson.tasks.Shell,kind:hudson.tasks.Shell},publisher:{stapler-class:hudson.plugins.emailext.ExtendedEmailPublisher,kind:hudson.plugins.emailext.ExtendedEmailPublisher},core:apply:,Submit:Save}
 net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found. 
at net.sf.json.JSONObject.getString(JSONObject.java:2028) at
 
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:293)
 at 
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:31)
 at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:941) at 
hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:926) at 
hudson.util.DescribableList.rebuildHetero(DescribableList.java:203) at 
hudson.model.Project.submit(Project.java:201) at 
hudson.model.Job.doConfigSubmit(Job.java:1076) at 
hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:753) at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616) at
 org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at 
org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at 
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at
 org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at 
org.kohsuke.stapler.Stapler.service(Stapler.java:214) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at 
winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at 
winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206) at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179) at 
net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
 at 
org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
 at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98) at
 hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at 
winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at 

Re: net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found.

2013-05-29 Thread Kamal Ahmed
Jenkins ver. 1.509.1
which is LTS, on Centos 6.4 
Email-ext = 2.29







 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Wednesday, May 29, 2013 3:34 PM
Subject: Re: net.sf.json.JSONException: JSONObject[recipientlist_recipients] 
not found.
 


What version of Jenkins and email-ext are you using?



On Wed, May 29, 2013 at 12:32 PM, Kamal Ahmed kamalah...@yahoo.com wrote:

While trying to run https://github.com/rombert/Maven-Recipe--RPM-Package in 
jenkins, i got an exception:


Error
Failed to parse form data. Please report this problem as a bug
JSON={name:Maven-Recipe--RPM-Package,description:,:[,0,0,0,0,0,0,0,0],logrotate:true,buildDiscarder:{stapler-class:hudson.tasks.LogRotator,daysToKeepStr:,numToKeepStr:5,artifactDaysToKeepStr:,artifactNumToKeepStr:},properties:{stapler-class-bag:true,com-sonyericsson-jenkins-plugins-bfa-model-ScannerJobProperty:{doNotScan:false},jenkins-plugins-svnmerge-IntegratableProject:{},org-jenkinsci-plugins-mavenrepocleaner-MavenRepoCleanerProperty:{notOnThisProject:false},com-suryagaddipati-jenkins-SlaveUtilizationProperty:{},hudson-model-ParametersDefinitionProperty:{},com-thalesgroup-hudson-plugins-jobrevision-JobRevision:{},hudson-plugins-svn_release_mgr-JobPropertyImpl:{},hudson-plugins-trackingsvn-TrackingSVNProperty:{},jenkins-plugins-svnmerge-FeatureBranchProperty:{},org-jenkinsci-plugins-envinject-EnvInjectJobProperty:{}},hasSlaveAffinity:{assignedLabelString:VM-DEVQA02
},displayNameOrNull:,scm:{value:5,locations:{remote:http://svn.hq.coderyte.corp/coderyte/qa/autofw/Maven-Recipe--RPM-Package,local:.,depthOption:infinity,ignoreExternalsOption:false},:[0,auto],workspaceUpdater:{stapler-class:hudson.scm.subversion.UpdateUpdater},ignoreDirPropChanges:false,excludedRegions:,includedRegions:,excludedUsers:,excludedCommitMessages:,excludedRevprop:,filterChangelog:false},hudson-triggers-SCMTrigger:{scmpoll_spec:H
 */5 * * *,ignorePostCommitHooks:false},builder:{command:mvn clean 
package,stapler-class:hudson.tasks.Shell,kind:hudson.tasks.Shell},publisher:{stapler-class:hudson.plugins.emailext.ExtendedEmailPublisher,kind:hudson.plugins.emailext.ExtendedEmailPublisher},core:apply:,Submit:Save}
 net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found. 
at net.sf.json.JSONObject.getString(JSONObject.java:2028) at
 
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:293)
 at 
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:31)
 at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:941) at 
hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:926) at 
hudson.util.DescribableList.rebuildHetero(DescribableList.java:203) at 
hudson.model.Project.submit(Project.java:201) at 
hudson.model.Job.doConfigSubmit(Job.java:1076) at 
hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:753) at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616) at
 org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at 
org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at 
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at
 org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at 
org.kohsuke.stapler.Stapler.service(Stapler.java:214) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at 
winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at 
winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at 
winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206) at 
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179

Re: net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found.

2013-05-29 Thread Kamal Ahmed
yes, i already did it 2 times, third time it worked, i will keep an eye on 
this, to see if it fails again
Thanks,
-Kamal.






 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Wednesday, May 29, 2013 3:54 PM
Subject: Re: net.sf.json.JSONException: JSONObject[recipientlist_recipients] 
not found.
 


Strange, is this reproducible? 



On Wed, May 29, 2013 at 12:42 PM, Kamal Ahmed kamalah...@yahoo.com wrote:

Jenkins ver. 1.509.1
which is LTS, on Centos 6.4 
Email-ext = 2.29






 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Wednesday, May 29, 2013 3:34 PM
Subject: Re: net.sf.json.JSONException: 
JSONObject[recipientlist_recipients] not found.
 


What version of Jenkins and email-ext are you using?



On Wed, May 29, 2013 at 12:32 PM, Kamal Ahmed kamalah...@yahoo.com 
wrote:

While trying to run https://github.com/rombert/Maven-Recipe--RPM-Package in 
jenkins, i got an exception:


Error
Failed to parse form data. Please report this problem as a bug
JSON={name:Maven-Recipe--RPM-Package,description:,:[,0,0,0,0,0,0,0,0],logrotate:true,buildDiscarder:{stapler-class:hudson.tasks.LogRotator,daysToKeepStr:,numToKeepStr:5,artifactDaysToKeepStr:,artifactNumToKeepStr:},properties:{stapler-class-bag:true,com-sonyericsson-jenkins-plugins-bfa-model-ScannerJobProperty:{doNotScan:false},jenkins-plugins-svnmerge-IntegratableProject:{},org-jenkinsci-plugins-mavenrepocleaner-MavenRepoCleanerProperty:{notOnThisProject:false},com-suryagaddipati-jenkins-SlaveUtilizationProperty:{},hudson-model-ParametersDefinitionProperty:{},com-thalesgroup-hudson-plugins-jobrevision-JobRevision:{},hudson-plugins-svn_release_mgr-JobPropertyImpl:{},hudson-plugins-trackingsvn-TrackingSVNProperty:{},jenkins-plugins-svnmerge-FeatureBranchProperty:{},org-jenkinsci-plugins-envinject-EnvInjectJobProperty:{}},hasSlaveAffinity:{assignedLabelString:VM-DEVQA02
},displayNameOrNull:,scm:{value:5,locations:{remote:http://svn.hq.coderyte.corp/coderyte/qa/autofw/Maven-Recipe--RPM-Package,local:.,depthOption:infinity,ignoreExternalsOption:false},:[0,auto],workspaceUpdater:{stapler-class:hudson.scm.subversion.UpdateUpdater},ignoreDirPropChanges:false,excludedRegions:,includedRegions:,excludedUsers:,excludedCommitMessages:,excludedRevprop:,filterChangelog:false},hudson-triggers-SCMTrigger:{scmpoll_spec:H
 */5 * * *,ignorePostCommitHooks:false},builder:{command:mvn clean 
package,stapler-class:hudson.tasks.Shell,kind:hudson.tasks.Shell},publisher:{stapler-class:hudson.plugins.emailext.ExtendedEmailPublisher,kind:hudson.plugins.emailext.ExtendedEmailPublisher},core:apply:,Submit:Save}
 net.sf.json.JSONException: JSONObject[recipientlist_recipients] not found. 
at net.sf.json.JSONObject.getString(JSONObject.java:2028) at
 
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:293)
 at 
hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.newInstance(ExtendedEmailPublisherDescriptor.java:31)
 at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:941) at 
hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:926) at 
hudson.util.DescribableList.rebuildHetero(DescribableList.java:203) at 
hudson.model.Project.submit(Project.java:201) at 
hudson.model.Job.doConfigSubmit(Job.java:1076) at 
hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:753) at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616) at
 org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at 
org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at 
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at
 org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at 
org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at 
org.kohsuke.stapler.Stapler.service(Stapler.java:214

Unable to install Jenkins LTS on CentOs 6.4

2013-05-22 Thread Kamal Ahmed
Here is a screenshot:

kahmed@vm-jenkins-staging ~ $ sudo rpm --import 
http://pkg.jenkins-ci.org/redhat-stable/jenkins-ci.org.key
kahmed@vm-jenkins-staging ~ $ sudo yum install jenkins
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: centos.someimage.com
 * extras: mirror.umd.edu
 * rpmforge: mirror.us.leaseweb.net
 * updates: mirror.symnds.com
Setting up Install Process
Resolving Dependencies
-- Running transaction check
---Package jenkins.noarch 0:1.514-1.1 will be installed
-- Finished Dependency Resolution

Dependencies Resolved


 Package   Arch Version 
    Repository Size

Installing:
 jenkins   noarch   1.514-1.1   
    jenkins    49 M

Transaction Summary

Install   1 Package(s)

Total download size: 49 M
Installed size: 54 M
Is this ok [y/N]: N
Exiting on user Command

It should be 

jenkins-1.509.1-1.1.noarch.rpm 2013/05/01 46.4M 

-- 
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.




Re: Build Parameters in server host names

2013-05-22 Thread Kamal Ahmed
David,

But on the jenkins web site (http://jenkins-ci.org/) LTS is:


Java Web Archive (.war)
Older but stable  (1.509.1) 
and the normal (NON LTS )release is:
Java Web Archive (.war)
Latest and greatest (1.515) 





 From: David Brossard dbross...@gmail.com
To: jenkinsci-users@googlegroups.com 
Sent: Wednesday, May 22, 2013 4:59 PM
Subject: Build Parameters in server host names
 


I have been trying to setup a single build job that will accept a parameter to 
build for different environments ie Dev, Prod etc. Obviously I also want these 
to deploy to different servers. 

I can see how to use GIT to check out a different branch using parameters but 
how then do I send  these parameters in the names of servers to publish over 
ssh, publish over ftp, publish over cifs etc? We have server names similar to 
dev.mycompany.com and prod.mycompany.com and I would like to send these to 
$ENV.mycompany.com.

The problem I have run into is that if I build a different Jenkins jobs for 
our Dev and Prod servers, occasionally changes to the jobs do not get 
replicated to every other one.
-- 
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.
 
 




-- 
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.




puppet Jenkins LTS install on CentOs 6

2013-05-12 Thread Kamal Ahmed
Hi,
Has anyone installed Jenkins LTS with Puppet on Centos 6.x ?
If so, then How ?
Thanks,
-Kamal.

-- 
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.




Running Slow VS Fast TEsts in Jenkins

2013-04-30 Thread Kamal Ahmed
Hi,
What is the best way to run slow unit tests, as compared to the ones that take 
longer to run.
Keeping in mind that my Application is Perl based. and i am using maven to run 
the tests.

Thanks,
-Kamal.

-- 
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.




Re: Running Slow VS Fast TEsts in Jenkins

2013-04-30 Thread Kamal Ahmed
ok let me try to explain further.

I have a set of unit tests , lets say 3000. 

Some of the tests have setup() and teardown() , and takes them ( 5 minutes 
approx ) to run.
Now i want to run all these tests in jenkins , so i can collect and report on 
results.

SInce it takes more then 2 hours, or so to run, i want to segregate these 
tests, so i have individual tests that run under 5 seconds go in one batch, 
versus those individual tests that take more than 30 seconds, go to another job 
in the pipeline.

so we dont have to wait for ALL tests, to finish,a nd THEN get the results.

In Java / JUnit, we have something like:

@Test ( groups = {integration-tests})

is there something in Prove ? or TAP ? or anything else in Perl, that i can use 
annotations to separate slow tests, from fast tests.

I hope its a bit more clear now.

Thanks,
-Kamal.





 From: Adam PAPAI w...@wooh.hu
To: jenkinsci-users@googlegroups.com 
Sent: Tuesday, April 30, 2013 2:48 PM
Subject: Re: Running Slow VS Fast TEsts in Jenkins
 


Can you a bit more 
detailed? What is the question? What do you mean how to run slow unit 
tests?

You should run them just like the fast ones. How would you like to 
separate them? Why is it a question?


Kamal Ahmed
April 30, 2013 
6:28 PM
Hi,
What is the best way to 
run slow unit tests, as compared to the ones that take longer to run.
Keeping in mind that my Application is Perl based. and i am using maven to 
run 
the tests.


Thanks,
-Kamal.

-- 
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.
 
 


-- 
Adam PAPAI
E-mail: w...@wooh.hu
Phone: +3630 3355735
Web: http://www.wooh.hu


-- 
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.
 
 




-- 
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.


inline: compose-unknown-contact.jpg

Re: Running Slow VS Fast TEsts in Jenkins

2013-04-30 Thread Kamal Ahmed


P.S

One thing i left out:

I am sure Jenkin users  have come across this pattern, so if there is a plugin, 
or any other way to segregate and run these tests, they would have some 
experience of it and how they resolved it.

Hope this is clear now.




 From: Kamal Ahmed kamalah...@yahoo.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Tuesday, April 30, 2013 3:14 PM
Subject: Re: Running Slow VS Fast TEsts in Jenkins
 


ok let me try to explain further.


I have a set of unit tests , lets say 3000. 

Some of the tests have setup() and teardown() , and takes them ( 5 minutes 
approx ) to run.
Now i want to run all these tests in jenkins , so i can collect and report on 
results.


SInce it takes more then 2 hours, or so to run, i want to segregate these 
tests, so i have individual tests that run under 5 seconds go in one batch, 
versus those individual tests that take more than 30 seconds, go to another 
job in the pipeline.


so we dont have to wait for ALL tests, to finish,a nd THEN get the results.


In Java / JUnit, we have something like:


@Test ( groups = {integration-tests})


is there something in Prove ? or TAP ? or anything else in Perl, that i can 
use annotations to separate slow tests, from fast tests.


I hope its a bit more clear now.


Thanks,
-Kamal.





 From: Adam PAPAI w...@wooh.hu
To: jenkinsci-users@googlegroups.com 
Sent: Tuesday, April 30, 2013 2:48 PM
Subject: Re: Running Slow VS Fast TEsts in Jenkins
 


Can you a bit more 
detailed? What is the question? What do you mean how to run slow unit 
tests?

You should run them just like the fast ones. How would you like to 
separate them? Why is it a question?


Kamal Ahmed
April 30, 2013 
6:28 PM
Hi,
What is the best way to 
run slow unit tests, as compared to the ones that take longer to run.
Keeping in mind that my Application is Perl based. and i am using maven to 
run 
the tests.


Thanks,
-Kamal.

-- 
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.
 
 


-- 
Adam PAPAI
E-mail: w...@wooh.hu
Phone: +3630 3355735
Web: http://www.wooh.hu


-- 
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.
 
 



-- 
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.
 
 




-- 
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.


inline: compose-unknown-contact.jpg

using puppet/svn and Jenkins with slaves

2013-04-24 Thread Kamal Ahmed
Hi,

Here is a scenario that i am currently working with:

I have a CentOs Slave host, where puppet updates/control the directory 
/extra/code/developer
then i run mvn clean compile.

The PERL5LIB is ALSO set by puppet, to point to /extra/code/developer

Now, when i setup the slave, the name of the slave node vm-devqa01 gets 
appended to the ROOT , which is 


/extra/code/

BUT puppet will never update there, so.

Can i have the root as /extra/code and name the node developer ? if i DO , 
then i have to name ALL the slave nodes developer 


Any ideas ?

Thanks,
-Kamal.

-- 
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.




Re: subversion changes are not trigerring automatic build

2013-04-19 Thread Kamal Ahmed
Chris,
The option i have is downgrade to 1.28 , would that work ?
I wonder if there is a jira issue for this.
Thanks,
-Kamal.






 From: Chris Selwyn ch...@selwyn-family.me.uk
To: jenkinsci-users@googlegroups.com 
Sent: Friday, April 19, 2013 7:04 AM
Subject: Re: subversion changes are not trigerring automatic build
 


We have found that, if a project uses an svn external to refer to a file, then 
changes in that file will not trigger a build when using 1.45 of the svn 
plugin.
Downgrading to 1.44 solves that particular problem.

Chris


On 18/04/2013 20:17, Kamal Ahmed wrote:

I setup a Job with polling the SVN URL, every 5 minutes , and made changes in 
1 file but it does not trigger a build.
I am using Jenkins Version 1.506 on ubuntu 12.04 , with subversion plugin 1.45


Is there a way i can still get this to without pre-commit hooks, as i would 
need permissions on the subversion server for those


Thanks,
-Kamal.

-- 
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.
 
 


-- 
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.
 
 




-- 
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.




subversion changes are not trigerring automatic build

2013-04-18 Thread Kamal Ahmed
I setup a Job with polling the SVN URL, every 5 minutes , and made changes in 1 
file but it does not trigger a build.
I am using Jenkins Version 1.506 on ubuntu 12.04 , with subversion plugin 1.45

Is there a way i can still get this to without pre-commit hooks, as i would 
need permissions on the subversion server for those

Thanks,
-Kamal.

-- 
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.




SLOCCOUNT plugin to display difference in size of files between jobs

2013-04-14 Thread Kamal Ahmed
Is it possible for Sloccount plugin to display the progressive difference of 
size in files from job(build) to job(build) ?
If i click on the Sloccount Graph, it just shows the Current Size and 
distributon, How difficult would it be to capture the  historical trend

Thanks,
-Kamal.

-- 
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.




Re: email-ext groovy script groovy-html.template does not display

2013-04-09 Thread Kamal Ahmed
i am receiving email on the same host as jenkins
ALSO, the jelly script DOES work, with URL:



  IMG SRC=${rooturl}static/e59dfe28/images/32x32/red.gif /

but not the Groovy script , with the same URL, for yellow.gif





 From: Alex Earl slide.o@gmail.com
To: Kamal Ahmed kamalah...@yahoo.com; jenkinsci-users@googlegroups.com 
jenkinsci-users@googlegroups.com 
Sent: Monday, April 8, 2013 8:22 PM
Subject: RE: email-ext groovy script groovy-html.template does not display
 
the yellow, red and blue buttons
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary=942553102-1508715359-1365465321=:85628

--942553102-1508715359-1365465321=:85628
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Is Jenkins running on the machine you are receiving emails on? If not,
you may want to set a better URL in the global config.

Sent from my Windows Phone
From: Kamal Ahmed
Sent: 4/8/2013 16:55
To: jenkinsci-users@googlegroups.com
Subject: Re: email-ext groovy script groovy-html.template does not
display the yellow, red and blue buttons
i can access the blue ball with http://localhost:9000/static/e59dfe28/image=
s/32x32/blue.gif







 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com=
=20
Sent: Monday, April 8, 2013 6:38 PM
Subject: Re: email-ext groovy script groovy-html.template does not display=
the yellow, red and blue buttons
=20

Can you browse to the URL that is contained in the email body and have it =
show the image?



On Mon, Apr 8, 2013 at 3:19 PM, Kamal Ahmed kamalah...@yahoo.com wro=
te:

I tried with:


TABLE
=C2=A0 TRTD align=3DrightIMG SRC=3D${build.HUDSON_HOME}/images/32=
x32/%=3D build.result.toString() =3D=3D 'SUCCESS' ? blue.png : build.res=
ult.toString() =3D=3D 'FAILURE' ? 'red.png' : 'yellow.png' % /


after moving the images folder to $JENKINS_HOME/images/


But in the email, i still dont see the buttons.


originally, it was :


TABLE
=C2=A0 TRTD align=3DrightIMG SRC=3D${rooturl}static/e59dfe28/imag=
es/32x32/%=3D build.result.toString() =3D=3D 'SUCCESS' ? blue.gif : buil=
d.result.toString() =3D=3D 'FAILURE' ? 'red.gif' : 'yellow.gif' % /

but those did not work wither.


Any ideas ?
Thanks,
-Kamal.
 --=20
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.
=C2=A0
=C2=A0




--=20
Website:=C2=A0http://earl-of-code.com=20
--=20
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.
=C2=A0
=C2=A0




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



--942553102-1508715359-1365465321=:85628
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlbodyhtmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-e=
quiv=3DContent-Type/headbodydivdiv style=3Dfont-family: Calibri,=
sans-serif; font-size: 11pt;Is Jenkins running on the machine you are rec=
eiving emails on? If not, you may want to set a better URL in the global co=
nfig.brbrSent from my Windows Phonebr/div/divhrspan style=3Df=
ont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;From: =
/spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;Kama=
l Ahmed/spanbrspan style=3Dfont-family: Tahoma,sans-serif; font-size:=
10pt; font-weight: bold;Sent: /spanspan style=3Dfont-family: Tahoma,=
sans-serif; font-size: 10pt;4/8/2013 16:55/spanbrspan style=3Dfont-=
family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;To: /span=
span style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;jenkinsci-=
us...@googlegroups.com/spanbrspan style=3Dfont-family: Tahoma,sans-se=
rif; font-size: 10pt; font-weight: bold;Subject: /spanspan style=3Dfo=
nt-family: Tahoma,sans-serif; font-size: 10pt;Re: email-ext groovy script=
groovy-html.template does not display the yellow, red and blue buttons/sp=
anbrbr/body/htmldiv style=3Dcolor:#000; background-color:#fff; f=
ont-family:verdana, helvetica, sans-serif;font-size:10pti can access the =
blue ball with http://localhost:9000/static/e59dfe28/images/32x32/blue.gif=
brbrdivspanbr/span/divdivbrblockquote style=3Dborder-lef=
t: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-l=
eft: 5px;  div style=3Dfont-family: verdana, helvetica, sans-serif; fon=
t

Re: email-ext groovy script groovy-html.template does not display

2013-04-09 Thread Kamal Ahmed
Alex,
I am not sure where i can check the html, that is generated from the groovy, 
or jelly script. Could you give me a hint perhaps ?
Thanks,
-Kamal.






 From: Alex Earl slide.o@gmail.com
To: Kamal Ahmed kamalah...@yahoo.com; jenkinsci-users@googlegroups.com 
jenkinsci-users@googlegroups.com 
Sent: Tuesday, April 9, 2013 9:12 AM
Subject: RE: email-ext groovy script groovy-html.template does not display
 

Double check the generated html.

Sent from my Windows Phone


From: Kamal Ahmed
Sent: 4/9/2013 4:40
To: jenkinsci-users@googlegroups.com
Subject: Re: email-ext groovy script groovy-html.template does not display


i am receiving email on the same host as jenkins
ALSO, the jelly script DOES work, with URL:



  IMG SRC=${rooturl}static/e59dfe28/images/32x32/red.gif /


but not the Groovy script , with the same URL, for yellow.gif




 From: Alex Earl slide.o@gmail.com
To: Kamal Ahmed kamalah...@yahoo.com; 
jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Monday, April 8, 2013 8:22 PM
Subject: RE: email-ext groovy script groovy-html.template does not display
 
the yellow, red and blue buttons
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary=942553102-1508715359-1365465321=:85628

--942553102-1508715359-1365465321=:85628
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Is Jenkins running on the machine you are receiving emails on? If not,
you may want to set a better URL in the global config.

Sent from my Windows Phone
From: Kamal Ahmed
Sent: 4/8/2013 16:55
To: jenkinsci-users@googlegroups.com
Subject: Re: email-ext groovy script groovy-html.template does not
display the yellow, red and blue buttons
i can access the blue ball with http://localhost:9000/static/e59dfe28/image=
s/32x32/blue.gif







 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com=
=20
Sent: Monday, April 8, 2013 6:38 PM
Subject: Re: email-ext groovy script groovy-html.template does not display=
the yellow, red and blue buttons
=20

Can you browse to the URL that is contained in the email body and have it =
show the image?



On Mon, Apr 8, 2013 at 3:19 PM, Kamal Ahmed kamalah...@yahoo.com wro=
te:

I tried
 with:


TABLE
=C2=A0 TRTD align=3DrightIMG SRC=3D${build.HUDSON_HOME}/images/32=
x32/%=3D build.result.toString() =3D=3D 'SUCCESS' ? blue.png : build.res=
ult.toString() =3D=3D 'FAILURE' ? 'red.png' : 'yellow.png' % /


after moving the images folder to $JENKINS_HOME/images/


But in the email, i still dont see the buttons.


originally, it was :


TABLE
=C2=A0 TRTD align=3DrightIMG SRC=3D${rooturl}static/e59dfe28/imag=
es/32x32/%=3D build.result.toString() =3D=3D 'SUCCESS' ? blue.gif : buil=
d.result.toString() =3D=3D 'FAILURE' ? 'red.gif' : 'yellow.gif' % /

but those did not work wither.


Any ideas
 ?
Thanks,
-Kamal.
 --=20
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.
=C2=A0
=C2=A0




--=20
Website:=C2=A0http://earl-of-code.com=20
--=20
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.
=C2=A0
=C2=A0




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



--942553102-1508715359-1365465321=:85628
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding:
 quoted-printable

htmlbodyhtmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-e=
quiv=3DContent-Type/headbodydivdiv style=3Dfont-family: Calibri,=
sans-serif; font-size: 11pt;Is Jenkins running on the machine you are rec=
eiving emails on? If not, you may want to set a better URL in the global co=
nfig.brbrSent from my Windows Phonebr/div/divhrspan style=3Df=
ont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;From: =
/spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;Kama=
l Ahmed/spanbrspan style=3Dfont-family: Tahoma,sans-serif; font-size:=
10pt; font-weight: bold;Sent: /spanspan style=3Dfont-family: Tahoma,=
sans-serif; font-size: 10pt;4/8/2013 16:55/spanbrspan
 style=3Dfont-=
family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;To: /span=
span style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt;jenkinsci-=
us

email-ext groovy script groovy-html.template does not display the yellow, red and blue buttons

2013-04-08 Thread Kamal Ahmed
I tried with:

TABLE
  TRTD align=rightIMG SRC=${build.HUDSON_HOME}/images/32x32/%= 
build.result.toString() == 'SUCCESS' ? blue.png : build.result.toString() == 
'FAILURE' ? 'red.png' : 'yellow.png' % /

after moving the images folder to $JENKINS_HOME/images/

But in the email, i still dont see the buttons.

originally, it was :

TABLE
  TRTD align=rightIMG SRC=${rooturl}static/e59dfe28/images/32x32/%= 
build.result.toString() == 'SUCCESS' ? blue.gif : build.result.toString() == 
'FAILURE' ? 'red.gif' : 'yellow.gif' % /

but those did not work wither.

Any ideas ?
Thanks,
-Kamal.

-- 
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.




Re: email-ext groovy script groovy-html.template does not display the yellow, red and blue buttons

2013-04-08 Thread Kamal Ahmed
i can access the blue ball with 
http://localhost:9000/static/e59dfe28/images/32x32/blue.gif







 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Monday, April 8, 2013 6:38 PM
Subject: Re: email-ext groovy script groovy-html.template does not display the 
yellow, red and blue buttons
 

Can you browse to the URL that is contained in the email body and have it show 
the image?



On Mon, Apr 8, 2013 at 3:19 PM, Kamal Ahmed kamalah...@yahoo.com wrote:

I tried with:


TABLE
  TRTD align=rightIMG SRC=${build.HUDSON_HOME}/images/32x32/%= 
build.result.toString() == 'SUCCESS' ? blue.png : build.result.toString() 
== 'FAILURE' ? 'red.png' : 'yellow.png' % /


after moving the images folder to $JENKINS_HOME/images/


But in the email, i still dont see the buttons.


originally, it was :


TABLE
  TRTD align=rightIMG SRC=${rooturl}static/e59dfe28/images/32x32/%= 
build.result.toString() == 'SUCCESS' ? blue.gif : build.result.toString() 
== 'FAILURE' ? 'red.gif' : 'yellow.gif' % /

but those did not work wither.


Any ideas ?
Thanks,
-Kamal.
 -- 
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.
 
 




-- 
Website: http://earl-of-code.com 
-- 
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.
 
 




-- 
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.




Re: system Groovy script claspath question

2013-04-05 Thread Kamal Ahmed
I think you should think of the user executing the scripts from user jenkins 
perpective.
also good idea to run env or set and echo $PATH as shell script, to see 
what environment you have.
Hope that helps
-K






 From: Lloyd Meinholz meinh...@javabilities.com
To: jenkinsci-users@googlegroups.com 
Sent: Thursday, April 4, 2013 2:21 PM
Subject: system Groovy script claspath question
 

I'm banging my head trying to solve this issue. I would like one of my system 
Groovy scripts to insert a row into a database. I need my jdbc driver to do 
this.

I'm on Solaris 10, jdk 1.6.0_35-b10, tomcat 7.0.39, jenkins 1.509, Hudson 
groovy builder 1.13.


The mysql jdbc driver I am using lives in 
/ci/lib/mysql-connector-java-5.1.22-bin.jar. I verified the jar was good by 
unjarring it. I use this jar in another web application to access the same 
mysql server.



I have been unable to have access to the jdbc driver from my script:


FATAL: com.mysql.jdbc.Driver java.lang.ClassNotFoundException: 
com.mysql.jdbc.Driver

I tried:


* adding /ci/lib to the Classpath field of the Execute system Groovy 
Script build step.
* adding -cp /ci/lib to the Classpath field of the Execute system Groovy 
Script build step.
* adding /ci/lib/mysql-connector-java-5.1.22-bin.jar to the Classpath field 
of the Execute system Groovy Script build step.
* adding -cp /ci/lib/mysql-connector-java-5.1.22-bin.jar to the Classpath 
field of the Execute system Groovy Script build step.

* putting the driver in the tomcat users ~/.groovy/lib

* putting the driver in $TOMCAT_HOME/lib


None of these seemed to work. What am I missing?


Thanks,

Lloyd


-- 
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.
 
 




-- 
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.




Re: system Groovy script claspath question

2013-04-05 Thread Kamal Ahmed
well, it depends on how you installed jenkins, if you used apt-get on a debian 
system, then jenkins is the user, if you deploy jenkins war in a tomcat 
container then i believe tomcat is the user.







 From: Lloyd Meinholz meinh...@javabilities.com
To: jenkinsci-users@googlegroups.com 
Sent: Friday, April 5, 2013 10:09 AM
Subject: Re: system Groovy script claspath question
 

I thought that since jenkins was running as an application in the tomcat 
container that the tomcat user is the same as the jenkins user in this 
context. That is why I was referring to the tomcat user. Did I misunderstand 
how that is working?

I have the Classpath from:

Thread.currentThread().executable.parent.builds[0].properties.get(envVars).CLASSPATH

which comes up empty even though I have a value in the Classpath section of 
the Execute system Groovy script build task.

Additionally, I have the jar file in ~tomcat/.groovy/lib and the 
$TOMCAT_HOME/lib and the script still can't find the driver...

I guess you are talking about env and $PATH from a shell perspective. I have 
iterated through everything envVars gives me, which is I guess equivalent to 
env and the CLASSPATH is empty.

Thanks,

Lloyd







On Fri, Apr 5, 2013 at 7:06 AM, Kamal Ahmed kamalah...@yahoo.com wrote:

I think you should think of the user executing the scripts from user jenkins 
perpective.
also good idea to run env or set and echo $PATH as shell script, to see 
what environment you have.
Hope that helps
-K







 From: Lloyd Meinholz meinh...@javabilities.com
To: jenkinsci-users@googlegroups.com 
Sent: Thursday, April 4, 2013 2:21 PM
Subject: system Groovy script claspath question
 

I'm banging my head trying to solve this issue. I would like one of my 
system Groovy scripts to insert a row into a database. I need my jdbc 
driver to do this.

I'm on Solaris 10, jdk 1.6.0_35-b10, tomcat 7.0.39, jenkins 1.509, Hudson 
groovy builder 1.13.


The mysql jdbc driver I am using lives in 
/ci/lib/mysql-connector-java-5.1.22-bin.jar. I verified the jar was good by 
unjarring it. I use this jar in another web application to access the same 
mysql server.



I have been unable to have access to the jdbc driver from my script:


FATAL: com.mysql.jdbc.Driver java.lang.ClassNotFoundException: 
com.mysql.jdbc.Driver

I tried:


* adding /ci/lib to the Classpath field of the Execute system Groovy 
Script build step.
* adding -cp /ci/lib to the Classpath field of the Execute system Groovy 
Script build step.
* adding /ci/lib/mysql-connector-java-5.1.22-bin.jar to the Classpath 
field of the Execute system Groovy Script build step.
* adding -cp /ci/lib/mysql-connector-java-5.1.22-bin.jar to the Classpath 
field of the Execute system Groovy Script build step.

* putting the driver in the tomcat users ~/.groovy/lib

* putting the driver in $TOMCAT_HOME/lib


None of these seemed to work. What am I missing?


Thanks,

Lloyd

-- 
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.
 
 


 -- 
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.
 
 


-- 
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.
 
 




-- 
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.




Re: email-ext reporting Branch name

2013-04-05 Thread Kamal Ahmed
i am having trouble understanding WHERE the tags ${build} , ${changeSet} are 
coming from, is there a way to get a list of what tags are available, and what 
methods can be used with them, like ${build.changeSet} without looking at the 
Jenkins and email-ext Source ?

Also i just realized that the PATH which contains the repo name is ONLY 
available if someone checks in a changeset in subversion ( we are using 
subversion here ) but with NO changes, i would STILL like to see the repo name, 
is there a way to so that ?

Thanks,
-Kamal.






 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Thursday, April 4, 2013 3:14 PM
Subject: Re: email-ext reporting Branch name
 

The template files use the syntax of the SimpleTemplateEngine [1] from Groovy. 
The email-ext.groovy is the default file that sets up the 
SimpleTemplateEngine. I've been meaning to change this so that the script is 
not needed, it just sets up some bindings for the template and I don't believe 
anyone is changing that file. In the Groovy templates, you can use code blocks 
to do operations and use the full Groovy language to do things intermixed with 
the output generation. Think along the lines of PHP or JSP where you have code 
embedded along with the HTML/rendering. The default templates have some 
try/catch blocks and some if/else type blocks, you could also use the built-in 
regex support in Groovy to do what you want with the regex.


%
def yourStuff = yourString =~ /someregex/
%


blah blah ${yourStuff}





1 - http://groovy.codehaus.org/Groovy+Templates



On Thu, Apr 4, 2013 at 10:45 AM, Kamal Ahmed kamalah...@yahoo.com wrote:

My only excuse is mostly my lack of groovy knowledge, and how it would work.

1. I see the .groovy files and .template files, which one's should i use :

  ${SCRIPT,template=groovy-html.template} 

or:
 
  ${SCRIPT,groovy=email-ext.groovy} 
  


and if we look at jelly vs Groovy:


Jelly ( html.jelly ) 



!-- GENERAL INFO --

TABLE
  TRTD align=right
    j:choose
  j:when test=${build.result=='SUCCESS'}
    IMG SRC=${rooturl}static/e59dfe28/images/32x32/blue.gif /
  /j:when
  j:when test=${build.result=='FAILURE'}
    IMG SRC=${rooturl}static/e59dfe28/images/32x32/red.gif /
  /j:when
  j:otherwise
    IMG SRC=${rooturl}static/e59dfe28/images/32x32/yellow.gif /
  /j:otherwise
    /j:choose
  /TDTD
 valign=centerB style=font-size: 200%;BUILD ${build.result}/B/TD/TR
  TRTDBuild URL/TDTDA 
href=${rooturl}${build.url}${rooturl}${build.url}/A/TD/TR
  TRTDProject:/TDTD${project.name}/TD/TR
  TRTDDate of build:/TDTD${it.timestampString}/TD/TR
  TRTDBuild duration:/TDTD${build.durationString}/TD/TR
/TABLE
BR/



in Groovy : (groovy-html.template)


TABLE
  TRTD align=rightIMG SRC=${rooturl}static/e59dfe28/images/32x32/%= 
build.result.toString() == 'SUCCESS' ? blue.gif : build.result.toString() 
== 'FAILURE' ? 'red.gif' : 'yellow.gif' % /
  /TDTD valign=centerB style=font-size: 200%;BUILD 
${build.result}/B/TD/TR
  TRTDBuild URL/TDTDA 
href=${rooturl}${build.url}${rooturl}${build.url}/A/TD/TR
 
 TRTDProject:/TDTD${project.name}/TD/TR
  TRTDDate of build:/TDTD${it.timestampString}/TD/TR
  TRTDBuild duration:/TDTD${build.durationString}/TD/TR
/TABLE





Am i missing something, and what do i gain by switching to Groovy, unless the 
sample scripts are bad examples. I was sort of Expecting the Groovy to be 
more like we Code in Java.


Thanks,
-Kamal.



 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Thursday, April 4, 2013 1:09 PM
Subject: Re: email-ext reporting Branch name
 


Well, is there a reason you aren't doing this in Groovy? It would be orders 
of magnitude easier than trying to do it in Jelly.



On Thu, Apr 4, 2013 at 9:39 AM, Kamal Ahmed kamalah...@yahoo.com wrote:

Hi,


I  want to be able to use jelly script ( Apologize for not doing this in 
Groovy ) to display the branch name on which the changeset was submitted in 
subversion.


Like , here is a snippet of my custom.jelly 


The p.path string is : 
/perlapp/trunk/cgi-bin/developer/smeview/reviewfiles/demo/cui_sample.csv


so, i want to extract perlapp and trunk and display them in the email 
header.






  TDBuild duration:/TD
    TD${build.durationString}/TD
  /TR
  TR
    TDBranch:/TD
    TDI want to do a regex here on ${p.path} to extract the first and 
second string/TD
  /TR
    /TABLE
    BR /
    !-- CHANGE SET
 --
    j:set var=changeSet value=${build.changeSet} /
    j:if test=${changeSet!=null}
  j:set var=hadChanges value=false /
  TABLE width=100%
    TR
  TD class=bg1 colspan=2
    BCHANGES/B
  /TD
    /TR
    j:forEach var=cs items=${changeSet} varStatus=loop
  j:set var=hadChanges value=true /
  j:set var=aUser
 value

email-ext reporting Branch name

2013-04-04 Thread Kamal Ahmed
Hi,

I  want to be able to use jelly script ( Apologize for not doing this in Groovy 
) to display the branch name on which the changeset was submitted in subversion.

Like , here is a snippet of my custom.jelly 

The p.path string is : 
/perlapp/trunk/cgi-bin/developer/smeview/reviewfiles/demo/cui_sample.csv

so, i want to extract perlapp and trunk and display them in the email 
header.



  TDBuild duration:/TD
    TD${build.durationString}/TD
  /TR
  TR
    TDBranch:/TD
    TDI want to do a regex here on ${p.path} to extract the first and 
second string/TD
  /TR
    /TABLE
    BR /
    !-- CHANGE SET --
    j:set var=changeSet value=${build.changeSet} /
    j:if test=${changeSet!=null}
  j:set var=hadChanges value=false /
  TABLE width=100%
    TR
  TD class=bg1 colspan=2
    BCHANGES/B
  /TD
    /TR
    j:forEach var=cs items=${changeSet} varStatus=loop
  j:set var=hadChanges value=true /
  j:set var=aUser value=${cs.hudsonUser} /
  TR
    TD colspan=2 class=bg2${spc}Revision
    B${cs.commitId?:cs.revision?:cs.changeNumber}/Bby
    B${aUser!=null?aUser.displayName:cs.author.displayName}:/B
    B(${cs.msgAnnotated})/B/TD
  /TR
  j:forEach var=p items=${cs.affectedFiles}
    TR
  TD width=10%${spc}${p.editType.name}/TD
  TD${p.path}/TD

-- 
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.




Re: email-ext reporting Branch name

2013-04-04 Thread Kamal Ahmed
My only excuse is mostly my lack of groovy knowledge, and how it would work.

1. I see the .groovy files and .template files, which one's should i use :

  ${SCRIPT,template=groovy-html.template} 

or:
 
  ${SCRIPT,groovy=email-ext.groovy} 
  


and if we look at jelly vs Groovy:

Jelly ( html.jelly ) 


!-- GENERAL INFO --

TABLE
  TRTD align=right
    j:choose
  j:when test=${build.result=='SUCCESS'}
    IMG SRC=${rooturl}static/e59dfe28/images/32x32/blue.gif /
  /j:when
  j:when test=${build.result=='FAILURE'}
    IMG SRC=${rooturl}static/e59dfe28/images/32x32/red.gif /
  /j:when
  j:otherwise
    IMG SRC=${rooturl}static/e59dfe28/images/32x32/yellow.gif /
  /j:otherwise
    /j:choose
  /TDTD valign=centerB style=font-size: 200%;BUILD 
${build.result}/B/TD/TR
  TRTDBuild URL/TDTDA 
href=${rooturl}${build.url}${rooturl}${build.url}/A/TD/TR
  TRTDProject:/TDTD${project.name}/TD/TR
  TRTDDate of build:/TDTD${it.timestampString}/TD/TR
  TRTDBuild duration:/TDTD${build.durationString}/TD/TR
/TABLE
BR/


in Groovy : (groovy-html.template)

TABLE
  TRTD align=rightIMG SRC=${rooturl}static/e59dfe28/images/32x32/%= 
build.result.toString() == 'SUCCESS' ? blue.gif : build.result.toString() == 
'FAILURE' ? 'red.gif' : 'yellow.gif' % /
  /TDTD valign=centerB style=font-size: 200%;BUILD 
${build.result}/B/TD/TR
  TRTDBuild URL/TDTDA 
href=${rooturl}${build.url}${rooturl}${build.url}/A/TD/TR
  TRTDProject:/TDTD${project.name}/TD/TR
  TRTDDate of build:/TDTD${it.timestampString}/TD/TR
  TRTDBuild duration:/TDTD${build.durationString}/TD/TR
/TABLE



Am i missing something, and what do i gain by switching to Groovy, unless the 
sample scripts are bad examples. I was sort of Expecting the Groovy to be more 
like we Code in Java.

Thanks,
-Kamal.



 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Thursday, April 4, 2013 1:09 PM
Subject: Re: email-ext reporting Branch name
 

Well, is there a reason you aren't doing this in Groovy? It would be orders of 
magnitude easier than trying to do it in Jelly.



On Thu, Apr 4, 2013 at 9:39 AM, Kamal Ahmed kamalah...@yahoo.com wrote:

Hi,


I  want to be able to use jelly script ( Apologize for not doing this in 
Groovy ) to display the branch name on which the changeset was submitted in 
subversion.


Like , here is a snippet of my custom.jelly 


The p.path string is : 
/perlapp/trunk/cgi-bin/developer/smeview/reviewfiles/demo/cui_sample.csv


so, i want to extract perlapp and trunk and display them in the email 
header.






  TDBuild duration:/TD
    TD${build.durationString}/TD
  /TR
  TR
    TDBranch:/TD
    TDI want to do a regex here on ${p.path} to extract the first and 
second string/TD
  /TR
    /TABLE
    BR /
    !-- CHANGE SET
 --
    j:set var=changeSet value=${build.changeSet} /
    j:if test=${changeSet!=null}
  j:set var=hadChanges value=false /
  TABLE width=100%
    TR
  TD class=bg1 colspan=2
    BCHANGES/B
  /TD
    /TR
    j:forEach var=cs items=${changeSet} varStatus=loop
  j:set var=hadChanges value=true /
  j:set var=aUser
 value=${cs.hudsonUser} /
  TR
    TD colspan=2 class=bg2${spc}Revision
    B${cs.commitId?:cs.revision?:cs.changeNumber}/Bby
    B${aUser!=null?aUser.displayName:cs.author.displayName}:/B
    B(${cs.msgAnnotated})/B/TD
  /TR
  j:forEach var=p items=${cs.affectedFiles}
    TR
 
 TD width=10%${spc}${p.editType.name}/TD
  TD${p.path}/TD
 -- 
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.
 
 




-- 
Website: http://earl-of-code.com 
-- 
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.
 
 




-- 
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.




ERROR: Publisher hudson.plugins.sloccount.SloccountPublisher aborted due to exception

2013-04-03 Thread Kamal Ahmed
Hi,
I am trying to use Sloccount plugin. with Jenkins ver. 1.506 on Ubuntu 12.04

First i tried the version 1.8, then 

1.8-SNAPSHOT (private-06/29/2012 16:25-brandt)

But i am still getting the exception




ERROR: Publisher hudson.plugins.sloccount.SloccountPublisher aborted due to 
exception java.lang.NullPointerException  at 
java.lang.String.lastIndexOf(String.java:1823) at 
java.lang.String.lastIndexOf(String.java:1805) at 
hudson.plugins.sloccount.model.SloccountReport.extractFolder(SloccountReport.java:68)
 at hudson.plugins.sloccount.model.SloccountReport.add(SloccountReport.java:47) 
at 
hudson.plugins.sloccount.model.SloccountParser.parseLine(SloccountParser.java:92)
 at 
hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:59) 
at 
hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:50) 
at 
hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:40) 
at 
hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:17) 
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) at 
hudson.remoting.UserRequest.perform(UserRequest.java:118) at
 hudson.remoting.UserRequest.perform(UserRequest.java:48) at 
hudson.remoting.Request$2.run(Request.java:326) at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at 
java.util.concurrent.FutureTask.run(FutureTask.java:138) at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) 
at java.lang.Thread.run(Thread.java:662) Email was triggered for: Failure
Sending email for trigger: Failure

-- 
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.




Clover / Cover Perl application with Jenkins

2013-03-12 Thread Kamal Ahmed
Hi,
Does anyone have recommendation/Experience with doing Code Coverage reports in 
Jenkins with a Perl Application ?
I would appreciate of you share your knowledge/experience.

I have tests running against a perl based application in TAP, then doing 
something like:
prove --formatter=TAP::Formatter::JUnit -l t  test_results.xml
Now want to use Clover to do Test Coverage Analysis in Jenkins.

Thanks,
-Kamal.

-- 
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.




Re: email-ext Exception while replacing BUILD_LOG_EXCERPT. Please

2013-03-05 Thread Kamal Ahmed
I also upgraded Email-Ext and it seems all file sin the template are gone!
Any idea how to get them back ?

jenkins.log

Mar 5, 2013 11:08:53 AM hudson.model.Run execute
INFO: JASPER-SERVER #20 main build action completed: SUCCESS
Mar 5, 2013 11:08:53 AM hudson.plugins.emailext.plugins.content.ScriptContent 
createEngine
SEVERE: Exception on init file: java.io.FileNotFoundException: 
/var/lib/jenkins/email-templates/groovy/init.groovy (No such file or directory)
Mar 5, 2013 11:08:53 AM hudson.plugins.emailext.plugins.ContentBuilder 
replaceTokensWithContent
SEVERE: Exception thrown while replacing ${SCRIPT,groovy=cust}
groovy.lang.GroovyRuntimeException: Failed to parse template script (your 
template may contain an error or be trying to use expressions not currently 
supported): startup failed:
SimpleTemplateScript1.groovy: 146: expecting '}', found '' @ line 146, column 
40.
   /* Generated by SimpleTemplateEngine */
  ^

1 error

    at 
groovy.text.SimpleTemplateEngine.createTemplate(SimpleTemplateEngine.java:125)
    at groovy.text.TemplateEngine.createTemplate(TemplateEngine.java:38)
    at groovy.text.TemplateEngine$createTemplate.call(Unknown Source)
    at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
    at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
    at Script1.run(Script1.groovy:19)
    at groovy.lang.GroovyShell.evaluate(GroovyShell.java:650)
    at groovy.lang.GroovyShell.evaluate(GroovyShell.java:636)
    at 
hudson.plugins.emailext.plugins.content.ScriptContent.renderContent(ScriptContent.java:144)
    at 
hudson.plugins.emailext.plugins.content.ScriptContent.getContent(ScriptContent.java:100)
    at 
hudson.plugins.emailext.plugins.ContentBuilder.replaceTokensWithContent(ContentBuilder.java:119)
    at 
hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:92)
    at 
hudson.plugins.emailext.ExtendedEmailPublisher.getContent(ExtendedEmailPublisher.java:674)
    at 
hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:469)
    at 
hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:304)
    at 
hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:296)
    at 
hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:256)
    at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
    at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:810)
    at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:785)
    at hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
    at hudson.model.Run.execute(Run.java:1601)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:236)







 From: Alex Earl slide.o@gmail.com
To: Kamal Ahmed kamalah...@yahoo.com; jenkinsci-users@googlegroups.com 
jenkinsci-users@googlegroups.com 
Sent: Tuesday, March 5, 2013 10:45 AM
Subject: RE: email-ext Exception while replacing BUILD_LOG_EXCERPT. Please
 
report this as a bug. ]] {{ java.lang.NullPointerException }}
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary=1869880960-1242272882-1362493139=:18508

--1869880960-1242272882-1362493139=:18508
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

I need more info, please post any info from the Jenkins logs as well as
your content template.p


Sent from my Windows Phone
From: Kamal Ahmed
Sent: 3/5/2013 7:19
To: jenkinsci-users@googlegroups.com
Subject: email-ext Exception while replacing BUILD_LOG_EXCERPT. Please
report this as a bug. ]] {{ java.lang.NullPointerException }}
Hi,

If i use ${BUILD_LOG_EXCERPT} , in the Default Content, with jenkins
1.5, i get the following in the email.

[[ Exception while replacing BUILD_LOG_EXCERPT. Please report this as a bug. ]]
{{ java.lang.NullPointerException }}

-- 
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.



--1869880960-1242272882-1362493139=:18508
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

htmlbodyhtmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-e=
quiv=3DContent-Type/headbodydivdiv style=3Dfont-family: Calibri,=
sans-serif; font-size: 11pt;I need more info, please post any info from t=
he Jenkins logs as well as your content template.pbrbrbrSent from my =
Windows Phonebr/div/divhrspan style

Re: git on jenkins

2013-02-19 Thread Kamal Ahmed


kahmed@datascout:~/TEMP$ id
uid=1000(kahmed) gid=1000(kahmed) 
groups=1000(kahmed),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),109(lpadmin),124(sambashare)
kahmed@datascout:~/TEMP$ git clone 
10.100.100.96:/extra/cte/www/repo/Dout.git
Cloning into 'Dout'...
remote: Counting objects: 835, done.
remote: Compressing objects: 100% (604/604), done.
remote: Total 835 (delta 248), reused 597 (delta 141)
Receiving objects: 100% (835/835), 44.51 MiB | 20.25 MiB/s, done.
Resolving deltas: 100% (248/248), done.
kahmed@datascout:~/TEMP$ 

so i CAN clone the repo, using git, from command line, and WHY i cannot do the 
same via Jenkins ? That is the question.

and as per your suggestion: again from command line:

ssh kahmed@10.100.100.96 hostname
cybage02


so i AM able to execute commands without password.




 From: Mark Waite markwa...@yahoo.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Tuesday, February 19, 2013 7:44 AM
Subject: Re: git on jenkins
 

I think that indicates that the user account context where you have configured 
passwordless login is probably different than the user account context where 
you are executing Jenkins.


You might be able to check that by creating a small job which performs some 
ssh command to the same remote host which is hosting your git repository.  For 
example, if you create a job which runs the command ssh IP address 
hostname (on IP address, execute the command hostname), then you'll 
probably see a similar permission denied message and you can begin studying 
the differences between the context where it works and the context where it 
fails.


Mark Waite




 From: Kamal Ahmed kamalah...@yahoo.com
To: Johannes Wienke jwie...@techfak.uni-bielefeld.de; 
jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Tuesday, February 19, 2013 5:27 AM
Subject: Re: git on jenkins
 

Johannes,

I still get error if i use ssh ( See attached screen shot ) 

Thanks,
-Kamal.









 From: Johannes Wienke jwie...@techfak.uni-bielefeld.de
To: jenkinsci-users@googlegroups.com 
Cc: Kamal Ahmed kamalah...@yahoo.com 
Sent: Tuesday, February 19, 2013 5:47 AM
Subject: Re: git on jenkins
 
On 02/18/2013 05:08 PM, Kamal Ahmed wrote:
 Hi,
 I setup 2 linux hosts with passwordless login, and git clone IP 
 Address:/extra/yte/www/repo/Dout.git
 works on command line, but when i use : IP 
 Address:/extra/yte/www/repo/Dout.git as repo URL, i get an error:
 
 Failed to connect to repository : Command /usr/bin/git ls-remote -h IP 
 Address:/extra/yte/www/repo/Dout.git HEAD returned 
 status code 128:
 stdout: 
 stderr: Permission denied, please try again. 
 Permission denied, please try again. 
 Permission denied (publickey,password). 
 fatal: The remote end hung up unexpectedly

I think you missed the ssh:// in the URL?

Cheers,
Johannes





-- 
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.
 
 



-- 
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.
 
 




-- 
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.




Re: git on jenkins

2013-02-19 Thread Kamal Ahmed
Something is wrong with the email To: section, as this replaced my name with 
Johannes -- FYI to List Admins
-Kamal.





 From: Johannes Wienke jwie...@techfak.uni-bielefeld.de
To: jenkinsci-users@googlegroups.com 
Cc: Kamal Ahmed kamalah...@yahoo.com 
Sent: Tuesday, February 19, 2013 10:51 AM
Subject: Re: git on jenkins
 
On 02/19/2013 04:49 PM, Kamal Ahmed wrote:
 
 
 kahmed@datascout:~/TEMP$ id
 uid=1000(kahmed) gid=1000(kahmed) 
 groups=1000(kahmed),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),109(lpadmin),124(sambashare)
 kahmed@datascout:~/TEMP$ git clone 
 10.100.100.96:/extra/cte/www/repo/Dout.git
 Cloning into 'Dout'...
 remote: Counting objects: 835, done.
 remote: Compressing objects: 100% (604/604), done.
 remote: Total 835 (delta 248), reused 597 (delta 141)
 Receiving objects: 100% (835/835), 44.51 MiB | 20.25 MiB/s, done.
 Resolving deltas: 100% (248/248), done.
 kahmed@datascout:~/TEMP$ 
 
 so i CAN clone the repo, using git, from command line, and WHY i cannot do 
 the same via Jenkins ? That is the question.
 
 and as per your suggestion: again from command line:
 
 ssh kahmed@10.100.100.96 hostname
 cybage02

The slave is really running under user kahmed?

Cheers,
Johannes






-- 
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.




Re: git on jenkins

2013-02-19 Thread Kamal Ahmed
Username = kahmed
which is the same user which can do a git successfully on a command line.







 From: Johannes Wienke jwie...@techfak.uni-bielefeld.de
To: Kamal Ahmed kamalah...@yahoo.com; jenkinsci-users@googlegroups.com 
Sent: Tuesday, February 19, 2013 12:12 PM
Subject: Re: git on jenkins
 
On 19.02.2013 17:28 schrieb Kamal Ahmed:
 
 Johannes,
 
 sorry for the private message, just fat fingered when replying.
 yes, i am using 
 Launch slave on Unix machines using SSH as start method
 
 not sure what is the file to be configured
 
 My network is 
 
 [Jenkins Master ] --- [ Slave ] --- [10.100.100.96/cybage02] , cybage02, 
 is where the git repo is setup.
 

That wasn't what I meant. If you look at the configuration of the slave
in the jenkins web interface, what is the value of the username field,
if you open open up the extended settings for the SSH connection?

Cheers,
Johannes






-- 
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.




git on jenkins

2013-02-18 Thread Kamal Ahmed
Hi,
I setup 2 linux hosts with passwordless login, and git clone IP 
Address:/extra/yte/www/repo/Dout.git
works on command line, but when i use : IP 
Address:/extra/yte/www/repo/Dout.git as repo URL, i get an error:

Failed to connect to repository : Command /usr/bin/git ls-remote -h IP 
Address:/extra/yte/www/repo/Dout.git HEAD returned 
status code 128:
stdout: 
stderr: Permission denied, please try again. 
Permission denied, please try again. 
Permission denied (publickey,password). 
fatal: The remote end hung up unexpectedly

Anyone solved this issue before ?
Thanks,
-Kamal.

-- 
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.




Permission denied (publickey,password). cannot get git to work on Jenkins

2013-02-18 Thread Kamal Ahmed
I setup 2 linux hosts with passwordless login, and git clone IP 
Address:/extra/yte/www/repo/Dout.git
works on command line, but when i use : IP 
Address:/extra/yte/www/repo/Dout.git as repo URL, in Jenkins, i get an error:

Failed to connect to repository : Command /usr/bin/git ls-remote -h IP 
Address:/extra/yte/www/repo/Dout.git HEAD returned 
status code 128:
stdout: 
stderr: Permission denied, please try again. 
Permission denied, please try again. 
Permission denied (publickey,password). 
fatal: The remote end hung up unexpectedly

Anyone solved this issue before ?

I apologize for resending this, as i realized the subject of the same email was 
too vague.

-- 
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.




Re: slave continually going offline , Disk space is too low

2013-02-15 Thread Kamal Ahmed
sharing the workaround:

http://stackoverflow.com/questions/1923406/where-to-configure-hudson-node-disk-temp-space-thresholds
its all via UI
-Kamal.






 From: Kamal Ahmed kamalah...@yahoo.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Wednesday, February 13, 2013 9:30 AM
Subject: slave continually going offline , Disk space is too low
 

I have one centos 6.3 slave going offline continually while complaining of 
Disk Space too Low


but when i do a df -h, i get:


 df -h
Filesystem    Size  Used Avail Use% Mounted
 on
/dev/mapper/vg1-lv_root
  5.0G  3.2G  1.5G  69% /
tmpfs 939M 0  939M   0% /dev/shm
/dev/sda1    1008M  130M  828M  14% /boot
/dev/mapper/vg1-lv_home
  2.0G  1.1G  889M  54% /home
/dev/mapper/vg1-lv_opt
  756M   17M  701M   3%
 /opt
/dev/mapper/vg1-lv_tmp
  2.0G   68M  1.9G   4% /tmp
/dev/mapper/vg1-lv_var
  2.0G  1.6G  284M  86% /var
/dev/mapper/vg1-lv_var_log
  756M   49M  669M   7% /var/log
/dev/mapper/vg2-lv_extra
   18G  3.7G   14G  22% /extra


-- 
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.
 
 




-- 
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.




Re: ssh://IP address/Path to git repo Does not work

2013-02-14 Thread Kamal Ahmed
yes, JM ( Jenkins Master ) and JS ( jenkins Slave ) are two different machines. 
JM being @ home and connected via vpn, and JS being on the company lan.
But i am able to connect ssh without password between these two machines as 
user Jenkins.

also i am able to get the repo by using:

git clone 10.100.243.212:/var/www/invo_app .

i get the repo

Very confusing, there should be some documentation on how this works.
Thanks,
-Kamal.






 From: Octavian Covalschi octavian.covals...@gmail.com
To: jenkinsci-users@googlegroups.com 
Sent: Thursday, February 14, 2013 5:13 PM
Subject: Re: ssh://IP address/Path to git repo Does not work
 

It looks like JM and JS are 2 different machines, yes?
Is the job being executed on JM or JS? 
How are you populating /var/www/invo_app ?


Recently I have tried jenkins with git to pull from a network computer, but in 
my use case I had ssh://JM IP ADDRESS/my_project






On Thu, Feb 14, 2013 at 4:02 PM, Kamal Ahmed kamalah...@yahoo.com wrote:

Hi,
I have setup between Jenkins Master (JM) and Jenkins Slave (JS) so that user 
jenkins from JM can do an ssh login to JS as user jenkins ( manually 
created ) 

without password. by exchanging secure authorized_keys.
But now when i use git repository URL as ssh://JS IP 
ADDRESS/var/www/invo_app



i get the following error:


16:50:11 Started by user anonymous
16:50:11 Building remotely on datascout in workspace 
/home/kahmed/workspace/DA_v2
16:50:11 Checkout:DA_v2 / /home/kad/workspace/DA_v2 - 
hudson.remoting.Channel@54942a84:da
16:50:11 Using strategy: Default
16:50:11 Cloning the remote Git repository
16:50:11 Cloning repository ssh://JS IP ADDRESS/var/www/invo_app
16:50:11 git --version
16:50:11 git version 1.7.9.5

16:51:15 ERROR: Error cloning remote repo 'origin' : Could not clone ssh://JS
 IP ADDRESS/var/www/invo_app
16:51:15 hudson.plugins.git.GitException: Could not clone ssh://JS IP 
ADDRESS/var/www/invo_app
16:51:15     at hudson.plugins.git.GitAPI.clone(GitAPI.java:273)
16:51:15     at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1044)
16:51:15     at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986)
16:51:15     at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348)
16:51:15     at hudson.remoting.UserRequest.perform(UserRequest.java:118)
16:51:15     at hudson.remoting.UserRequest.perform(UserRequest.java:48)
16:51:15     at hudson.remoting.Request$2.run(Request.java:326)
16:51:15     at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
16:51:15     at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
16:51:15     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
16:51:15     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
16:51:15     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
16:51:15     at java.lang.Thread.run(Thread.java:679)
16:51:15 Caused by: hudson.plugins.git.GitException: Command /usr/bin/git 
clone --progress -o origin ssh://JS IP ADDRESS/var/www/invo_app 
/home/kad/workspace/DA_v2 returned status code 128:
16:51:15 stdout: Cloning into '/home/kahmed/workspace/DA_v2'...
16:51:15 
16:51:15 stderr: ssh: connect to host 10.100.243.212 port 22: Connection 
timed out
16:51:15 fatal: The remote end hung up unexpectedly
16:51:15 
16:51:15     at
 hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:897)
16:51:15     at hudson.plugins.git.GitAPI.access$000(GitAPI.java:42)
16:51:15     at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:269)
16:51:15     at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:248)
16:51:15     at hudson.FilePath.act(FilePath.java:865)
16:51:15     at hudson.FilePath.act(FilePath.java:838)
16:51:15     at hudson.plugins.git.GitAPI.clone(GitAPI.java:248)
16:51:15     ... 12 more
16:51:15 Trying next repository
16:51:15 ERROR: Could not clone repository
16:51:15 FATAL: Could not clone
16:51:15 hudson.plugins.git.GitException: Could not clone
16:51:15     at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1056)
16:51:15     at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986)
16:51:15
     at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348)
16:51:15     at hudson.remoting.UserRequest.perform(UserRequest.java:118)
16:51:15     at hudson.remoting.UserRequest.perform(UserRequest.java:48)
16:51:15     at hudson.remoting.Request$2.run(Request.java:326)
16:51:15     at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
16:51:15     at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
16:51:15     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
16:51:15     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
16:51:15     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
16:51:15     at
 java.lang.Thread.run(Thread.java:679)
 -- 
You received this message because

using git with Jenkins , stderr: ssh: Could not resolve hostname : Name or service not known

2013-02-12 Thread Kamal Ahmed
I am trying to use git with Jenkins.

The URL that i have been given is:
git clone 10.100.243.212:/var/www/invo_app , which works as an LDAP user on 
command line:


But when i use Jenkins , i get:


Cloning repository ssh:///$GIT_USER@1.2.3.4:/var/www/invo_app
git --version
git version 1.7.9.5
ERROR: Error cloning remote repo 'origin' : Could not clone 
ssh:///$GIT_USER@1.2.3.4:/var/www/invo_app hudson.plugins.git.GitException: 
Could not clone ssh:///$GIT_USER@1.2.3.4:/var/www/invo_app at 
hudson.plugins.git.GitAPI.clone(GitAPI.java:273) at 
hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1044) at 
hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986) at 
hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) at 
hudson.remoting.UserRequest.perform(UserRequest.java:118) at 
hudson.remoting.UserRequest.perform(UserRequest.java:48) at 
hudson.remoting.Request$2.run(Request.java:326) at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at 
java.util.concurrent.FutureTask.run(FutureTask.java:166) at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 
at
 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
at java.lang.Thread.run(Thread.java:679) Caused by: 
hudson.plugins.git.GitException: Command /usr/bin/git clone --progress -o 
origin ssh:///$GIT_USER@1.2.3.4:/var/www/invo_app 
/home/kahmed/workspace/invo_app returned status code 128:
stdout: Cloning into '/home/kahmed/workspace/invo_app'... stderr: ssh: Could 
not resolve hostname : Name or service not known
fatal: The remote end hung up unexpectedly at 
hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:897) at 
hudson.plugins.git.GitAPI.access$000(GitAPI.java:42) at 
hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:269) at 
hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:248) at 
hudson.FilePath.act(FilePath.java:865) at 
hudson.FilePath.act(FilePath.java:838) at 
hudson.plugins.git.GitAPI.clone(GitAPI.java:248) ... 12 more
Trying next repository
ERROR: Could not clone repository FATAL: Could not clone 
hudson.plugins.git.GitException: Could not clone at 
hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1056) at 
hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:986) at 
hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) at 
hudson.remoting.UserRequest.perform(UserRequest.java:118) at 
hudson.remoting.UserRequest.perform(UserRequest.java:48) at 
hudson.remoting.Request$2.run(Request.java:326) at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at 
java.util.concurrent.FutureTask.run(FutureTask.java:166) at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
at java.lang.Thread.run(Thread.java:679)

-- 
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.




java.lang.OutOfMemoryError: PermGen space after upgrade to 1.500

2013-02-08 Thread Kamal Ahmed
Hi,
After i upgraded Jenkins to 1.500 on ubuntu 12.04 host. I am getting 
java.lang.OutOfMemoryError: PermGen space

After i click any link on Jenkins page, the CPU gets pegged 100%


This also happens when i let the page stay there and not click on anything.

Anyone found a resolution for this?

Thanks,
-Kamal.

-- 
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.




Re: java.lang.OutOfMemoryError: PermGen space after upgrade to 1.500

2013-02-08 Thread Kamal Ahmed
resolved for now, by downgrading jenkins to 1.494

But all the slaves are now off line, how do i bring the slaves back on ?
Thanks,
-Kamal.






 From: Kamal Ahmed kamalah...@yahoo.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Friday, February 8, 2013 8:53 AM
Subject: Re: java.lang.OutOfMemoryError: PermGen space after upgrade to 1.500
 

This was working with the same amount of PermGen Space yesterday BEFORE the 
upgrade.

jenkins JVM options:



/usr/bin/daemon --name=jenkins --inherit --env=JENKINS_HOME=/var/lib/jenkins 
--output=/var/log/jenkins/jenkins.log --pidfile=/var/run/jenkins/jenkins.pid 
-- /usr/bin/java -Xmx2048m -jar /usr/share/jenkins/jenkins.war 
--webroot=/var/cache/jenkins/war --httpPort=9000 --ajp13Port=-1



/usr/bin/java -Xmx2048m -jar /usr/share/jenkins/jenkins.war 
--webroot=/var/cache/jenkins/war --httpPort=9000 --ajp13Port=-1


Thiis is what i see when i do ps -ef | grep java




Java version:


java version 1.6.0_35
Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode)





after i let the Jenkins stay initially at the main , i get the following error 
in by browser ( this is in addition to the CPU being pegged 100% ) 



Content Encoding Error    
    
  The page you are trying to view cannot be shown because it uses an 
invalid or unsupported form of compression.
  Please contact the website owners to inform them of this problem.


Some build's ago in 2009, i saw someone complain about the exact coding error, 
and it was a plugin issue that Kohsuke fixed in the release plugin.


Thanks,
-Kamal.



 From: Mandeville, Rob rmandevi...@litle.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Friday, February 8, 2013 8:02 AM
Subject: RE: java.lang.OutOfMemoryError: PermGen space after upgrade to 1.500
 

 
If you’re running out of PermGen space, your problem is with your JVM.  Your 
CPU may be getting pegged because your JVM is desperately garbage collecting 
to get every last byte of storage left, but I could be wrong.  Basically, 
you’re going to have to tell the JVM running your Jenkins instance to give 
you more PermGen space.
 
Find out (if you don’t already know) which application server you’re running 
Jenkins with (if you’re launching it like “java –jar Jenkins.war”, you’re 
using the onboard WinStone app server), and which JVM you’re running that 
server in.  You’ll have to determine how much PermGen space you’re allocating 
(likely the default that your JVM gives) and how to tell the JVM running your 
App server to give it more.  Again, if you’re launching Jenkins as a plain 
Java app and using WinStone, you can add the PermGen space arguments right to 
the Java command line.
 
--Rob
 
 
From:jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Kamal Ahmed
Sent: Friday, February 08, 2013 7:47 AM
To: jenkinsci-users@googlegroups.com
Subject: java.lang.OutOfMemoryError: PermGen space after upgrade to 1.500
 
Hi,
After i upgraded Jenkins to 1.500 on ubuntu 12.04 host. I am getting 
java.lang.OutOfMemoryError: PermGen space
After i click any link on Jenkins page, the CPU gets pegged 100%
 
 
This also happens when i let the page stay there and not click on anything.
 
Anyone found a resolution for this?
Thanks,
-Kamal.
-- 
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.
 
 
The information in this message is for the intended recipient(s) only and may 
be the proprietary and/or confidential property of Litle  Co., LLC, and thus 
protected from disclosure. If you are not the intended recipient(s), or an 
employee or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any use, dissemination, distribution 
or copying of this communication is prohibited. If you have received this 
communication in error, please notify Litle  Co. immediately by replying to 
this message and then promptly deleting it and your reply permanently from 
your computer.

-- 
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.
 
 



-- 
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

Re: java.lang.OutOfMemoryError: PermGen space after upgrade to 1.500

2013-02-08 Thread Kamal Ahmed
i increased the PermGen, like you suggested and for the last few minutes its 
working ok, i even have a build going.
Crossing Fingers.
It would be nice to have RELEASE NOTES with every new build, or at least have a 
place where we can share our experiences about a particular release.

Thanks,
-Kamal.






 From: Kamal Ahmed kamalah...@yahoo.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Friday, February 8, 2013 10:37 AM
Subject: Re: java.lang.OutOfMemoryError: PermGen space after upgrade to 1.500
 

resolved for now, by downgrading jenkins to 1.494

But all the slaves are now off line, how do i bring the slaves back on ?
Thanks,
-Kamal.







 From: Kamal Ahmed kamalah...@yahoo.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Friday, February 8, 2013 8:53 AM
Subject: Re: java.lang.OutOfMemoryError: PermGen space after upgrade to 1.500
 

This was working with the same amount of PermGen Space yesterday BEFORE the 
upgrade.

jenkins JVM options:



/usr/bin/daemon --name=jenkins --inherit --env=JENKINS_HOME=/var/lib/jenkins 
--output=/var/log/jenkins/jenkins.log --pidfile=/var/run/jenkins/jenkins.pid 
-- /usr/bin/java -Xmx2048m -jar /usr/share/jenkins/jenkins.war 
--webroot=/var/cache/jenkins/war --httpPort=9000 --ajp13Port=-1



/usr/bin/java -Xmx2048m -jar /usr/share/jenkins/jenkins.war 
--webroot=/var/cache/jenkins/war --httpPort=9000 --ajp13Port=-1


Thiis is what i see when i do ps -ef | grep java




Java version:


java version 1.6.0_35
Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode)





after i let the Jenkins stay initially at the main , i get the following 
error in by browser ( this is in addition to the CPU being pegged 100% ) 



Content Encoding Error    
    
  The page you are trying to view cannot be shown because it uses an 
invalid or unsupported form of compression.
  Please contact the website owners to inform them of this problem.


Some build's ago in 2009, i saw someone complain about the exact coding 
error, and it was a plugin issue that Kohsuke fixed in the release plugin.


Thanks,
-Kamal.



 From: Mandeville, Rob rmandevi...@litle.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Friday, February 8, 2013 8:02 AM
Subject: RE: java.lang.OutOfMemoryError: PermGen space after upgrade to 1.500
 

 
If you’re running out of PermGen space, your problem is with your JVM.  Your 
CPU may be getting pegged because your JVM is desperately garbage collecting 
to get every last byte of storage left, but I could be wrong.  Basically, 
you’re going to have to tell the JVM running your Jenkins instance to give 
you more PermGen space.
 
Find out (if you don’t already know) which application server you’re running 
Jenkins with (if you’re launching it like “java –jar Jenkins.war”, you’re 
using the onboard WinStone app server), and which JVM you’re running that 
server in.  You’ll have to determine how much PermGen space you’re 
allocating (likely the default that your JVM gives) and how to tell the JVM 
running your App server to give it more.  Again, if you’re launching Jenkins 
as a plain Java app and using WinStone, you can add the PermGen space 
arguments right to the Java command line.
 
--Rob
 
 
From:jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Kamal Ahmed
Sent: Friday, February 08, 2013 7:47 AM
To: jenkinsci-users@googlegroups.com
Subject: java.lang.OutOfMemoryError: PermGen space after upgrade to 1.500
 
Hi,
After i upgraded Jenkins to 1.500 on ubuntu 12.04 host. I am getting 
java.lang.OutOfMemoryError: PermGen space
After i click any link on Jenkins page, the CPU gets pegged 100%
 
 
This also happens when i let the page stay there and not click on anything.
 
Anyone found a resolution for this?
Thanks,
-Kamal.
-- 
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.
 
 
The information in this message is for the intended recipient(s) only and 
may be the proprietary and/or confidential property of Litle  Co., LLC, and 
thus protected from disclosure. If you are not the intended recipient(s), or 
an employee or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any use, dissemination, distribution 
or copying of this communication is prohibited. If you have received this 
communication in error, please notify Litle  Co. immediately by replying to 
this message and then promptly deleting it and your reply permanently from 
your computer.

-- 
You received this message

sloccount plugin exception

2013-01-25 Thread Kamal Ahmed
Hi Group,

I am getting an exception:

12:16:34 ERROR: Publisher hudson.plugins.sloccount.SloccountPublisher aborted 
due to exception 12:16:34 java.lang.NullPointerException 12:16:34 at 
hudson.plugins.sloccount.model.SloccountParser.parseLine(SloccountParser.java:92)
 12:16:34 at 
hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:59) 
12:16:34 at 
hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:50) 
12:16:34 at 
hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:40) 
12:16:34 at 
hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:17) 
12:16:34 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2309) 
12:16:34 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 12:16:34 
at hudson.remoting.UserRequest.perform(UserRequest.java:48) 12:16:34 at 
hudson.remoting.Request$2.run(Request.java:326) 12:16:34 at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
 12:16:34 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
12:16:34 at java.util.concurrent.FutureTask.run(FutureTask.java:166) 12:16:34 
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 
12:16:34 at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
12:16:34 at java.lang.Thread.run(Thread.java:679)

Any ideas ? 


Re: sloccount plugin exception

2013-01-25 Thread Kamal Ahmed
P.S

This is on CentOs 6.3 ( Slave ) 


using sloccount-2.26-umask.1.x86_64.rpm

Jenkins sloccount plugin 1.8

Jenkins version 1.499, running on ubuntu 12.04 ( Master ) 






 From: Kamal Ahmed kamalah...@yahoo.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Friday, January 25, 2013 12:24 PM
Subject: sloccount plugin exception
 

Hi Group,


I am getting an exception:


12:16:34 ERROR: Publisher hudson.plugins.sloccount.SloccountPublisher aborted 
due to exception 12:16:34 java.lang.NullPointerException 12:16:34 at 
hudson.plugins.sloccount.model.SloccountParser.parseLine(SloccountParser.java:92)
 12:16:34 at 
hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:59) 
12:16:34 at 
hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:50) 
12:16:34 at 
hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:40) 
12:16:34 at 
hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:17) 
12:16:34 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2309) 
12:16:34 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 12:16:34 
at hudson.remoting.UserRequest.perform(UserRequest.java:48) 12:16:34 at 
hudson.remoting.Request$2.run(Request.java:326) 12:16:34 at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
 12:16:34 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
12:16:34 at java.util.concurrent.FutureTask.run(FutureTask.java:166) 12:16:34 
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 
12:16:34 at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
12:16:34 at java.lang.Thread.run(Thread.java:679)

Any ideas ? 




significance of .jenkins diectory tree

2012-12-28 Thread Kamal Ahmed
Hi,
Does anyone know the significance of /home/user/.jenkins and the 
files/Directories under it?
Can i remove them without having any impact on my jenkins Instance ?

.jenkins

.jenkins$ cd war
hostname:~/.jenkins/war$ ls
ColorFormatter.class  JNLPMain.class   MainDialog.class
css   LogFileOutputStream$1.class  Main$FileAndDescription.class
dc-license.txt    LogFileOutputStream$2.class  META-INF
executable    LogFileOutputStream.class    robots.txt
favicon.ico   Main.class   scripts
help  MainDialog$1$1.class WEB-INF
images    MainDialog$1.class   winstone.jar

Re: issue with Chrome Version 23.0.1271.95

2012-12-16 Thread Kamal Ahmed
Hi Slide,
Could ubuntu 12.04 have something to do with this, which is what i am using. 
see also: https://issues.jenkins-ci.org/browse/JENKINS-11396
so is it solved by installing Crowd2 plugin ?





 From: Slide slide.o@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Thursday, December 6, 2012 6:45 AM
Subject: Re: issue with Chrome Version 23.0.1271.95
 

I am unable to replicate this. I grabbed the source from github and used the 
tag for 1.492. I ran Jenkins and was able to add items to the builder list. I 
am using the same version of chrome.



On Wed, Dec 5, 2012 at 8:27 PM, Kamal Ahmed kamalah...@yahoo.com wrote:

i am getting the following in Javascript console when i do a pull down and try 
ot select :


Add Build Step -- execute Shell




http://localhost:9000/$stapler/bound/1eaa24a7-91e6-4e03-bc47-3c54c39940b5/render
  1. POST 
 http://localhost:9000/$stapler/bound/1eaa24a7-91e6-4e03-bc47-3c54c39940b5/render
  404 (Not Found) prototype.js:1585
  1. Ajax.Request.Class.create.requestprototype.js:1585
  2. Ajax.Request.Class.create.initializeprototype.js:1550
  3. (anonymous function)prototype.js:452
  4. klassprototype.js:101
  5. proxy.(anonymous function)bind.js:27
  6. renderOnDemandhudson-behavior.js:505
  7. (anonymous function)hetero-list.js:53
  8. YAHOO.util.CustomEvent.notifyevent-min.js:7
  9. YAHOO.util.CustomEvent.fireevent-min.js:7
  10. emenu-min.js:7
  11. nevent-min.js:7




 From: Alex Earl slide.o@gmail.com
To: Kamal Ahmed kamalah...@yahoo.com; 
jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Wednesday, December 5, 2012 9:10 PM
Subject: RE: issue with Chrome Version 23.0.1271.95
 


Any errors on the JavaScript console?

Sent from my Windows Phone


From: Kamal Ahmed
Sent: 12/5/2012 6:55 PM
To: jenkinsci-users@googlegroups.com
Subject: issue with Chrome Version 23.0.1271.95


There seems to be an issue with Chrome Version 23.0.1271.95. Pull Down Menu 
Items stop working in a project.
I was not able to create Execute Shell. I then switched over to Firefox, 
and the same version of Jenkins  1.492 , works
Just thought to let you guys know.
-Kamal.





-- 
Website: http://earl-of-code.com




slave setup with VPN connectivity

2012-12-05 Thread Kamal Ahmed
I am trying to setup a slave from home while on VPN. The master is on my laptop 
on the 192.168.x.x. net and i also have 143.123.x.x thru the VPN
but i just cannot seem to connect to the slave via home.

I tried using the ssh approach, but i just get a wheel turning forever and dont 
get any trace to see what is going on.

I have done this in the past, but there must be a proven documented way to 
connect.
Thanks,


issue with Chrome Version 23.0.1271.95

2012-12-05 Thread Kamal Ahmed
There seems to be an issue with Chrome Version 23.0.1271.95. Pull Down Menu 
Items stop working in a project.
I was not able to create Execute Shell. I then switched over to Firefox, and 
the same version of Jenkins  1.492 , works
Just thought to let you guys know.
-Kamal.

Re: issue with Chrome Version 23.0.1271.95

2012-12-05 Thread Kamal Ahmed
i am getting the following in Javascript console when i do a pull down and try 
ot select :

Add Build Step -- execute Shell




http://localhost:9000/$stapler/bound/1eaa24a7-91e6-4e03-bc47-3c54c39940b5/render
1. POST 
http://localhost:9000/$stapler/bound/1eaa24a7-91e6-4e03-bc47-3c54c39940b5/render
 404 (Not Found) prototype.js:1585
1. Ajax.Request.Class.create.requestprototype.js:1585
2. Ajax.Request.Class.create.initializeprototype.js:1550
3. (anonymous function)prototype.js:452
4. klassprototype.js:101
5. proxy.(anonymous function)bind.js:27
6. renderOnDemandhudson-behavior.js:505
7. (anonymous function)hetero-list.js:53
8. YAHOO.util.CustomEvent.notifyevent-min.js:7
9. YAHOO.util.CustomEvent.fireevent-min.js:7
10. emenu-min.js:7
11. nevent-min.js:7




 From: Alex Earl slide.o@gmail.com
To: Kamal Ahmed kamalah...@yahoo.com; jenkinsci-users@googlegroups.com 
jenkinsci-users@googlegroups.com 
Sent: Wednesday, December 5, 2012 9:10 PM
Subject: RE: issue with Chrome Version 23.0.1271.95
 

Any errors on the JavaScript console?

Sent from my Windows Phone


From: Kamal Ahmed
Sent: 12/5/2012 6:55 PM
To: jenkinsci-users@googlegroups.com
Subject: issue with Chrome Version 23.0.1271.95


There seems to be an issue with Chrome Version 23.0.1271.95. Pull Down Menu 
Items stop working in a project.
I was not able to create Execute Shell. I then switched over to Firefox, and 
the same version of Jenkins  1.492 , works
Just thought to let you guys know.
-Kamal.



cannot use Add Build Step -- Execute Shell

2012-12-04 Thread Kamal Ahmed
Just installed Jenkins 1.492 on ubuntu 12.04 , but i was not able to use ANY 
pulldown menu options available by Add Build Step
and i get no error as well. 

jdk:
 java -version
java version 1.6.0_35
Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode)

1. Is there any way to get a detailed error log 
2. Has anyone else experienced the same issue
i tried using apt-get , and from java -jar jenkins.war command line, and have 
the SAME issue

Thanks,
-Kamal.

The following packages have been kept back: (upgrading from Jenkins ver. 1.466.2 to Jenkins (1.480.1)

2012-12-03 Thread Kamal Ahmed
apt-get upgrade jenkins
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  jenkins linux-generic linux-headers-generic
  linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

cannot add build step after upgrade to 1.480.1

2012-12-03 Thread Kamal Ahmed
I do a pull down and select add build step but noting happens, and this happens 
for local hosts as well as slaves
Any clues ?
-Kamal.

trying to overwrite '/usr/share/jenkins/jenkins.war', which is also in package jenkins-common 1.424.6+dfsg-1ubuntu0.1

2012-12-03 Thread Kamal Ahmed
sudo apt-get remove jenkins-common 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libmaven-plugin-testing-java libjffi-jni libjnr-posix-java 
libconstantine-java libjenkins-remoting-java
  libmaven-common-artifact-filters-java jenkins-cli 
libmaven-enforcer-plugin-java libargs4j-java libanimal-sniffer-java
  libjffi-java libjaffl-java libmaven-invoker-java
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  jenkins
The following packages will be REMOVED:
  jenkins-common
The following packages will be upgraded:
  jenkins
1 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/48.3 MB of archives.
After this operation, 18.0 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 305807 files and directories currently installed.)
Preparing to replace jenkins 1.424.6+dfsg-1ubuntu0.1 (using 
.../archives/jenkins_1.492_all.deb) ...
jenkins stop/waiting
Unpacking replacement jenkins ...
dpkg: error processing /var/cache/apt/archives/jenkins_1.492_all.deb (--unpack):
 trying to overwrite '/usr/share/jenkins/jenkins.war', which is also in package 
jenkins-common 1.424.6+dfsg-1ubuntu0.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
jenkins start/running, process 31136
Errors were encountered while processing:
 /var/cache/apt/archives/jenkins_1.492_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


because i could not upgrade/remove Jenkins
i found that there is a conflict with jenkins-commons


Trying to use jQuery in Project Description

2012-11-03 Thread Kamal Ahmed
I am trying to use jQuery and graph plugin http://www.flotcharts.org/ to plot 
JSON based LIVE graphs with Build statistics and have few questions:

1. Where do i copy the .js files ? 
2. This needs to be self updating , How do i achieve that ?
3. Here is the JSON data


so if we have the url: 
http://143.122.173.89:8080/job/ONATHENA/lastSuccessfulBuild/api/json

we get the following JSON;

{actions:[{causes:[{shortDescription:Started by an SCM 
change}]},{},{},{}],artifacts:[],building:false,description:null,duration:13705,estimatedDuration:1041730,fullDisplayName:ONATHENA
 
#29,id:2012-10-25_10-01-43,keepLog:false,number:29,result:SUCCESS,timestamp:1351173703026,url:http://localhost:8080/job/ONATHENA/29/,builtOn:ATHENA,changeSet:{items:[{affectedPaths:[bin/admin/analyze_submission_failures.pl],author:{absoluteUrl:http://localhost:8080/user/tole,fullName:tole},commitId:246289,msg:add
 print statement of found 
feedgroup,timestamp:1351171074458,date:2012-10-25T13:17:54.458087Z,msg:add
 print statement of found
 
feedgroup,paths:[{editType:edit,file:/perlapp/trunk/bin/admin/analyze_submission_failures.pl}],revision:246289,user:tole},{affectedPaths:[bin/admin/prowl_err_files.pl],author:{absoluteUrl:http://localhost:8080/user/tole,fullName:tole},commitId:246286,msg:Make
 more tolerant of SHANDS innocuous 
messages,timestamp:1351170883261,date:2012-10-25T13:14:43.261361Z,msg:Make
 more tolerant of SHANDS innocuous 
messages,paths:[{editType:edit,file:/perlapp/trunk/bin/admin/prowl_err_files.pl}],revision:246286,user:tole}],kind:svn,revisions:[{module:http://svn.hq.c.corp/trunk,revision:246289}]},culprits:[{absoluteUrl:http://localhost:8080/user/tole,fullName:tole}]}


I think https://github.com/flot/flot has all that i need to accomplish this, 
but i am not too sure HOW 
Anyone with some experience in this area could please enlighten me
Thanks,
-Kamal.

Re: /usr/bin/prove: Cannot find blib

2012-11-02 Thread Kamal Ahmed
right on the dot!

Here is what i believe is happening:
Jenkins THINKS the perl means /usr/bin/perl , but the actual perl is 
/usr/coderyte/bin/perl

which prove
/usr/coderyte/bin/prove
kahmed@athena ~/workspace/ONATHENA $ which perl
/usr/coderyte/bin/perl

am i right in this assumption ?

Now, how can i trick Jenkins to believe that perl actually 
means /usr/coderyte/bin/perl

Since i cannot change the #! in code.

Thanks,
-Kamal.


 From: David Weintraub qazw...@gmail.com
To: jenkinsci-users@googlegroups.com 
Sent: Thursday, November 1, 2012 10:01 PM
Subject: Re: /usr/bin/prove: Cannot find blib
 

Look at this @INC path:


   * /extra/coderyte/nlp-builds/icd/icd-current/tools/perl_lib 
   * /extra/coderyte/www/iatqa/cgi-bin 
   * /extra/coderyte/www/iatqa/bin/engine/icd 
   * /extra/coderyte/www/iatqa/etc 
   * /extra/coderyte/www/iatqa/bin/engine/icd/engine 
   * /extra/coderyte/www/iatqa/bin/engine/icd/engine/perl_lib 
   * /extra/coderyte/www/iatqa/bin/engine/icd/engine/preproc 
   * /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi 
   * /usr/lib/perl5/5.8.5 
 /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi 
   * /usr/lib/perl5/site_perl/5.8.5 
   * /usr/lib/perl5/site_perl 
 /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi 
   * /usr/lib/perl5/vendor_perl/5.8.5 
 /usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi 
   * /usr/lib/perl5/vendor_perl
Now look at the one @INC you sent me with the program error:


   * /usr/coderyte/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
   * /usr/coderyte/lib/perl5/site_perl/5.8.8 
   * /usr/coderyte/lib/perl5/5.8.8/x86_64-linux-thread-multi 
   * /usr/coderyte/lib/perl5/5.8.8 


You see a difference?


In fact, I believe you're looking at two different Perl libraries being 
executed. Note the perl5 portions of the paths! In the second one, they're 
all /usr/coderyte/lib. In the one you just sent me, they're /usr/lib/perl5. 


The site_perl paths are for CPAN modules you install. They're usually in the 
@INC first, so you can override the versions of the same modules that came 
wiith the installation.


So, your problem is that you are executing two different Perl programs. One 
you are using when you use Jenkins which is the Perl version that probably 
came with the system. The other is what you execute when you use the SSH user.


Log in as your SSH user, the one which allows the program to work. Then, type 
in which perl at the command line. This is the Perl you must execute as the 
Jenkins user. Either fix the first line (the shebang (#!)) to point to the SSH 
user's Perl, or prepend your Perl script with that Perl program (include the 
full path).




On Nov 1, 2012, at 8:31 PM, Kamal Ahmed kamalah...@yahoo.com wrote:


David,

Unfortunately i would have to stick to Perl 5.8.8
Here is more of the error:

15:06:11


 + sh run_prove.sh
15:06:18
 ./DBI_CrossFeed_Crosswalk_custom.Can't 
locate Log/Log4perl.pm in @INC (@INC contains: 
/extra/coderyte/nlp-builds/icd/icd-current/tools/perl_lib 
/extra/coderyte/www/iatqa/cgi-bin /extra/coderyte/www/iatqa/bin/engine/icd 
/extra/coderyte/www/iatqa/etc /extra/coderyte/www/iatqa/bin/engine/icd/engine 
/extra/coderyte/www/iatqa/bin/engine/icd/engine/perl_lib 
/extra/coderyte/www/iatqa/bin/engine/icd/engine/preproc 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl 
/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.5 
/usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi 
/usr/lib/perl5/vendor_perl .) at 
/extra/coderyte/www/iatqa/cgi-bin/CodeRyte/Lynx.pm line 28.
15:06:18
 BEGIN failed--compilation aborted at 
/extra/coderyte/www/iatqa/cgi-bin/CodeRyte/Lynx.pm line 28.
15:06:18
 Compilation failed in require at 
/extra/coderyte/www/iatqa/cgi-bin/CodeRyte/Lynx/Lynx_Utilities.pm line 8.
15:06:18
 BEGIN failed--compilation aborted at 
/extra/coderyte/www/iatqa/cgi-bin/CodeRyte/Lynx/Lynx_Utilities.pm line 8.
15:06:18
 Compilation failed in require at ./DBI_CrossFeed_Crosswalk_custom.t line 10.
15:06:18
 BEGIN failed--compilation aborted at ./DBI_CrossFeed_Crosswalk_custom.t line 
10.
15:06:18
 # Looks like your test died before it could output anything.
15:06:18
 dubious
15:06:18
 Test returned status 2 (wstat 512, 0x200)
15:06:19
 ./DBI_Services_NoteProfile...Can't 
locate Date/Calc.pm in @INC (@INC contains: /extra/coderyte/www/iatqa/cgi-bin 
/extra/coderyte/www/iatqa/bin/engine/icd /extra/coderyte/www/iatqa/etc 
/extra/coderyte/www/iatqa/bin/engine/icd/engine 
/extra/coderyte/www/iatqa/bin/engine/icd/engine/perl_lib 
/extra/coderyte/www/iatqa/bin/engine/icd/engine/preproc 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib

Re: /usr/bin/prove: Cannot find blib

2012-11-02 Thread Kamal Ahmed
its working !
used:
export PATH=/usr/codertyte/bin:$PATH

prove WAS/is  the coderyte prove

Thanks David and Andrew




 From: David Weintraub qazw...@gmail.com
To: jenkinsci-users@googlegroups.com 
Sent: Friday, November 2, 2012 10:20 AM
Subject: Re: /usr/bin/prove: Cannot find blib
 



On Nov 2, 2012, at 8:54 AM, Kamal Ahmed kamalah...@yahoo.com wrote:

right on the dot!


Here is what i believe is happening:
Jenkins THINKS the perl means /usr/bin/perl , but the actual perl is 
/usr/coderyte/bin/perl


which prove
/usr/coderyte/bin/prove
kahmed@athena ~/workspace/ONATHENA $ which perl
/usr/coderyte/bin/perl


am i right in this assumption ?

Yes.



Now, how can i trick Jenkins to believe that perl actually 
means /usr/coderyte/bin/perl


Since i cannot change the #! in code.

Instead of executing just prove, execute /usr/coderyte/bin/perl prove. 
This will specify the version of Perl you want to use.




Thanks,
-Kamal.


 From: David Weintraub qazw...@gmail.com
To: jenkinsci-users@googlegroups.com 
Sent: Thursday, November 1, 2012 10:01 PM
Subject: Re: /usr/bin/prove: Cannot find blib
 

Look at this @INC path:


 * /extra/coderyte/nlp-builds/icd/icd-current/tools/perl_lib 
 * /extra/coderyte/www/iatqa/cgi-bin 
 * /extra/coderyte/www/iatqa/bin/engine/icd 
 * /extra/coderyte/www/iatqa/etc 
 * /extra/coderyte/www/iatqa/bin/engine/icd/engine 
 * /extra/coderyte/www/iatqa/bin/engine/icd/engine/perl_lib 
 * /extra/coderyte/www/iatqa/bin/engine/icd/engine/preproc 
 * /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi 
 * /usr/lib/perl5/5.8.5 
 /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi 
 * /usr/lib/perl5/site_perl/5.8.5 
 * /usr/lib/perl5/site_perl 
 /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi 
 * /usr/lib/perl5/vendor_perl/5.8.5 
 /usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi 
 * /usr/lib/perl5/vendor_perl
Now look at the one @INC you sent me with the program error:


 * /usr/coderyte/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
 * /usr/coderyte/lib/perl5/site_perl/5.8.8 
 * /usr/coderyte/lib/perl5/5.8.8/x86_64-linux-thread-multi 
 * /usr/coderyte/lib/perl5/5.8.8 


You see a difference?


In fact, I believe you're looking at two different Perl libraries being 
executed. Note the perl5 portions of the paths! In the second one, they're 
all /usr/coderyte/lib. In the one you just sent me, they're 
/usr/lib/perl5. 


The site_perl paths are for CPAN modules you install. They're usually in 
the @INC first, so you can override the versions of the same modules that 
came wiith the installation.


So, your problem is that you are executing two different Perl programs. One 
you are using when you use Jenkins which is the Perl version that probably 
came with the system. The other is what you execute when you use the SSH 
user.


Log in as your SSH user, the one which allows the program to work. Then, 
type in which perl at the command line. This is the Perl you must execute 
as the Jenkins user. Either fix the first line (the shebang (#!)) to point 
to the SSH user's Perl, or prepend your Perl script with that Perl program 
(include the full path).




On Nov 1, 2012, at 8:31 PM, Kamal Ahmed kamalah...@yahoo.com wrote:


David,

Unfortunately i would have to stick to Perl 5.8.8
Here is more of the error:

15:06:11


 + sh run_prove.sh
15:06:18
 ./DBI_CrossFeed_Crosswalk_custom.Can't 
locate Log/Log4perl.pm in @INC (@INC contains: 
/extra/coderyte/nlp-builds/icd/icd-current/tools/perl_lib 
/extra/coderyte/www/iatqa/cgi-bin /extra/coderyte/www/iatqa/bin/engine/icd 
/extra/coderyte/www/iatqa/etc 
/extra/coderyte/www/iatqa/bin/engine/icd/engine 
/extra/coderyte/www/iatqa/bin/engine/icd/engine/perl_lib 
/extra/coderyte/www/iatqa/bin/engine/icd/engine/preproc 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl 
/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.5 
/usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi 
/usr/lib/perl5/vendor_perl .) at 
/extra/coderyte/www/iatqa/cgi-bin/CodeRyte/Lynx.pm line 28.
15:06:18
 BEGIN failed--compilation aborted at 
/extra/coderyte/www/iatqa/cgi-bin/CodeRyte/Lynx.pm line 28.
15:06:18
 Compilation failed in require at 
/extra/coderyte/www/iatqa/cgi-bin/CodeRyte/Lynx/Lynx_Utilities.pm line 8.
15:06:18
 BEGIN failed--compilation aborted at 
/extra/coderyte/www/iatqa/cgi-bin/CodeRyte/Lynx/Lynx_Utilities.pm line 8.
15:06:18
 Compilation failed in require at ./DBI_CrossFeed_Crosswalk_custom.t line 
10.
15:06:18
 BEGIN failed--compilation aborted at ./DBI_CrossFeed_Crosswalk_custom.t 
line 10.
15:06:18
 # Looks like your test died before it could output anything.
15:06:18
 dubious

/usr/bin/prove: Cannot find blib

2012-11-01 Thread Kamal Ahmed
Hi,
When i run run_prove.sh after doing an ssh to host , the perl unit tests run 
fine
but when i do it via Execute shell script on remote host using ssh i get 
error:

11:41:35 + prove -b -v -r . 11:41:35 /usr/bin/prove: Cannot find blib 11:41:35 
No blib directories found. 11:41:35 Can't locate Log/Log4perl.pm in @INC (@INC 
contains: 

I have tried with just execute shell script option as well, same result

Would appreciate any help / Hint/Resolution

Thanks,
-Kamal.

Re: /usr/bin/prove: Cannot find blib

2012-11-01 Thread Kamal Ahmed
Hi David,
Now i am getting error:

./test_log4p.pl 
Can't locate feature.pm in @INC (@INC contains: 
/usr/coderyte/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi 
/usr/coderyte/lib/perl5/site_perl/5.8.8 
/usr/coderyte/lib/perl5/5.8.8/x86_64-linux-thread-multi 
/usr/coderyte/lib/perl5/5.8.8 .) at ./test_log4p.pl line 4.
BEGIN failed--compilation aborted at ./test_log4p.pl line 4.


 more test_log4p.pl 

#!/usr/bin/env perl
use strict;
use warnings;
use feature qw(say);

use Log::Log4Perl

say Perl \@INC:  . join \n, @INC;
for my $module (sort keys %INC) {
    say qq(\$INC{$module} = $INC{$module});
}



 From: David Weintraub qazw...@gmail.com
To: jenkinsci-users@googlegroups.com 
Sent: Thursday, November 1, 2012 12:27 PM
Subject: Re: /usr/bin/prove: Cannot find blib
 

Perl CPAN modules can be installed via user or via machine. Normally, if you 
can't get root access on the machine, you install it for that user. Maybe the 
Log::Log4perl module is installed as a user module. Thus, if you're running it 
as another user, you simply can't find the module.


Another possibility is that the module wasn't installed, and is located in a 
different directory than expected. The Perl @INC shows you the directories 
where modules are searched. The %INC hash shows the module loaded and the 
directory where found. 


Try a simple program:


use strict;
use warnings;
use feature qw(say);


use Log::Log4Perl


say Perl \@INC:  . join \n, @INC;
for my $module (sort keys %INC) {
    say qq(\$INC{$module} = $INC{$module});
}


Do this via SSH where you can execute run_prove.sh and it works. This will 
show you where this program is searching for the module and where it finds it. 
That will give you an idea why Jenkins can't find it.


If you do find that Log::Log4Perl is not where you expect it, use the use 
lib pragma to add that directory to your @INC search array.


On Nov 1, 2012, at 12:15 PM, Kamal Ahmed kamalah...@yahoo.com wrote:

Hi,
When i run run_prove.sh after doing an ssh to host , the perl unit tests run 
fine
but when i do it via Execute shell script on remote host using ssh i get 
error:


11:41:35 + prove -b -v -r . 11:41:35 /usr/bin/prove: Cannot find blib 
11:41:35 No blib directories found. 11:41:35 Can't locate Log/Log4perl.pm in 
@INC (@INC contains: 


I have tried with just execute shell script option as well, same result


Would appreciate any help / Hint/Resolution


Thanks,
-Kamal.








Re: /usr/bin/prove: Cannot find blib

2012-11-01 Thread Kamal Ahmed
 VPN, i am still connected even though the IP changed, 
and the connection was severed for the time i was driving.





 From: David Weintraub qazw...@gmail.com
To: jenkinsci-users@googlegroups.com 
Sent: Thursday, November 1, 2012 1:09 PM
Subject: Re: /usr/bin/prove: Cannot find blib
 

I see you're on Perl 5.8.8 -- a release of Perl that's over six years old. The 
use feature pragma didn't come in until Perl 5.10 (current version is 5.16). 
All that use feature does is give you access to the say command. Say is 
like print except that it automatically includes a \n.


Use this program. I removed say and used print instead:


#!/usr/bin/env perl
use strict;
use warnings;

use Log::Log4Perl

print  Perl \@INC:  . join (\n, @INC) . \n;
for my $module (sort keys %INC) {
    print qq(\$INC{$module} = $INC{$module}\n);
}


By the way, note the @INC array which printed out as part of the error message:


* /usr/coderyte/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
* /usr/coderyte/lib/perl5/site_perl/5.8.8 
* /usr/coderyte/lib/perl5/5.8.8/x86_64-linux-thread-multi 
* /usr/coderyte/lib/perl5/5.8.8 

Compare that with the one you got as the Jenkins user. (You didn't include 
that in your original email!). I can see that Perl 5.8.8 isn't installed as a 
standard Perl program because it's under /usr/coderyte and not a standard 
directory. On most Unix type systems it's under /usr/share/perl or 
/usr/local/perl, or /var/perl or /opt/perl. I suspect that your Jenkins user 
is looking in different directories and maybe even using a completely 
different version of Perl.


What's the full error message you're getting with Jenkins. You only gave:


11:41:35 Can't locate Log/Log4perl.pm in @INC (@INC contains: 


You left off the interesting part.


On Nov 1, 2012, at 12:56 PM, Kamal Ahmed kamalah...@yahoo.com wrote:


Hi David,
Now i am getting error:

./test_log4p.pl 
Can't locate feature.pm in @INC (@INC contains: 
/usr/coderyte/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi 
/usr/coderyte/lib/perl5/site_perl/5.8.8 /usr/coderyte/lib/perl5/5.8.8/x86_64-linux-thread-multi
 /usr/coderyte/lib/perl5/5.8.8 .) at ./test_log4p.pl line 4.
BEGIN failed--compilation aborted at ./test_log4p.pl line 4.


 more test_log4p.pl 

#!/usr/bin/env perl
use strict;
use warnings;
use feature qw(say);

use Log::Log4Perl

say Perl \@INC:  . join \n, @INC;
for my $module (sort keys %INC) {
    say qq(\$INC{$module} = $INC{$module});
}

From: David Weintraub qazw...@gmail.com
To: jenkinsci-users@googlegroups.com 
Sent: Thursday, November 1, 2012 12:27 PM
Subject: Re: /usr/bin/prove: Cannot find blib

Perl CPAN modules can be installed via user or via machine. Normally, if you 
can't get root access on the machine, you install it for that user. Maybe the 
Log::Log4perl module is installed as a user module. Thus, if you're running 
it as another user, you simply can't find the module.

Another possibility is that the module wasn't installed, and is located in a 
different directory than expected. The Perl @INC shows you the directories 
where modules are searched. The %INC hash shows the module loaded and the 
directory where found. 

Try a simple program:

use strict;
use warnings;
use feature qw(say);

use Log::Log4Perl

say Perl \@INC:  . join \n, @INC;
for my $module (sort keys %INC) {
    say qq(\$INC{$module} = $INC{$module});
}

Do this via SSH where you can execute run_prove.sh and it works. This will 
show you where this program is searching for the module and where it finds 
it. That will give you an idea why Jenkins can't find it.

If you do find that Log::Log4Perl is not where you expect it, use the use 
lib pragma to add that directory to your @INC search array.

On Nov 1, 2012, at 12:15 PM, Kamal Ahmed kamalah...@yahoo.com wrote:


Hi,
When i run run_prove.sh after doing an ssh to host , the perl unit tests run 
fine
but when i do it via Execute shell script on remote host using ssh i get 
error:

11:41:35
 + prove -b -v -r .
11:41:35
 /usr/bin/prove: Cannot find blib
11:41:35
 No blib directories found.
11:41:35 Can't locate Log/Log4perl.pm in @INC (@INC contains: 

I have tried with just execute shell script option as well, same result

Would appreciate any help / Hint/Resolution

Thanks,
-Kamal.










Re: violations plugin ( perlcritic ) question

2012-10-19 Thread Kamal Ahmed
nm, solved
removed
--verbose 3

switch





 From: Kamal Ahmed kamalah...@yahoo.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Thursday, October 18, 2012 10:48 PM
Subject: violations plugin ( perlcritic ) question
 

Hi,
What format is acceptable to the PerlCritic TYPE in violations plugin?


I have the following in a file, but it is showing ZERO Violations


Subroutine prototypes used at cgi-bin/CR/AccessControl.pm line 66
Subroutine prototypes used at cgi-bin/CR/AccessControl.pm line 89
Subroutine prototypes used at cgi-bin/CR/AccessControl.pm line 123
Subroutine prototypes used at cgi-bin/CR/AccessControl.pm line 158
Subroutine prototypes used at cgi-bin/CR/AccessControl.pm line 183






Thanks,
-Kamal.



Re: JavaMelody to measure NON J2EE System System parameters like % CPU Usage, Mem usage , etc

2012-10-18 Thread Kamal Ahmed
I want to monitor CPU Usage %, for EACH CPU, Disk Usage, Disk IO, things 
outside of J2EE framework. (which i mentioned in the subject:)
Since Java Melody is already providing a framework for reporting in RRD format 
, and there are tools like dstat , etc which do the same, hence i asked.
-Kamal.




 From: Radha Mohan Maheshwari radhamohanmaheshw...@gmail.com
To: jenkinsci-users@googlegroups.com 
Sent: Tuesday, October 16, 2012 3:41 PM
Subject: Re: JavaMelody to measure NON J2EE System System parameters like % 
CPU Usage, Mem usage , etc
 

what you want to monitor?
if a web-application
than add javamelody.jar in class-path


and configure java-meldoy UI with that web-application (for example if your 
service is running on localhost:8080/shop)






On Mon, Oct 15, 2012 at 7:38 PM, Kamal Ahmed kamalah...@yahoo.com wrote:

Hi,
Is there a way for JavaMelody to monitor and report Remote CPU Usage, Memory 
Usage, etc ?
Remote systems are ubuntu in this case.
Thanks,
-Kamal.



-- 
Radha Mohan Maheshwari






ERROR: Publisher hudson.plugins.summary_report.ACIPluginPublisher aborted due to exception

2012-10-18 Thread Kamal Ahmed
Getting Exception:

19:17:31 TAP Reports Processing: START 19:17:31 Looking for TAP results report 
in workspace using pattern: **/perlcritic_tap.results 
19:17:33 Saving reports... 19:17:33 Found matching files but did not find any 
TAP results. 
19:17:34 ERROR: Publisher hudson.plugins.summary_report.ACIPluginPublisher 
aborted due to exception 19:17:34 
/var/lib/jenkins/jobs/PERLAPP/builds/2012-10-18_19-15-58/archive does not 
exist. 19:17:34 at 
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
 19:17:34 at 
hudson.plugins.summary_report.ACIPluginPublisher.perform(ACIPluginPublisher.java:122)
 19:17:34 at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) 
19:17:34 at 
hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:710) 
19:17:34 at 
hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:685)
 19:17:34 at hudson.model.Build$RunnerImpl.post2(Build.java:162) 19:17:34 at 
hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:632) 19:17:34 
at hudson.model.Run.run(Run.java:1463) 19:17:34 at 
hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 19:17:34 at
 hudson.model.ResourceController.execute(ResourceController.java:88) 19:17:34 
at hudson.model.Executor.run(Executor.java:239) 19:17:34 Finished: FAILURE 

Not sure where is this coming from, anyone having clue ?

violations plugin ( perlcritic ) question

2012-10-18 Thread Kamal Ahmed
Hi,
What format is acceptable to the PerlCritic TYPE in violations plugin?

I have the following in a file, but it is showing ZERO Violations

Subroutine prototypes used at cgi-bin/CR/AccessControl.pm line 66
Subroutine prototypes used at cgi-bin/CR/AccessControl.pm line 89
Subroutine prototypes used at cgi-bin/CR/AccessControl.pm line 123
Subroutine prototypes used at cgi-bin/CR/AccessControl.pm line 158
Subroutine prototypes used at cgi-bin/CR/AccessControl.pm line 183



Thanks,
-Kamal.

JavaMelody to measure NON J2EE System System parameters like % CPU Usage, Mem usage , etc

2012-10-15 Thread Kamal Ahmed
Hi,
Is there a way for JavaMelody to monitor and report Remote CPU Usage, Memory 
Usage, etc ?
Remote systems are ubuntu in this case.
Thanks,
-Kamal.

ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins.

2012-10-12 Thread Kamal Ahmed
I tried setting up a slave: with the following config (Master / Slave Java 
Versions)

Master:
 java -version
java version 1.6.0_24
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)


Slave:
 java -version
java version 1.6.0_06
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)


EXCEPTION:

Installing chromedriver to /home/kahmed/tools/chromedriver
ERROR: Unexpected error in launching a slave. This is probably a bug in 
Jenkins. java.lang.NullPointerException  at 
org.jenkinsci.plugins.chromedriver.DownloadableImpl.getType(DownloadableImpl.java:91)
 at 
org.jenkinsci.plugins.chromedriver.DownloadableImpl.select(DownloadableImpl.java:78)
 at 
org.jenkinsci.plugins.chromedriver.DownloadableImpl.resolve(DownloadableImpl.java:35)
 at 
org.jenkinsci.plugins.chromedriver.ComputerListenerImpl.process(ComputerListenerImpl.java:43)
 at 
org.jenkinsci.plugins.chromedriver.ComputerListenerImpl.preOnline(ComputerListenerImpl.java:34)
 at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:370) at 
hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:317) at 
hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:454) at 
hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:293) at 
hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200) at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at 
java.util.concurrent.FutureTask.run(FutureTask.java:166) at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
at java.lang.Thread.run(Thread.java:679) [10/12/12 10:21:47] [SSH] Connection 
closed.
ERROR: Connection terminated java.io.IOException: Unexpected termination of the 
channel at 
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
 Caused by: java.io.EOFException  at 
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2570)
 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1314) at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:368) at 
hudson.remoting.Command.readFrom(Command.java:90) at 
hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) 
at 
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
 ERROR: [10/12/12 10:21:47] slave agent was terminated java.io.IOException: 
Unexpected termination of the channel at 
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
 Caused by: java.io.EOFException  at
 
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2570)
 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1314) at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:368) at 
hudson.remoting.Command.readFrom(Command.java:90) at 
hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) 
at 
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
 

Re: graphite integration

2012-10-12 Thread Kamal Ahmed
fridodev,
try
https://github.com/katzj/jenkins-to-graphite.git

-Kamal




 From: fridodev frido...@gmail.com
To: jenkinsci-users@googlegroups.com 
Sent: Friday, October 12, 2012 9:02 AM
Subject: graphite integration
 

Dear List,
In our organization we have graphite (http://graphite.wikidot.com/) to 
evaluate servers performances.
I was reading this article:
http://codeascraft.etsy.com/2010/12/08/track-every-release/ 


and would be nice to have something to link jenkins with graphite and track 
deployments on servers graphs..


I thinking to  a post build step action .. that sends the build info to 
graphite using the graphite api ( 
http://graphite.wikidot.com/url-api-reference ) and draw a vertical line like 
mentioned in article.


Regards
Federico



IPv6 Support/Compliance

2012-09-14 Thread Kamal Ahmed
Hi List,
Does Jenkins support/Comply with IPv6 ?
Thanks,
-Kamal.

Build a Project based on a criteria

2012-09-07 Thread Kamal Ahmed
Hi,
Here is the scenario:

I am doing a REST Call, using a small Java Utility that i have written, to get 
the Last Successful Build Number from TeamCity.

I want to run this utility as a Jenkins Project every 2 hours, and compare 
consecutive run results , and IF the current Run Result number is higher, then 
Build Other Projects as a Post Build Task

Any Hints ? suggestions ?

Thanks,
-Kamal.

[parasoft:soatest] ERROR: Missing Resources: The following symbols/resources were specified, but were not found in the workspace.

2012-08-30 Thread Kamal Ahmed
Hi,
Does anyone experienced the following error:

I am running soatest via ant task in Jenkins.

[parasoft:soatest] Deleting /opt/soatest/workspace
[parasoft:soatest] soatestcli: Version 9.1.4.20111220 -- Copyright (C) 
2003-2011 Parasoft Corporation
[parasoft:soatest] soatestcli: Version 9.1.4.20111220 -- Copyright (C) 
2003-2011 Parasoft Corporation
[parasoft:soatest] ERROR: Missing Resources: The following symbols/resources 
were specified, but were not found in the workspace.  Ensure they are valid and 
are relative to the workspace:
[parasoft:soatest]6.7/AdvancedTr/createMan/001/SignedZonesPart_1.tst
[parasoft:soatest] SOAtest exited [Error Code: 130] 

This is the part of build.xml

 parasoft:soatest config=user://Example Configuration ignoreErrors=false 
showdetails=true
    data=/opt/soatest/workspace
    localsettings=/opt/soatest/parasoft_localsettings.properties
    
report=${jenkins-workspace}/SoaTestJenkinsReports/AdvancedTrafficManagement/report.html
    prefs=/opt/soatest/soatest_preferences.epf soatestTimeout=-1

    resource6.7/AdvancedTr/createMan/001/SignedZonesPart_1.tst/resource

Thanks,
-Kamal.


Re: pre condition for ant build

2012-08-15 Thread Kamal Ahmed
Thanks Qazwart

I am new to ant, so i am guessing that i declare wsdl.url outside build.xml

like:

export wsdl.url=http://www.example.com/help?wsdl

I also found:

typedef
      name=httpcontains
      classname=HttpContains
   /

  waitformaxwait=10maxwaitunit=minutecheckevery=500
    httpcontainscontains=Runningurl=http://myurl/
  /waitfor




 From: Qazwart qazw...@gmail.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Tuesday, August 14, 2012 5:46 PM
Subject: Re: pre condition for ant build
 

You can use the available in Ant to check for the URL and have Ant fail the 
build if it's not available. 


In fact this can be placed in a fail task. 


fail message=${wsdl.url} isn't available
    condition
        not
            available url=${wsdl.url}/
        /not
    /condition
/fail

--
David Weintraub
da...@weintraub.name

On Aug 14, 2012, at 10:39 AM, Kamal Ahmed kamalah...@yahoo.com wrote:


Hi,
Does someone have any insight and suggestion, as to what would work best in 
the following scenario.


I want to have a pre-check in place, which will verify if a particular WSDL 
is available , and if it IS ( meaning we get WSDL XML ) 
only then kick off the ant task which runs some functional tests


Thanks,
-Kamal.



pre condition for ant build

2012-08-14 Thread Kamal Ahmed
Hi,
Does someone have any insight and suggestion, as to what would work best in the 
following scenario.

I want to have a pre-check in place, which will verify if a particular WSDL is 
available , and if it IS ( meaning we get WSDL XML ) 
only then kick off the ant task which runs some functional tests

Thanks,
-Kamal.

How to pass $jenkins-workspace variable in ant task

2012-08-09 Thread Kamal Ahmed


Hi,
I used:

report=${jenkins-workspace}/SoaTestJenkinsReports/report.html


but its being translated as 

drwxr-xr-x. 3 jenkins jenkins     4096 Aug  7 10:02 The JENKINS workspace 
location passed from command line.

Variable substitution for SVN tags, for Build File Location

2012-08-02 Thread Kamal Ahmed
Here is the scenario:

I checkout using SVN using URL https://cm.sv.com/nm/ad/md/trunk/QA
as a result of this i get the following directories:


5.1
6.0
6.7

Utils


under the projects workspace

i run an ant task , but my build file is under 6.7:

6.7/build.xml


Is there a way i can Specify the 6.7 at run time

Thanks,
-Kamal.

No files matching pattern lib in directory /var/lib/jenkins/workspace/MDNS-6.7

2012-07-31 Thread Kamal Ahmed
Hi,

While trying to setup sonar with Jenkins, i am getting error:

$ sonar-runner

Runner configuration file: /opt/sonar-runner-1.3/conf/sonar-runner.properties
Project configuration file: 
/var/lib/jenkins/workspace/MDNS-6.7/sonar-project.properties
Runner version: 1.3
Java version: 1.6.0_22, vendor: Sun Microsystems Inc.
OS name: Linux, version: 2.6.42.12-1.fc15.x86_64, arch: amd64
Server: http://10.88.29.159:9000
Work directory: /var/lib/jenkins/workspace/MDNS-6.7/.sonar
Total time: 0.412s
Final Memory: 1M/238M
Exception in thread main org.sonar.batch.bootstrapper.BootstrapException: 
org.sonar.runner.RunnerException: No files matching pattern lib in directory 
/var/lib/jenkins/workspace/MDNS-6.7
        at org.sonar.runner.Runner.delegateExecution(Runner.java:189)
        at org.sonar.runner.Runner.execute(Runner.java:78)
        at org.sonar.runner.Main.main(Main.java:61)
Caused by: org.sonar.runner.RunnerException: No files matching pattern lib in 
directory /var/lib/jenkins/workspace/MDNS-6.7
        at org.sonar.runner.Launcher.getLibraries(Launcher.java:142)
        at org.sonar.runner.Launcher.defineProject(Launcher.java:117)
        at org.sonar.runner.Launcher.execute(Launcher.java:61)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.sonar.runner.Runner.delegateExecution(Runner.java:186)
        ... 2 more

[kahmed@QA-AutomationBox2 MDNS-6.7]$ more sonar-project.properties

# required metadata
sonar.projectKey=my:MDNS
sonar.projectName=MDNS
sonar.projectVersion=1.0

# path to source directories (required)
sources=/var/lib/jenkins/workspace/MDNS-6.7

# path to test source directories (optional)
tests=/var/lib/jenkins/workspace/MDNS-6.7

# path to project binaries (optional), for example directory of Java bytecode
binaries=/var/lib/jenkins/workspace/MDNS-6.7

# optional comma-separated list of paths to libraries. Only path to JAR file 
and path to directory of classes are supported.
libraries=/var/lib/jenkins/workspace/MDNS-6.7/lib,/opt/sonar-3.1.1/war/sonar-server/WEB-INF/lib


# Uncomment this line to analyse a project which is not a java project.
# The value of the property must be the key of the language.
#sonar.language=cobol

# Additional parameters
my.property=value


Now, there IS a lib folder under the workarea/MDNS-6.7 containing the PROJECT's 
3rd party jar files


Re: Default location of workspace changed ?

2012-07-28 Thread Kamal Ahmed
The 2 jenkins instances are on two different physical hosts (both Fedora)
Sorry , should have mentioned it earlier




 From: Jesse Farinacci jie...@gmail.com
To: jenkinsci-users@googlegroups.com 
Sent: Saturday, July 28, 2012 9:04 AM
Subject: Re: Default location of workspace changed ?
 
Greetings,

On Sat, Jul 28, 2012 at 7:31 AM, Kamal Ahmed kamalah...@yahoo.com wrote:
 I have 2 instances of Jenkins running and without ANY Custom workspace
 defined.

Jenkins doesn't do well with two instances running on the same workspace.

 On 1.471, its /var/lib/jenkins/workspace/job name
 and on 1.474 its /var/lib/jenkins/jobs/job name/workspace
 did the location changed, or is this something wrong with my configuration.

I sincerely doubt that it was ever /var/lib/jenkins/workspace/job
name, on 1.471 or any other release, without you manually tweaking
the job itself to have a custom workspace. This is generally a very
bad idea.

https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins

Anyhow, virtually any problems you are running into are invalid
because of the two Jenkins instances thing.

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.




Jenkins ver. 1.475 , NO plugins in Available tab

2012-07-28 Thread Kamal Ahmed
Just installed Jenkins ver. 1.475, i found NO plugins in the available in 
plugin manager
Help please

Re: Jenkins ver. 1.475 , NO plugins in Available tab

2012-07-28 Thread Kamal Ahmed
They are JUST not there

 pwd
/var/lib/jenkins/plugins
[root@QA-AutomationBox2 plugins]# ls -l
total 14052
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 ant
-rw-r--r--. 1 jenkins jenkins    82760 Jul 28 15:46 ant.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 cvs
-rw-r--r--. 1 jenkins jenkins   194322 Jul 28 15:46 cvs.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 external-monitor-job
-rw-r--r--. 1 jenkins jenkins    47195 Jul 28 15:46 external-monitor-job.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 javadoc
-rw-r--r--. 1 jenkins jenkins    35566 Jul 28 15:46 javadoc.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 ldap
-rw-r--r--. 1 jenkins jenkins    35657 Jul 28 15:46 ldap.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 maven-plugin
-rw-r--r--. 1 jenkins jenkins 10686947 Jul 28 15:46 maven-plugin.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 pam-auth
-rw-r--r--. 1 jenkins jenkins  1029514 Jul 28 15:46 pam-auth.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 ssh-slaves
-rw-r--r--. 1 jenkins jenkins    50594 Jul 28 15:46 ssh-slaves.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 subversion
-rw-r--r--. 1 jenkins jenkins  2109907 Jul 28 15:46 subversion.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 translation
-rw-r--r--. 1 jenkins jenkins    49858 Jul 28 15:46 translation.jpi






 From: krishna chaitanya kurnala kkc...@gmail.com
To: jenkinsci-users@googlegroups.com 
Sent: Saturday, July 28, 2012 5:40 PM
Subject: Re: Jenkins ver. 1.475 , NO plugins in Available tab
 

RE-Download the Jenkins WAR, verify md5sum and install again and see..

Krishna Chaitanya



On Sat, Jul 28, 2012 at 11:52 AM, Kamal Ahmed kamalah...@yahoo.com wrote:

Just installed  Jenkins ver. 1.475, i found NO plugins in the available in 
plugin manager
Help please




Re: Jenkins ver. 1.475 , NO plugins in Available tab

2012-07-28 Thread Kamal Ahmed
resolved, use CLI to install any plugin, and the rest will appear
These sort of things are annoying with Jenkins.





 From: Kamal Ahmed kamalah...@yahoo.com
To: jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com 
Sent: Saturday, July 28, 2012 6:21 PM
Subject: Re: Jenkins ver. 1.475 , NO plugins in Available tab
 

They are JUST not there


 pwd
/var/lib/jenkins/plugins
[root@QA-AutomationBox2 plugins]# ls -l
total 14052
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 ant
-rw-r--r--. 1 jenkins jenkins    82760 Jul 28 15:46 ant.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 cvs
-rw-r--r--. 1 jenkins jenkins   194322 Jul 28 15:46 cvs.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 external-monitor-job
-rw-r--r--. 1 jenkins jenkins    47195 Jul 28 15:46 external-monitor-job.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 javadoc
-rw-r--r--. 1 jenkins jenkins    35566 Jul 28 15:46 javadoc.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 ldap
-rw-r--r--. 1 jenkins jenkins    35657 Jul 28 15:46 ldap.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 maven-plugin
-rw-r--r--. 1 jenkins jenkins 10686947 Jul 28 15:46 maven-plugin.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 pam-auth
-rw-r--r--. 1 jenkins jenkins  1029514 Jul 28 15:46 pam-auth.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 ssh-slaves
-rw-r--r--. 1 jenkins jenkins    50594 Jul 28 15:46 ssh-slaves.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 subversion
-rw-r--r--. 1 jenkins jenkins  2109907 Jul 28 15:46 subversion.jpi
drwxr-xr-x. 4 jenkins jenkins     4096 Jul 28 15:46 translation
-rw-r--r--. 1 jenkins jenkins    49858 Jul 28 15:46 translation.jpi








 From: krishna chaitanya kurnala kkc...@gmail.com
To: jenkinsci-users@googlegroups.com 
Sent: Saturday, July 28, 2012 5:40 PM
Subject: Re: Jenkins ver. 1.475 , NO plugins in Available tab
 

RE-Download the Jenkins WAR, verify md5sum and install again and see..

Krishna Chaitanya



On Sat, Jul 28, 2012 at 11:52 AM, Kamal Ahmed kamalah...@yahoo.com 
wrote:

Just installed  Jenkins ver. 1.475, i found NO plugins in the available in 
plugin manager
Help please






ERROR: Missing Resources: The following symbols/resources were specified, but were not found in the workspace.

2012-07-23 Thread Kamal Ahmed
Hi,

I am running an ant task against a target, and its working on the command line, 
but in Jenkins, its not working and i get this error:

ERROR: Missing Resources: The following symbols/resources were specified, but 
were not found in the workspace.

sonar error: Cannot execute mojo: sonar

2012-07-21 Thread Kamal Ahmed
Hi,
I am trying to run sonar for a test build, but getting the following error. 
Any suggestions on how to resolve this ?
This project has a build.xml (ant driven) but NO pom.xml, and i think sonar 
supports ant.

[INFO] Cannot execute mojo: sonar. It requires a project with an existing 
pom.xml, but the build is not using one.
[INFO] 
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute mojo: 
sonar. It requires a project with an existing pom.xml, but the build is not 
using one. at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
 at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
 at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
 at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
 at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
 at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at 
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at
 org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616) at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at 
org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at 
org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot execute mojo: 
sonar. It requires a project with an existing pom.xml, but the build is not 
using one. at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:414)
 at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
 ... 17 more
[INFO] 
[INFO] Total time: 1 second
[INFO] Finished at: Sun Jul 22 00:17:30 EDT 2012
[INFO] Final Memory: 4M/238M
[INFO] 
Sonar analysis completed: FAILURE
Build step 'Sonar' changed build result to FAILURE
Build step 'Sonar' marked build as failure
Notifying upstream projects of job completion
Finished: FAILURE

  1   2   >