RE: How to solve this error in jenkins.

2015-08-20 Thread Matthew.Webber
Vineet, If you want people to help you, you need to ask your questions in a better way. (1) If you have text that you want to show us, paste it into your email as text – don’t attach it as an image, since that means no-one can copy/paste lines from the text. (2) Don’t just give an error message

PRQA plugin

2015-08-20 Thread KKCS
How to configure Jenkins to perform Static Analysis using PRQA plugin? What are the inputs to be provided? Even though I have successfully set up PRQA too it is generating same Xhtml compliance report for all project. Thank you. -- You received this message because you are subscribed to the

Hello Guys,can you please help me to solve this issue when im build a maven project.

2015-08-20 Thread Vineet Yadav
ERROR: Could not connect to SMTP host: smtp.gmail.com, port: 8080javax.mail.MessagingException http://stacktrace.jenkins-ci.org/search?query=javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 8080; nested exception is: java.net.ConnectException:

Re: Jenkins-Testlink Integration:Not able to map multiple suites in testlink

2015-08-20 Thread Irfan Sayed
can you bit elaborate more on this ?? did you try running with giving package names?? On Thu, Aug 20, 2015 at 10:43 AM, manasi sattarkar manasi.sattar...@gmail.com wrote: Hi, I have integrated Jenkins and Testlink with below specifications Jenkins:1.624 Testlink:1.9.13 I am able to run

How to solve this error in jenkins.

2015-08-20 Thread Vineet Yadav
https://lh3.googleusercontent.com/-NEEblNWdylA/VdWYYiHt2iI/FC8/jP853I3Xd8s/s1600/error.PNG https://lh3.googleusercontent.com/-NEEblNWdylA/VdWYYiHt2iI/FC8/jP853I3Xd8s/s1600/error.PNG -- You received this message because you are subscribed to the Google Groups Jenkins Users

Re: Jenkins - Put build in Queue

2015-08-20 Thread mr
One of many possibilities would be: * Create Job 'reactToRestCall' which react on the REST call * Create Job 'enableReactToRestCall' which enables the job 'reactToRestCall' at 3 AM * Create Job 'disableReactToRestCall' which disables the job 'reactToRestCall' at 5 AM The jobs

Re: How to solve this error in jenkins.

2015-08-20 Thread KKCS
Set the email configuration correctly. SMTP server name and port number should be set properly to resolve the issue. On Thursday, August 20, 2015 at 10:06:19 AM UTC+1, Vineet Yadav wrote: https://lh3.googleusercontent.com/-NEEblNWdylA/VdWYYiHt2iI/FC8/jP853I3Xd8s/s1600/error.PNG

Re: Jenkins-Testlink Integration:Not able to map multiple suites in testlink

2015-08-20 Thread manasi sattarkar
I have followed all steps as per this document: https://wiki.jenkins-ci.org/download/attachments/753702/jenkins.pdf in custom field we are giving class name as:pkgName.ClassName.java we are pulling code from GitHub, so how to handle this multiple suite scenario from POM.xml as we don't want to

Re: Grails Jenkins CI not working

2015-08-20 Thread Sanjay Lama
On Thu, Aug 20, 2015 at 12:58 PM, Sanjay Lama sanjay.lama2...@gmail.com wrote: I changed my jenkins installation directory to other drive. And, its now working. Thank you all for helping me. :) On Thu, Aug 20, 2015 at 9:26 AM, Richard Bywater rich...@byh2o.com wrote: The other alternative

Re: Grails Jenkins CI not working

2015-08-20 Thread Sanjay Lama
I changed my jenkins installation directory to other drive. And, its now working. Thank you all for helping me. :) On Thu, Aug 20, 2015 at 9:26 AM, Richard Bywater rich...@byh2o.com wrote: The other alternative is to use the legacy version of the directory (e.g. C:\Progra~1\...) I think

Re: How to solve this error in jenkins.

2015-08-20 Thread Vineet Yadav
On ERROR: Could not connect to SMTP host: smtp.gmail.com, port: 8080javax.mail.MessagingException http://stacktrace.jenkins-ci.org/search?query=javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 8080; nested exception is:

Re: Jenkins, Web application server and Nexus

2015-08-20 Thread Jeff
You can do a lot with Jenkins so you dont need GoCD. We are using GoCD because I think it does better job at visualizing and managing deployment pipelines (post-build) and provides idempotent revisions which we use as a rollback solution. In other words, pipelines are versioned and if done

Re: Jenkins, Web application server and Nexus

2015-08-20 Thread Martin
Hi, Brent: You are basically right. I am adding a Nexus component to the pipeline and trying to figure out what role and how it should play in the pipeline. Thanks. On Thursday, August 20, 2015 at 7:47:45 PM UTC-4, Brent Atkinson wrote: Hi Martin, The way you describe is similar

Adding User permissions with groovy

