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 what is showing on the 
Jenkins html page, So I am wondering what is the score means in the 
api/json page and what restcall should I use to get the numbers in html 
page.
I have attached the screen shot for the job I have.


Thanks
Xun

-- 
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/ba988458-1d23-44a6-80e2-8544bcf595bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 builds.  I first ran a build on master and I got lucky 
that a developer was just in the process of checking in changes to the 
master.  i verified that by going to the github and checking the commit 
history.  then, I ran a build using the same job on a child branch.  The 
changes were reported as zero and it confirmed with the history on git.  

Then I ran another build on master again and it then the few more commits 
that the developer continued making to master.  

On Monday, September 19, 2016 at 8:26:23 PM UTC-7, Mark Waite wrote:
>
>
>
> On Monday, September 19, 2016 at 3:59:15 PM UTC-7, Sam K wrote:
>>
>> How will it affect the list of changes it shows on the builds page?  
>>
>> Build No. 10 was built with master branch
>> Build No. 11 is built with release_alpha branch
>> Build No. 12 is then built with master branch
>>
>> Will changes between the builds be tracked correctly?  
>>
>
> It depends on your definition of "correct", and how useful that definition 
> to your users.
>
> The git plugin presents the differences between the preceding build and 
> the current build as the "changes".  If the preceding build was for a 
> different branch, then the differences are probably not useful to your 
> users.  
>
> The multi-branch freestyle job type and the multibranch pipeline job type 
> will automatically create and delete a job for each branch that matches 
> your selection criteria.  I very much prefer a job per branch because it 
> makes the changes easier to read, and the history of test pass and fail 
> much easier to understand.
>  
>
>> Will build no. 12 report changes between 10 and 12 and not between 11 and 
>> 12?  
>>
>  
> No, build 12 will report changes between 11 and 12, not between 10 and 12. 
>  The difference computation is with the predecessor build, not with the 
> predecessor build on that branch.
>
> I see under the builds folders there are git commits, tree, parents, etc. 
>>  Is that's what used to determine? 
>>
>>
> Yes, the git repository is used to determine the differences between 
> builds.
>
> Mark Waite
>  
>
>> thanks
>> Sam
>>
>>
>>

-- 
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/15e2fb19-4200-4a7b-9181-94137c6745b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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
1.532 to a minimum of Jenkins 1.625.

Unfortunately, the JGit API does not retain full compatibility between JGit
3 and JGit 4.  That "no such method exception" is one of the indicators of
that incompatibility.

A work around can be applied to a future version of the gerrit trigger
plugin, as was used in the git plugin.  The maintainer of the gerrtit
trigger plugin can contact me for more details if they are needed.

Mark Waite

On Thu, Sep 22, 2016 at 2:58 PM  wrote:

> 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
> com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser$1.invoke(GerritTriggerBuildChooser.java:185)
> 2.20
> at
> com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser$1.invoke(GerritTriggerBuildChooser.java:166)
> at
> org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.withRepository(AbstractGitAPIImpl.java:27)
> at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.withRepository(CliGitAPIImpl.java:64)
> 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:606)
> at
> hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:887)
> at
> hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:862)
> at
> hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:821)
> at hudson.remoting.UserRequest.perform(UserRequest.java:153)
> at hudson.remoting.UserRequest.perform(UserRequest.java:50)
> at hudson.remoting.Request$2.run(Request.java:332)
> at
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> at ..remote call to a12(Native Method)
> at
> hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1433)
> at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
> at hudson.remoting.Channel.call(Channel.java:797)
>
> Please advise. Thank you.
>
> --
> 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/12bce236-4a50-4345-b097-0d83a17090a2%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGLXO6KUxiRGJO1Y%3Dh9QzL0g2iazmnm6gLXCeQukZGifw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

java.lang.NullPointerException: Cannot get property 'Var1' on null object


On 21 September 2016 at 17:12, Phillip Campbell 
wrote:

> Here's a snippet from a Jenkinsfile in a pre-2.0  pipeline job that I use
> to read an existing build.properties file in the workspace so that the
> Jenkinsfile can use the properties.  I haven't tried this in 2.0 pipeline
> yet.
>
> if (!fileExists('build.properties')){echo 'No build 
> properties.'  exit }def props = readProperties file: 
> 'build.properties'   /*   * From build.properties file*/def 
> Var1= props["SOME_PROPERTY"]def Var2= props["ANOTHER_PROPERTY"]
>
>
> On Wed, Sep 21, 2016 at 8:22 AM, Pete Singleton 
> wrote:
>
>> Hi, I'm having exactly the same issue (having only started with Jenkins
>> 2.0 in the last couple of days).  I've tried the Pipeline Utility, tried
>> the EnvInject plugin, also tried opening the file using Groovy file
>> operations, no success!  Did you manage to solve this??
>>
>> On Thursday, 8 September 2016 21:50:01 UTC+1, Ian Cotton wrote:
>>>
>>> Thanks Jerome. Unfortunately this doesn't help me much. The properties
>>> file I need to load already exists and is in use by various build scripts.
>>> I assume I need to create an EnvInjectJobProperty object and set the
>>> appropriate property on it. I'll give that a try.
>>>
>>> On Wed, Sep 7, 2016 at 7:07 PM  wrote:
>>>
 Not sure about the Java properties file, but I succeed by doing a
 .groovy file if that's interest you (probably not, but here it is if
 someone need it, it's unsafe but in controlled env it doesn't matter):

 *Jenkinsfile*
 def my_var = evaluate(new File("myEnv.groovy"));
 bat "\"${my_var.python_2_exe}\" myscript.py"
 ...

 *myEnv.groovy*
 def rv= [:]

 rv['mercurial_url'] = 'http://mercurial.buildserver/'
 rv['python_2_exe'] = "c:\\Python27\\python.exe"
 ...
 return rv;

 I put the .groovy file on the build machine jenkins folder, so the
 Jenkinsfile from the repos can work with vars from any of our build
 machines or network emplacement.

 --
 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-use...@googlegroups.com.
 To view this discussion on the web visit https://groups.google.com/d/ms
 gid/jenkinsci-users/1a03bb2f-5022-4005-ab10-5e3146aebcd1%40g
 ooglegroups.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.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jenkinsci-users/fcf3de22-08c3-47e2-b996-1d0bd85f28ed%
>> 40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jenkinsci-users/OV9h0q_FGfQ/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAAYHPVij13azLVN%2BwkQfeGG_
> ExE6eUqGE1A4cL9Dg-zvwtXK0A%40mail.gmail.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAG7ZcNsW5TAbKo1J%3Dm77x9F_FQYcNzh5ndQWHe%2Bo3s5wYtwmGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 the wiki page:
>
>
> configFileProvider(
>
> [configFile(fileId: ‘my-custom-file-id', variable: 
> 'MAVEN_SETTINGS')]) {
>
> sh 'mvn -s $MAVEN_SETTINGS clean package'
>
> }
>
>
> Results in this error:
>
>
> groovy.lang.MissingPropertyException: No such property: MAVEN_SETTINGS for 
> class: groovy.lang.Binding
>
> at groovy.lang.Binding.getVariable(Binding.java:63)
>
>
>
> I can see that the file is indeed copied into my workspace, but I’m not 
> able to use the file with “mvn -s $MAVEN_SETTINGS”:
>
>
> I am able to view the contents of the file like this, however:
>
> sh 'cat $MAVEN_SETTINGS’
>
>
> Please advise,
>
>
> -Taylor
>

-- 
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/675ce9d8-c537-455c-8214-a8b95908c9b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 help us too. Ideally, we would prefere to re-sign and leave 
> the signature checking in place. Does anyone have ideas as to that?

As I mentioned in the original post, I believe the backend-update-center2 
package can be used to generate the JSON file with valid signatures, however 
from the posts I found it did not sound easy.



