Re: Try Catch issue

2016-09-23 Thread ok999
Cleaned all the *suppose to be comments and that did the trick On Friday, September 23, 2016 at 12:31:39 PM UTC-5, ok999 wrote: > > I have trimmed down the script, to keep it to bare minimum. > > > > > On Friday, September 23, 2016 at 12:30:52 PM UTC-5, ok999 wrote:

Re: Try Catch issue

2016-09-23 Thread ok999
I have trimmed down the script, to keep it to bare minimum. On Friday, September 23, 2016 at 12:30:52 PM UTC-5, ok999 wrote: > > This is a test jenkins workflow script that i was testing and i am getting > crazy as to why the catch is being executed even when the try section is a

Try Catch issue

2016-09-23 Thread ok999
This is a test jenkins workflow script that i was testing and i am getting crazy as to why the catch is being executed even when the try section is a success. Any pointers will be appreciated. //def notify node('Linux'){ try { stage name: 'Init' //def mvnHome = tool 'M3'

Re: Git Polling fails

2016-09-16 Thread ok999
age seems to be from your server and seems to say > that a specific sha1 cannot be found in the remote repository. > > Is there any server maintenance on your TFS server at the time you see the > issue? > > Mark Waite > > Mark Waite > > On Tue, Sep 13, 2016 at 10:39 A

Re: Git Polling fails

2016-09-16 Thread ok999
aintenance on your TFS server at the time you see the > issue? > > Mark Waite > > Mark Waite > > On Tue, Sep 13, 2016 at 10:39 AM ok999 <nirish...@gmail.com > > wrote: > >> I have a very simple job that polls the Git SCM, and if any changes if >>

Re: Git Polling fails

2016-09-16 Thread ok999
TFS server at the time you see the > issue? > > Mark Waite > > Mark Waite > > On Tue, Sep 13, 2016 at 10:39 AM ok999 <nirish...@gmail.com > > wrote: > >> I have a very simple job that polls the Git SCM, and if any changes if >> kicks of a downstream job. For t

Re: Git Polling fails

2016-09-16 Thread ok999
? > > Mark Waite > > Mark Waite > > On Tue, Sep 13, 2016 at 10:39 AM ok999 <nirish...@gmail.com > > wrote: > >> I have a very simple job that polls the Git SCM, and if any changes if >> kicks of a downstream job. For the last 1 week, the Git polling fails

Git Polling fails

2016-09-13 Thread ok999
I have a very simple job that polls the Git SCM, and if any changes if kicks of a downstream job. For the last 1 week, the Git polling fails with the below error. *Git Polling Log* *Started on Sep 12, 2016 9:44:04 AM* *Polling SCM changes on Agent1* *Using strategy: Default* *[poll] Last Built

Re: Limit of 'parallel' jobs

2016-05-19 Thread ok999
Consequently, I always limit > the number of executors to one. > > > > *From:* jenkins...@googlegroups.com [mailto: > jenkins...@googlegroups.com ] *On Behalf Of *ok999 > *Sent:* May-19-16 13:39 > *To:* Jenkins Users > *Subject:* Limit of 'parallel' jobs > >

Limit of 'parallel' jobs

2016-05-19 Thread ok999
Any documented and tested limits on the number of parallel that can be executed in a slave. Will it also go by the thumb rule of number of cores in the CPU? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and

Jenkins pipeline job not triggered sometimes with option "Build after other projects are built"

2016-05-04 Thread ok999
I have a job of the type pipeline. I want this to trigger whenever their is a change in the SCM. Since the option to poll an SCM was not available with the pipeline. There is a job that polls the scm every 5mins. This job is set as the reference and i have enabled the option, "Build after

Re: why is the groovy code failing in jenkins?

2016-04-22 Thread ok999
ke sense. i am just trying to get the loop rolling :) On Thursday, April 21, 2016 at 3:33:45 PM UTC-5, ok999 wrote: > > This a very basic test code for the pipleine job > > > node('windows') { > checkout([$class: 'GitSCM', branches: [[name: '*/master']], > doGe

windows jenkins slave shows offline

2016-04-18 Thread ok999
i have a jenkins master (linux) and a jenkins slave (win 2008r2). The "Launch MEthod" is set to use the "Java Web Start". I went into the windows slave node, and can start the jenkins using the java. I have installed the jenkins as a service on the slave node. The problem is, if i exit out

Workspace directory location for a pipeline!!!

2016-02-17 Thread ok999
The workspace of a pipeline/workflow is weird. Its not the usual path on the slaves but rather on the master inside the jobs directory. Is this the way how it should be? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

Re: Jenkins Workflow/Pipeline - Separate SCM / Gitlab

2016-02-14 Thread ok999
i simply create a job that check the SCM for any changes. And then set the pipeline job as downstream job. On Saturday, February 13, 2016 at 4:42:41 PM UTC-6, Peter Nijssen wrote: > > Hi all, > > I really would like to use the Jenkins Workflow/Pipeline plugin. The > problem I am currently

Using the features provided by a plugin in a workflow/pipeline

2016-02-12 Thread ok999
I have a jenkins standalone job, that uses the MSTest plugin , it publishes the test result (.trx) on the jenkins UI. I want to use this feature of the plugin via the workflow script. How can i achieve this? At the moment, i am using

Re: Publishing vstest results?

2016-02-12 Thread ok999
@James any idea on how to use the plugin via the new jenkins pipeline. I am using the MS Test plugin to publish the .trx. But after adopting the new pipeline, i am not sure on how to call this action via a workflow. On Tuesday, November 11, 2014 at 6:00:55 PM UTC-6, James Telfer wrote: > >

Re: Recommnended approach for jenkins housekeeping

2016-02-11 Thread ok999
days then wipe > them out. > > Cheers > > On Thursday, 11 February 2016 05:06:40 UTC, ok999 wrote: >> >> >> A job/pipeline is using custom workspace. The job is set-up in such a way >> that every build creates there own workspace inside the main/default &g

Recommnended approach for jenkins housekeeping

2016-02-10 Thread ok999
A job/pipeline is using custom workspace. The job is set-up in such a way that every build creates there own workspace inside the main/default workspace. So, if the actual workspace is *"D:\jenkins\workspace\"*, each run of the job/pipeline is creating there own workspace like

Re: Publish test file .TRX to .XML on jenkins

2016-02-08 Thread ok999
Ok there was an option to publish in the drop down of the pipeline configuration On Monday, February 8, 2016 at 11:19:24 AM UTC-6, ok999 wrote: > > hey guys, > The unit test & integration test stages in the pipeline for a .net app, > returns the .trx file as

Publish test file .TRX to .XML on jenkins

2016-02-08 Thread ok999
hey guys, The unit test & integration test stages in the pipeline for a .net app, returns the .trx file as a result. I know that there is a plugin called "Publish MSTEST test result report ". But i dont know how to use this in a