2015-08-20 Thread Anthony Green
Has anyone managed to script the authorisation levels of a user with Groovy? I have the beginnings of a script: import jenkins.model.* import hudson.security.* def instance = Jenkins.getInstance() def hudsonRealm = new HudsonPrivateSecurityRealm(false) instance.setSecurityRealm(hudsonRealm)

How to take care of a large Jenkins installation and still keep your sanity

2015-08-20 Thread Patrick Hund
Hi all, there's a new series of blog articles on the eBay developer blog which I hope you find useful and entertaining: http://www.technology-ebay.de/the-teams/mobile-de/blog/taming-the-hydra-part-1.html It's written by my colleague Marc Günther, who is responsible for maintaining our

Re: Hello Guys,can you please help me to solve this issue when im build a maven project.

2015-08-20 Thread Dirk Heinrichs
Am 20.08.2015 um 11:58 schrieb Vineet Yadav: ERROR: Could not connect to SMTP host: smtp.gmail.com, port: 8080 SMTP (aka mail) servers usually listen on port 25, not 8080. HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*, Von-Liebig-Straße

Re: Jenkins, Web application server and Nexus

2015-08-20 Thread Jeff
I don't know anything about JBoss, but Apache (Tomcat) doesn't 'grab' anything. You have to push the build to the server either using the tomcat manager API or use some other mechanism (SCP, wget, etc.) to otherwise grab the WAR file and get it onto the server. Jenkins has the 'deploy war/ear to

Re: Jenkins, Web application server and Nexus

2015-08-20 Thread Martin
Hi, Jeff: What do you mean by the manager application in the description of manager application to be installed and configured? Is it Nexus? Thanks. On Thursday, August 20, 2015 at 7:43:34 PM UTC-4, Jeff Vincent wrote: I don't know anything about JBoss, but Apache (Tomcat) doesn't 'grab'

Re: Jenkins, Web application server and Nexus