This email and any attachments to it may be confidential and are
intended solely for the use of the individual to whom it is 
addressed. If you are not the intended recipient of this email,
you must neither take any action based upon its contents, nor 
copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. QinetiQ may 
monitor email traffic data and also the content of email for 
the purposes of security. QinetiQ Limited (Registered in England
& Wales: Company Number: 3796233) Registered office: Cody Technology 
Park, Ively Road, Farnborough, Hampshire, GU14 0LX  http://www.qinetiq.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/57e39d23.15691c0a.d5cbc.0fabSMTPIN_ADDED_MISSING%40gmr-mx.google.com.
For more options, visit https://groups.google.com/d/optout.


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 its admins don't want to serve 
> files via HTTP. 
>
> > On 19.09.2016, at 20:56, Baptiste Mathus  
> wrote: 
> > 
> > I think it's https://issues.jenkins-ci.org/browse/JENKINS-8028 but 
> surprised it's still active. Pretty sure I saw fixes about this. Maybe it 
> was on some other parts like Tools. 
> > 
> > 2016-09-19 6:10 GMT+02:00 Corey Wei : 
> > anyone can help? 
> > 
> > 
> > On Sunday, September 18, 2016 at 4:43:12 PM UTC+8, Corey Wei wrote: 
> > Hi Croy, 
> > 
> > I just downloaded a hpi from the mirror and the file's good. 
> > 
> > The problem is that Jenkins server doesn't  follow 302 redirects to 
> download the correct file but always downloads a "302 redirect" response 
> file. 
> > 
> > # a 302 redirect file 
> > $ cat git-server.jpi.tmp 
> >  
> >  
> > 302 Found 
> >  
> > Found 
> > The document has moved https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/git-server/1.7/git-server.hpi;>here.
>  
>
> >  
> > 
> > # file can be downloaded  correctly via wget 
> > $ wget -v 
> http://updates.jenkins-ci.org/download/plugins/git-server/1.7/git-server.hpi 
> > --2016-09-18 15:49:54--  
> http://updates.jenkins-ci.org/download/plugins/git-server/1.7/git-server.hpi 
> > Resolving updates.jenkins-ci.org... 52.202.51.185 
> > Connecting to updates.jenkins-ci.org|52.202.51.185|:80... connected. 
> > HTTP request sent, awaiting response... 302 Found 
> > Location: 
> http://mirrors.jenkins-ci.org/plugins/git-server/1.7/git-server.hpi 
> [following] 
> > --2016-09-18 15:49:55--  
> http://mirrors.jenkins-ci.org/plugins/git-server/1.7/git-server.hpi 
> > Resolving mirrors.jenkins-ci.org... 52.202.51.185 
> > Reusing existing connection to updates.jenkins-ci.org:80. 
> > HTTP request sent, awaiting response... 302 Found 
> > Location: 
> https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/git-server/1.7/git-server.hpi
>  
> [following] 
> > --2016-09-18 15:49:58--  
> https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/git-server/1.7/git-server.hpi
>  
> > Resolving mirrors.tuna.tsinghua.edu.cn... 166.111.206.63, 
> 2402:f000:1:416:166:111:206:63 
> > Connecting to mirrors.tuna.tsinghua.edu.cn|166.111.206.63|:443... 
> connected. 
> > HTTP request sent, awaiting response... 200 OK 
> > Length: 40729 (40K) [application/octet-stream] 
> > Saving to: “git-server.hpi.1” 
> > 
> > 
> 100%[===>]
>  
> 40,729  --.-K/s   in 0s 
> > 
> > 
> > 2016-09-18 15:49:58 (188 MB/s) - “git-server.hpi.1” saved [40729/40729] 
> > 
> > 
> > 
> > On Sunday, September 18, 2016 at 2:59:06 PM UTC+8, R Tyler Croy wrote: 
> > (replies inline) 
> > 
> > On Sat, 17 Sep 2016, Corey Wei wrote: 
> > 
> > > Hi, 
> > > 
> > > My Jenkins 2.22 is working with Tomcat. There are some errors while I 
> tried 
> > > to install plugins like this: 
> > > 
> > > 18-Sep-2016 11:17:05.590 SEVERE [Update center installer thread [#1]] 
> > > hudson.model.UpdateCenter$DownloadJob.run Failed to install GIT server 
> > > Plugin 
> > >  java.io.IOException: Downloaded file 
> > > /home/deploy/.jenkins2/plugins/git-server.jpi.tmp does not match 
> expected 
> > > SHA-1, expected 'LoG8X55ycVzgPjwTtCA/iKb7lvw=', actual 
> > > 'Lbk3pB/mu/UlYJO4o2ttQkZ+mvs=' 
> > 
> > 
> > I recently added a mirror located in China 
> > (https://issues.jenkins-ci.org/browse/INFRA-924). 
> > 
> > Would you mind downloading some files and comparing between the mirror 
> you're 
> > hitting and: http://ftp-nyc.osuosl.org/pub/jenkins/ 
> > 
> > 
> > If that mirror is serving corrupted artifacts I will remove it from the 
> > rotation immediately. 
> > 
> > 
> > 
> > > at 
> hudson.model.UpdateCenter.verifyChecksums(UpdateCenter.java:1799) 
> > > at 
> hudson.model.UpdateCenter.access$1100(UpdateCenter.java:147) 
> > > at 
> > > 
> hudson.model.UpdateCenter$InstallationJob.replace(UpdateCenter.java:1950) 
> > > at 
> > > 
> hudson.model.UpdateCenter$UpdateCenterConfiguration.install(UpdateCenter.java:1194)
>  
>
> > > at 
> > > hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1669) 
> > > at 
> > > hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1864) 
> > > at 
> hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1640) 
> > > at 
> > > 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
> > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> > > at 
> > > 
> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
>  
>
> > > at java.lang.Thread.run(Thread.java:745) 

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 at 6:50:02 AM UTC+10, Baptiste Mathus
> wrote:
>>
>> o/ Didn't check, but this should be in the "Snippet Generator".
>>
>>
>>
>> 2016-09-21 22:38 GMT+02:00 Åsmund Østvold :
>>
>>> Thank you Cuong and Michael,
>>>
>>> IIRC my Jenkins install do not give me the choice for "failFast: true"
>>> that I was searching for. Will check tomorrow. But if somebody has a link
>>> to the "full" syntax I would love to have it.
>>>
>>> Asmund
>>>
>>> On Sep 21, 2016 08:34, "Michael Neale"  wrote:
>>>
 There is also: https://jenkins.io/doc/pipeline/

 but generally for the steps - if you open a job to edit, you should see
 either near the pipeline text area or on the left a "Pipeline Syntax" link
 you can open in a new tab. It gives you a choice of steps that will build
 the syntax out for you as things you can copy and paste.

 On Wednesday, September 21, 2016 at 1:42:40 PM UTC+10, Cuong Tran wrote:
>
> The reference link is right on any pipeline job.  You should see a
> "Pipeline Syntax" link, click on that will give a list of known steps, the
> click on the question icon will give you an example.
>
>
> On Tuesday, September 20, 2016 at 1:57:43 PM UTC-7, asmundo wrote:
>>
>> Thank you Baptiste!
>>
>> Tested and it worked. You owe you a beer!
>>
>> I am new to pipeline programming. I worked several hours today on
>> this and other pipeline related work. Could you please point me to the
>> documentation of this syntax? I must have been looking in the wrong
>> location.
>>
>> Cheers
>>
>>
>>
>> On Tue, Sep 20, 2016 at 10:47 PM, Baptiste Mathus 
>> wrote:
>>
>>> Hi,
>>>
>>>  stage('tests') {
>>> parallel 'longTests': {
>>> build job: 'testjob1', quietPeriod: 0
>>> }, 'shortTests':{
>>> // this will fail 1 sec
>>> build job: 'testjob2', quietPeriod: 0
>>> }, failFast: true
>>>
>>> }
>>>
>>> Cheers
>>>
>>> 2016-09-20 22:43 GMT+02:00 Åsmund Østvold :
>>>
 hi All,

 Do anybody have an example or a pointer to how one could terminate
 a parallel pipeline section on first failure?

 The use case is that I have 14 tests in a checkin regression
 pipeline. Some tests take 2 min some take 40 min. To speed up feedback 
 to
 the users we want to give feed back ASAP if a test did fail.

 My test pipeline is:

 stage('tests') {
 parallel 'longTests': {
 build job: 'testjob1', quietPeriod: 0
 }, 'shortTests':{
 // this will fail 1 sec
 build job: 'testjob2', quietPeriod: 0
 }
 }

 My current "pipeline" (Build-flow) is able to do this with a ugly
 hack:

 import static hudson.model.Result.FAILURE
 import groovy.time.*

 parallel (
   { b = build("testjob1")
 if (b.getResult().toString() != "SUCCESS") {
 upstream.getExecutor().interrupt(FAILURE)
}
   },
   { b = build("testjob2"])
 if (b.getResult().toString() != "SUCCESS") {
 upstream.getExecutor().interrupt(FAILURE)
}
   }
 )

 Regard,
 Asmund

 --
 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-use...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/CA%2BzfM3B
 q0x7djYpWaXfvSbHrFf2DuGJeZ8fEsVskT%3DDfTeKq2w%40mail.gmail.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-use...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS76k
