How to get the coverage report for Jenkins Jobs

2016-09-22 Thread Wu Xun
Dear Jenkins Managers, We are currently using Jenkins for a lot of our testing jobs, but one problem we are finding is that, when we try to make the Restcall for that Jenkins jobs by adding "api/json?pretty=true" it will list the healthreport there, but the healthreport score is different from

Re: Same Jenkins job for different git branches

2016-09-22 Thread Sam K
Thanks for the reply Mark. After posting the question, I started looking at the builds folders within the jobs and each build has a changelog which has a 'tree' in it. I assume Jenkins will use that 'tree' to figure out the changes between branches? Just guessing. I also ran some test

Re: file version compact bug against gerrit git client plugin and gerrit trigger plugin

2016-09-22 Thread Mark Waite
You'll need to downgrade git client plugin back to the previous version. The git client plugin upgrade from 1.x to 2.0 introduces a breaking change by switching from JGit 3 to JGit 4, and by changing from Java 6 compatible to Java 7 compatible and by switching from requiring a minimum of Jenkins

Re: Loading properties from a file in Jenkins 2.0 pipeline

2016-09-22 Thread Pete Singleton
ok thanks, that seems to work as far as reading the properties file, but then fails when I try to echo the variable: def props = readProperties file: 'project.properties' def Var1= props['RELEASE'] def Var2= props['SOFTWARE.VERSION'] echo "Var1=" Var1 echo "Var2=" Var2

Re: Help with Config File Provider Plugin in Pipeline

2016-09-22 Thread Andrei Pacurar
use sh 'mvn -s \$MAVEN_SETTINGS clean package' (escape before the $ sign) On Wednesday, September 21, 2016 at 7:14:49 PM UTC+3, Taylor Patton wrote: > > Hi, > > > I’m trying to use the Config File Provider Plugin in my Pipeline build but > its not working. Following the very basic example from

RE: Standalone mirrored update site without signature checking

2016-09-22 Thread Bilsby David C
-Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Jason Pyeron Sent: 21 September 2016 13:08 To: jenkinsci-users@googlegroups.com Subject: RE: Standalone mirrored update site without signature checking > Thanks, this will

Re: Can't download plugins - HTTP 302 redirect

2016-09-22 Thread Corey Wei
Thanks Daniel & Baptiste. It's working fine. Does it have any plan to support http to https redirect? On Thursday, September 22, 2016 at 10:02:08 AM UTC+8, Daniel Beck wrote: > > Turns out this was https://issues.jenkins-ci.org/browse/JENKINS-38340 and > we removed the mirror from the list, as

Re: terminate pipeline parallal on first failure

2016-09-22 Thread Åsmund Østvold
It was hidden under the document question mark. Should I make a issue? Asmund On Sep 22, 2016 01:36, "Michael Neale" wrote: > If it isn't, please do raise a ticket as it is an important feature of > parallel for people to know about. > > On Thursday, September 22, 2016

Re: Running Jenkins jobs in command line

2016-09-22 Thread Indra Gunawan (ingunawa)
If you want your user to crash/shut down your Jenkins with a groovy script that does "System.exit(0)" then you go ahead allow CLI (run jenkins from command line) From: > on behalf of Bubunia Patra

Re: Loading properties from a file in Jenkins 2.0 pipeline

2016-09-22 Thread Phillip Campbell
Syntax error. Var1 and Var2 are variables. Try: echo "Var1=${Var1}" echo "Var2=${Var2}" On Thu, Sep 22, 2016 at 1:11 AM, Pete Singleton wrote: > ok thanks, that seems to work as far as reading the properties file, but > then fails when I try to echo the variable: >

Re: Compiling Jenkins from source

2016-09-22 Thread Radcliff, Allen
Basically, I downloaded a plugin that required an upgrade to our 1.xxx version of Jenkins, and my Google search for downloading Jenkins took me here: http://pkg.jenkins-ci.org/redhat/ Not seeing any warnings to the effect of "not for public consumption", I downloaded the latest 1.xxx version

Re: Standalone mirrored update site without signature checking

2016-09-22 Thread Stephen Connolly
If you use backend-update-center2 to generate an update center, you will need to add the certificate that you use for signing into the list of trusted update center certificates (there is a special directory in JENKINS_HOME which is used as a source of trusted certs) On 22 September 2016 at

Re: Can't download plugins - HTTP 302 redirect

2016-09-22 Thread Daniel Beck
> On 22.09.2016, at 10:30, Corey Wei wrote: > > Does it have any plan to support http to https redirect? Probably not any time soon, as it needs support in Jenkins and older versions will just fail to download anything. However, since we now have Azure sponsoring us, we

Re: Compiling Jenkins from source

2016-09-22 Thread Daniel Beck
> On 22.09.2016, at 14:49, Radcliff, Allen wrote: > > Not seeing any warnings to the effect of "not for public consumption", I > downloaded the latest 1.xxx version on the list. Do you recommend I drop > back to 1.651? It's not broken or anything like that, was just

TAMING JENKINS AT SCALE WITH CLOUDMUNCH TURBO

2016-09-22 Thread Naresh
Last week we launched CloudMunch Turbo and the initial reception was good. This week, we have made CloudMunch Turbo widely available as a part of our free cloud edition. In this post, I will talk about how you can launch a new Jenkins service with few clicks using CloudMunch Turbo Templates. This

file version compact bug against gerrit git client plugin and gerrit trigger plugin

2016-09-22 Thread hma
Hi, After upgrading git client plugin from 1.19.6 to 2.0.0 and git plugin from 2.4.4 to 3.0.0, I got the following error Caused by: java.lang.NoSuchMethodError: org.eclipse.jgit.revwalk.RevWalk.release()V 3.0.0 => 2. at

Re: Build Machine Migration Issues

2016-09-22 Thread Eric Fetzer
OK, figured out the issue with tools.jar. I'd only had the jre installed on the new build machine. On Wednesday, September 21, 2016 at 12:55:09 PM UTC-6, Eric Fetzer wrote: > I moved to a new build machine and migrated the Jenkins repository. > Everything looks ok, but won't build. First

Re: Loading properties from a file in Jenkins 2.0 pipeline

2016-09-22 Thread Ian Cotton
The original idea of using the properties build step was just not workable since I couldn't directly instantiate the required objects and couldn't find any kind of factory. I went with loading from file straight into a Properties object as some have suggested and it works fine. I'm using much more

Running Jenkins jobs in command line

2016-09-22 Thread Bubunia Patra
Hi all, One of the opensource tool will trigger the Jenkins job from command line and update the results. I googled and found some articles: http://techieroop.com/run-jenkins-build-from-command-line/ http://www.ittybittytalks.com/how-to-automate-your-jenkins-build-script/ Can some one tell me