2015-08-20 Thread Jeff
If (as an example) you are running Ubuntu 12.04 or 14.04, you would install 'tomcat7-admin' (`sudo apt-get install tomcat7-admin). Then there is a file /var/lib/tomcat7/conf/tomcat-users.xml that configures the users allowed to authenticate to the admin (via UI or API endpoint) to manage the

Re: Jenkins, Web application server and Nexus

2015-08-20 Thread Brent Atkinson
Hi Martin, The way you describe is similar to approaches I have seen before. However, as Jeff said, how you would do this is a matter of what you are looking to achieve and how you have setup your processes and environments. Given how you describe [5] I assume you may be manually configuring

Re: Jenkins, Web application server and Nexus

2015-08-20 Thread Brent Atkinson
He means the Apache Tomcat manager app. It provides the means to programmatically deploy to Tomcat. JBoss has similar functionality exposed through its management services, though you may have to enable/secure it. This assumes your server lives longer than a deployment, which is not how everyone

periodic builds only after upstream job success

2015-08-20 Thread moodysma sma
This seems a common use-case but I can't find a way to do it with the existing plugins. I want a periodic job to run but only if an upstream job that only runs once goes to success, it triggers a periodic a job that runs. If the upstream job fails, then the periodic job shouldn't run or stop

Re: Jenkins, Web application server and Nexus

2015-08-20 Thread Martin
Hi, Jeff: Very helpful! So it looks like between my Jenkins and Nexus, I also need a GoCD? Have never used it, but good to learn about it. Thanks, On Thursday, August 20, 2015 at 6:59:59 PM UTC-7, Jeff Vincent wrote: If (as an example) you are running Ubuntu 12.04 or 14.04, you would

Jenkins, Web application server and Nexus

2015-08-20 Thread Martin
If I use Nexus OSS as a repository manager, the normal for code goes to production system is something like below: 1) Jenkins grabs code from Perforce or GIT server 2) Jenkins retrieves dependencies from Nexus 3) Jenkins test and build the project 4) The build is deployed to Nexus from Jenkins

Re: How to take care of a large Jenkins installation and still keep your sanity

2015-08-20 Thread Daniel Serodio
Nice intro, I look forward to the continuation of this series. Regards, Daniel Serodio On Thursday, August 20, 2015 at 7:10:13 AM UTC-3, Patrick Hund wrote: Hi all, there's a new series of blog articles on the eBay developer blog which I hope you find useful and entertaining:

Re: How can a Build Pipeline be scheduled/triggered?

2015-08-20 Thread Daniel Serodio
A Build Pipeline if only the automatic triggering of downstream jobs, so if the downstream jobs are triggered automatically, you only need to schedule the first job in the pipeline and the rest will follow. HTH, Daniel Serodio On Saturday, August 15, 2015 at 4:19:48 PM UTC-3, Anne wrote:

Re: Adding User permissions with groovy

2015-08-20 Thread Anthony Green
On Thursday, 20 August 2015 13:47:05 UTC+1, Anthony Green wrote: This was my solution import jenkins.model.* import hudson.security.* def instance = Jenkins.getInstance() def strategy = new GlobalMatrixAuthorizationStrategy() strategy.add(Jenkins.ADMINISTER, foo)

Re: Jenkins, Web application server and Nexus

2015-08-20 Thread Martin
Thanks, Jeff. Very insightful. On Friday, August 21, 2015 at 1:45:30 AM UTC-4, Jeff Vincent wrote: You can do a lot with Jenkins so you dont need GoCD. We are using GoCD because I think it does better job at visualizing and managing deployment pipelines (post-build) and provides

RE: How can a Build Pipeline be scheduled/triggered?

2015-08-20 Thread John Mellor
I’m not using a build pipeline, but instead using individual jobs and adding the build triggers for the upstream jobs in “Build after other projects are built” and “Trigger only if build is stable”. No pipeline is then needed, and it nicely handles my normal situation where the jobs are

Re: Jenkins api create job in a folder

2015-08-20 Thread Daniel Serodio
I think Daniel Beck means that instead of calling Jenkins.createProjectFromXML(...), you find the folder you want and then call folder.createProjectFromXML(...) Regards, Daniel Serodio On Thursday, August 20, 2015 at 1:17:37 PM UTC-3, Michel Leclerc wrote: Daniel, i'm experiencing the same

Re: How to read the logged in user's password in Jenkins as plain text?

2015-08-20 Thread Mantoo Ankalakoti
Hi, How r u? O am getting an error in groovy script in my Jenkins. FATAL: Failed to install https://dl.bintray.com/groovy/maven/groovy-binary-2.4.3.zip to E:\Jenkins\tools\Groovy\Groovy_1.7.6hudson.util.IOException2 http://stacktrace.jenkins-ci.org/search?query=hudson.util.IOException2: Failed

Matrix-based Security question

2015-08-20 Thread Caolan Dix
Really simple question I need a definite answer for. If checked for a user or group, does the Administer permission still need to have all of the other checkboxes checked for full rights across a Jenkins master? Thanks! -Caolan. -- You received this message because you are subscribed to the

Re: Moving a job to a Folder

2015-08-20 Thread Daniel Serodio
We use this Groovy script to move jobs to folders, maybe you can use it as a starting point for your needs: ### def FOLDER_NAME = 'Destination folder' def JOB_REGEX = 'Regex to match your jobs' import jenkins.* import jenkins.model.* import hudson.* import

RE: EXTERNAL: Re: How can a Build Pipeline be scheduled/triggered?

2015-08-20 Thread Horton, Anne B
Dan, Thank you very, very much for answering our questions!! I think an advanced Jenkins book is in order!!! Thank you again, Anne From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Serodio Sent: Thursday, August 20, 2015 3:03 PM To: Jenkins

Office Hour for August 26: Jenkins and Kubernetes

2015-08-20 Thread Daniel Beck
Hi everyone, Nicolas De Loof will host the next office hour on Wednesday, Aug 26, 11 AM PDT. The topic of this session will be Jenkins and Kubernetes. Kubernetes is an open-source project by Google that provides a platform for managing Docker containers as a cluster. During this session,

Re: Sudden increase in build times of Maven-style job

2015-08-20 Thread Raghuram Duraisamy
Jenkins maintainers, I am facing this exact issue. Would appreciate any help extended in identifying or resolving the problem :) Thanks, Raghuram On Thursday, July 2, 2015 at 10:32:34 PM UTC+5:30, Mukarram Baig wrote: Hello guys, Is there any logging that will help us get to the bottom of

Re: Remote Build Using Curl

2015-08-20 Thread Greg Nifor
Caused by: java.lang.NullPointerException at hudson.model.FileParameterValue.lt;init(FileParameterValue.java:78) On Thursday, August 20, 2015 at 9:23:53 AM UTC-7, Greg Nifor wrote: Update: Still doesn't work json='{parameter: [{name: text, value: AA}, {name: file, value: file0}]}'

Re: Remote Build Using Curl

2015-08-20 Thread Greg Nifor
Update: Still doesn't work json='{parameter: [{name: text, value: AA}, {name: file, value: file0}]}' url=url curl $url -F file0=@file_path -F json=$json -u user:pass On Monday, August 17, 2015 at 2:42:58 PM UTC-7, Daniel Beck wrote: How to trigger a build with parameters is explained on the

Re: Jenkins api create job in a folder

2015-08-20 Thread Michel Leclerc
Daniel, i'm experiencing the same exact problem with CreateProjectFromXML. Your answer seems to solution this problem. But i can't quite understand the meaning of your answer. Could you be more explicite? Thanks Michel Leclerc On Friday, February 28, 2014 at 3:23:58 PM UTC-5, Daniel Beck

Confused about getting archived products from matrixed builds

2015-08-20 Thread Eric Vaandering
I need some help. Here's what I've got: I have a project (call it P1) that triggers additional projects (P2a, P2b, P2c) waits and fetches back their archived products through Specific Build # the $TRIGGERED_BUILD_NUMBER_P2a etc nomenclature. The problem is with P2a. It's a matrixed build