>>> 

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 
>
Reply-To: 
"jenkinsci-users@googlegroups.com" 
>
Date: Thursday, September 22, 2016 at 10:32 AM
To: Jenkins Users 
>
Subject: Running Jenkins jobs in command line

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 how effective running jenkins from command line based on 
that i can decide ?

Thanks in advance.

Regards
Pradeep

--
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/aafc2970-ee6d-4317-9d73-0bece74cbf69%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/D40964E8.5D66D%25ingunawa%40cisco.com.
For more options, visit https://groups.google.com/d/optout.


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:
>
>  def props = readProperties file: 'project.properties'
>  def Var1= props['RELEASE']
>  def Var2= props['SOFTWARE.VERSION']
>
> echo "Var1=" Var1
> echo "Var2=" Var2
>
> java.lang.NullPointerException: Cannot get property 'Var1' on null object
>
>
> On 21 September 2016 at 17:12, Phillip Campbell <
> phillip.campb...@gmail.com> wrote:
>
>> Here's a snippet from a Jenkinsfile in a pre-2.0  pipeline job that I use
>> to read an existing build.properties file in the workspace so that the
>> Jenkinsfile can use the properties.  I haven't tried this in 2.0 pipeline
>> yet.
>>
>> if (!fileExists('build.properties')){echo 'No build 
>> properties.' exit }def props = readProperties file: 
>> 'build.properties'   /*   * From build.properties file*/def 
>> Var1= props["SOME_PROPERTY"]def Var2= props["ANOTHER_PROPERTY"]
>>
>>
>> On Wed, Sep 21, 2016 at 8:22 AM, Pete Singleton > > wrote:
>>
>>> Hi, I'm having exactly the same issue (having only started with Jenkins
>>> 2.0 in the last couple of days).  I've tried the Pipeline Utility, tried
>>> the EnvInject plugin, also tried opening the file using Groovy file
>>> operations, no success!  Did you manage to solve this??
>>>
>>> On Thursday, 8 September 2016 21:50:01 UTC+1, Ian Cotton wrote:

 Thanks Jerome. Unfortunately this doesn't help me much. The properties
 file I need to load already exists and is in use by various build scripts.
 I assume I need to create an EnvInjectJobProperty object and set the
 appropriate property on it. I'll give that a try.

 On Wed, Sep 7, 2016 at 7:07 PM  wrote:

> Not sure about the Java properties file, but I succeed by doing a
> .groovy file if that's interest you (probably not, but here it is if
> someone need it, it's unsafe but in controlled env it doesn't matter):
>
> *Jenkinsfile*
> def my_var = evaluate(new File("myEnv.groovy"));
> bat "\"${my_var.python_2_exe}\" myscript.py"
> ...
>
> *myEnv.groovy*
> def rv= [:]
>
> rv['mercurial_url'] = 'http://mercurial.buildserver/'
> rv['python_2_exe'] = "c:\\Python27\\python.exe"
> ...
> return rv;
>
> I put the .groovy file on the build machine jenkins folder, so the
> Jenkinsfile from the repos can work with vars from any of our build
> machines or network emplacement.
>
> --
> 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-use...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/1a03bb2f-5
> 022-4005-ab10-5e3146aebcd1%40googlegroups.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.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/jenkinsci-users/fcf3de22-08c3-47e2-b996-1d0bd85f28ed%40g
>>> ooglegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Jenkins Users" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/jenkinsci-users/OV9h0q_FGfQ/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> jenkinsci-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jenkinsci-users/CAAYHPVij13azLVN%2BwkQfeGG_ExE6eUqGE1A4c
>> L9Dg-zvwtXK0A%40mail.gmail.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 

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 on the list.  Do you recommend I drop
back to 1.651?

Tnx!

Allen

On Wed, Sep 21, 2016 at 5:40 PM, Daniel Beck  wrote:

>
> > On 21.09.2016, at 21:38, Radcliff, Allen  wrote:
> >
> > I run a "git branch -r", but do not see a branch for version 1.658.
> Please advise.
>
> 1.568 has never been publicly announced and only exists due to some
> process testing. What do you need that for?
>
> --
> 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/CD0DE7F7-95BD-44C2-9732-920A5BE712E5%40beckweb.net.
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CALcD%3DCHqnLXELgTikenbmmDmtj46Ud2%3DPc4eeO%3DUUoDzEVss3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 09:57, Bilsby David C  wrote:

> -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 help us too. Ideally, we would prefere to re-sign and
> leave the signature checking in place. Does anyone have ideas as to that?
>
> As I mentioned in the original post, I believe the backend-update-center2
> package can be used to generate the JSON file with valid signatures,
> however from the posts I found it did not sound easy.
>
>
>
> This email and any attachments to it may be confidential and are
> intended solely for the use of the individual to whom it is
> addressed. If you are not the intended recipient of this email,
> you must neither take any action based upon its contents, nor
> copy or show it to anyone. Please contact the sender if you
> believe you have received this email in error. QinetiQ may
> monitor email traffic data and also the content of email for
> the purposes of security. QinetiQ Limited (Registered in England
> & Wales: Company Number: 3796233) Registered office: Cody Technology
> Park, Ively Road, Farnborough, Hampshire, GU14 0LX  http://www.qinetiq.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.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/57e39d23.15691c0a.d5cbc.0fabSMTPIN_ADDED_MISSING%
> 40gmr-mx.google.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMx0-fNPxq9qPq116kfPCX4J6xNZU%3DRCTnvkVyJauN3WUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 may just upgrade everything 
to HTTPS. Not sure what Tyler's plans currently are.

-- 
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/FAB5D6EB-CDBE-4F7F-A8CA-283155201C53%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


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 wondering how you found it.

1.651.x would be a suitable LTS line if this is what you want to use, but note 
that we're no longer updating anything older than 2.x.

-- 
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/08C59812-67B5-46A9-9683-46027B5126DA%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


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 template enables users to manage their Jenkins environments. Users can
launch new services in kubernetes or import their existing Jenkins instance
into one application in CloudMunch. CloudMunch can provide a dashboard view
of all Jenkins environments and provide various insights on them. Read  more
  



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/TAMING-JENKINS-AT-SCALE-WITH-CLOUDMUNCH-TURBO-tp4844186.html
Sent from the Jenkins users mailing list archive at Nabble.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1474573209043-4844186.post%40n4.nabble.com.
For more options, visit https://groups.google.com/d/optout.


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 
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser$1.invoke(GerritTriggerBuildChooser.java:185)
 
2.20
at 
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerBuildChooser$1.invoke(GerritTriggerBuildChooser.java:166)
at 
org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.withRepository(AbstractGitAPIImpl.java:27)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.withRepository(CliGitAPIImpl.java:64)
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:606)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:887)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:862)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:821)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:332)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at ..remote call to a12(Native Method)
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1433)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
at hudson.remoting.Channel.call(Channel.java:797)

Please advise. Thank you.

-- 
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/12bce236-4a50-4345-b097-0d83a17090a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 issues I'm seeing seem to have 
> to do with java and antcontrib.  Anyone know how I resolve the following 
> errors?
>
> Unable to locate tools.jar. Expected to find it in 
> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.101-3.b13.el6_8.x86_64/lib/tools.jar
>
> Buildfile: /opt/jenkins/workspace/NAP-Client/build.xml
>   [taskdef] Could not load definitions from resource 
> net/sf/antcontrib/antcontrib.properties. It could not be found.
>   [taskdef] Could not load definitions from resource 
> net/sf/antcontrib/antcontrib.properties. It could not be found.
>   [taskdef] Could not load definitions from resource flexTasks.tasks. It 
> could not be found.
>   [taskdef] Could not load definitions from resource flexUnitTasks.tasks. It 
> could not be found.
>   [taskdef] Could not load definitions from resource 
> net/sf/antcontrib/antlib.xml. It could not be found.
>
>
> Thanks,
>
> Eric
>
>

-- 
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/75f0084a-54e4-4836-9a54-a2b833292770%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 of the Groovy language now and not working in the sandbox. Security
risk, I know, but it's much more powerful.

On Thu, Sep 22, 2016 at 1:13 PM Phillip Campbell 
wrote:

> 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:
>>
>>  def props = readProperties file: 'project.properties'
>>  def Var1= props['RELEASE']
>>  def Var2= props['SOFTWARE.VERSION']
>>
>> echo "Var1=" Var1
>> echo "Var2=" Var2
>>
>> java.lang.NullPointerException: Cannot get property 'Var1' on null object
>>
>>
>> On 21 September 2016 at 17:12, Phillip Campbell <
>> phillip.campb...@gmail.com> wrote:
>>
>>> Here's a snippet from a Jenkinsfile in a pre-2.0  pipeline job that I
>>> use to read an existing build.properties file in the workspace so that the
>>> Jenkinsfile can use the properties.  I haven't tried this in 2.0 pipeline
>>> yet.
>>>
>>> if (!fileExists('build.properties')){echo 'No build 
>>> properties.'exit }def props = readProperties 
>>> file: 'build.properties'   /*   * From build.properties file*/  
>>>   def Var1= props["SOME_PROPERTY"]def Var2= 
>>> props["ANOTHER_PROPERTY"]
>>>
>>>
>>> On Wed, Sep 21, 2016 at 8:22 AM, Pete Singleton <
>>> pete.single...@gmail.com> wrote:
>>>
 Hi, I'm having exactly the same issue (having only started with Jenkins
 2.0 in the last couple of days).  I've tried the Pipeline Utility, tried
 the EnvInject plugin, also tried opening the file using Groovy file
 operations, no success!  Did you manage to solve this??

 On Thursday, 8 September 2016 21:50:01 UTC+1, Ian Cotton wrote:
>
> Thanks Jerome. Unfortunately this doesn't help me much. The properties
> file I need to load already exists and is in use by various build scripts.
> I assume I need to create an EnvInjectJobProperty object and set the
> appropriate property on it. I'll give that a try.
>
> On Wed, Sep 7, 2016 at 7:07 PM  wrote:
>
>> Not sure about the Java properties file, but I succeed by doing a
>> .groovy file if that's interest you (probably not, but here it is if
>> someone need it, it's unsafe but in controlled env it doesn't matter):
>>
>> *Jenkinsfile*
>> def my_var = evaluate(new File("myEnv.groovy"));
>> bat "\"${my_var.python_2_exe}\" myscript.py"
>> ...
>>
>> *myEnv.groovy*
>> def rv= [:]
>>
>> rv['mercurial_url'] = 'http://mercurial.buildserver/'
>> rv['python_2_exe'] = "c:\\Python27\\python.exe"
>> ...
>> return rv;
>>
>> I put the .groovy file on the build machine jenkins folder, so the
>> Jenkinsfile from the repos can work with vars from any of our build
>> machines or network emplacement.
>>
>> --
>> 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-use...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/1a03bb2f-5022-4005-ab10-5e3146aebcd1%40googlegroups.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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/fcf3de22-08c3-47e2-b996-1d0bd85f28ed%40googlegroups.com
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Jenkins Users" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/jenkinsci-users/OV9h0q_FGfQ/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> 

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 how effective running jenkins from command line based 
on that i can decide ?

Thanks in advance.

Regards
Pradeep

-- 
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/aafc2970-ee6d-4317-9d73-0bece74cbf69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.