C# .NET with jenkins v 2.5 how?

2016-05-19 Thread Kenneth Nielsen
HI all, I am trying to set up a jenkins server for on my job. we use C#, where do I find a good introduction to C#/.NET with the new version 2.5 of Jenkins ( we are currently using perforce as version control. I would really like to move to Git, but gotta convince the others.. ) thanks

Re: Jenkins Upgrade: hudson.tasks.junit.JUnitParser not found in latest Jenkins 2.5 (ref by labeled-test-groups-publisher-plugin)

2016-05-19 Thread Roshan Dawrani
Thank you for replying, Daniel. This is how I finally did it y'day - downloaded the HPI files of the plugins that were not being shown due to their dependency on a minimum version of Jenkins and uploaded them to Jenkins /plugins directory using the "Advanced" UI of the plugin manager. After

Pipeline: Configure Git include regions doesn't work

2016-05-19 Thread John Engelman
I can't seem to figure out how to configure include regions for the Git plugin when defining a pipeline. They don't seem to be adhered to. This is what I currently have: checkout([$class: 'GitSCM', branches: [[name: '*/master']], userRemoteConfigs: [ [url:

Re: pipeline: Retrieve exit Code from 'sh' step and perform logic

2016-05-19 Thread John Engelman
I finally found this (https://issues.jenkins-ci.org/browse/JENKINS-26133) which addresses my issue. On Thursday, May 19, 2016 at 1:55:24 PM UTC-5, John Engelman wrote: > > Is there a way to perform conditional logic in my pipeline based on the > exit code from a 'sh' step? > Basically, I want

Re: Limit of 'parallel' jobs

2016-05-19 Thread ok999
the question was not for the # of executors. It more for the parallel task execution in the jenkins pipeline. On Thursday, May 19, 2016 at 1:32:22 PM UTC-5, John Mellor wrote: > > There can never be a reasonable number quoted. It all depends upon the > number of threads that your build

Re: ScheduleBuild2 and determining if job was never started.

2016-05-19 Thread Daniel Beck
> On 19.05.2016, at 15:37, 'Niksan' via Jenkins Users > wrote: > > So, you can fire jobs off in Groovy using ScheduleBuild2 which returns a > future. By its nature, Jenkins will purge any duplicate build requests at > some point.

Re: Jenkins Upgrade: hudson.tasks.junit.JUnitParser not found in latest Jenkins 2.5 (ref by labeled-test-groups-publisher-plugin)

2016-05-19 Thread Daniel Beck
> On 19.05.2016, at 14:33, roshan wrote: > > However, as noted here in > https://issues.jenkins-ci.org/browse/JENKINS-23263?focusedCommentId=209734=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-209734, > I can't see the "JUnit Plugin" if I

pipeline: Retrieve exit Code from 'sh' step and perform logic

2016-05-19 Thread John Engelman
Is there a way to perform conditional logic in my pipeline based on the exit code from a 'sh' step? Basically, I want to execute different behavior based on that. In this case it is Terraform which will output different exit codes based on the results of a 'terraform plan' -- You received

Re: File as parameter not working

2016-05-19 Thread Jonathan Hodgson
The problem is, right now I'm not getting it to the build... but the idea is that the diff is generated locally and a build started by a local command line script, along the lines of this... https://codeascraft.com/2011/10/11/did-you-try-it-before-you-committed/ It looks like one possibility

RE: Limit of 'parallel' jobs

2016-05-19 Thread John Mellor
There can never be a reasonable number quoted. It all depends upon the number of threads that your build job uses, how disk-bound or network-bound each job is, how overloaded the VM host machine is, how much spare RAM is available, etc. I myself have a large number of C++ jobs using gmake –j,

Re: File as parameter not working

2016-05-19 Thread Brian Ray
Gotcha, did not follow how you were getting it across to the build. On Thursday, May 19, 2016 at 4:15:06 AM UTC-7, Jonathan Hodgson wrote: > > The remote machine currently isn't sharing the file, that's part of the > point of uploading it in the http POST, sorting out a share seems like it >

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

Re: MultiJob retry functionality...I cant get it working

2016-05-19 Thread Fernando Miguélez
Great answer Aleksander. This feature should definetly be better documented. In my case I found out that if if your task finishes with "UNSTABLE" instead of "FAILURE", phase retry configuration has no effect. El martes, 10 de mayo de 2016, 12:14:33 (UTC+2), Aleksandar Kasabov escribió: > >

Incremental backup of slave machines with rsync

2016-05-19 Thread Murray Thomson
Hi, I'm planning to run Jenkins on my Raspberry pi and use it to backup folders in several machines at home. The idea is to add them as slaves and create items that use rsync to schedule incremental backups. I was wondering if there is any plugin that might help me to do that. I have seen

Re: Dedicated Executors for specific Jobs

2016-05-19 Thread Mehdi Hayani
Hello, thank you for your answer :) I'll try to set the same machine as SSH slave and dedicate this slave to deployment job only. Regards, Mehdi 2016-05-19 15:04 GMT+02:00 'Björn Pedersen' via Jenkins Users < jenkinsci-users@googlegroups.com>: > > You can have slaves running on the master

ScheduleBuild2 and determining if job was never started.

2016-05-19 Thread 'Niksan' via Jenkins Users
So, you can fire jobs off in Groovy using ScheduleBuild2 which returns a future. By its nature, Jenkins will purge any duplicate build requests at some point. How can we tell given a future if that job was purged by Jenkins itself to know it never actually ran? Or does that future return that

Re: Dedicated Executors for specific Jobs

2016-05-19 Thread 'Björn Pedersen' via Jenkins Users
You can have slaves running on the master (using docker has been named). The simplest solution ist to use e.g. a ssh slave on the same machine. Björn -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: Jenkins Upgrade: hudson.tasks.junit.JUnitParser not found in latest Jenkins 2.5 (ref by labeled-test-groups-publisher-plugin)

2016-05-19 Thread roshan
The Jenkins release change log (v1.577) seems to say that junit stuff was taken out from the core into a separate plugin. However, as noted here in

Jenkins Upgrade: hudson.tasks.junit.JUnitParser not found in latest Jenkins 2.5 (ref by labeled-test-groups-publisher-plugin)

2016-05-19 Thread roshandawrani
Hi, I am trying to upgrade my Jenkins setup (from v1.4.x to v2.5) and running into this error "java.lang.ClassNotFoundException: hudson.tasks.junit.JUnitParser" among others. I checked and found that this class used to be in jenkins-core-1.471.jar However, I don't find it now in

Re: File as parameter not working

2016-05-19 Thread Jonathan Hodgson
The remote machine currently isn't sharing the file, that's part of the point of uploading it in the http POST, sorting out a share seems like it would be an issue, it needs to be dynamic. On Thursday, May 19, 2016 at 2:25:47 AM UTC+1, Brian Ray wrote: > > Sorry, the API was

Template to send a better report by email

2016-05-19 Thread Antonio Hernandez
Hi everyone, I'm working now in a better way to send a report by email because the report i have now is a pretty useless because the only thing it sending is a attatched report like this: Ejecutando en el nodo principalen el espacio de trabajo

Re: Dedicated Executors for specific Jobs

2016-05-19 Thread Dirk Heinrichs
Am 19.05.2016 um 11:37 schrieb Mehdi Hayani: > PS: Adding a slave is not possible for the moment, So I should deal > with the only server I have :) If that slave is Linux, it could as well dynamically create and run Docker slaves and use these to run the job. HTH... Dirk -- *Dirk

Re: Marking failure a job finishing SUCCESS

2016-05-19 Thread Antonio Hernandez
Thanks a lot zerozerounouno I introduced the groovy script as you written and it's working fine Thanks again! El jueves, 19 de mayo de 2016, 11:12:58 (UTC+2), zerozer...@gmail.com escribió: > > Il giorno giovedì 19 maggio 2016 10:19:35 UTC+2, Antonio Hernandez ha > scritto: >

Dedicated Executors for specific Jobs

2016-05-19 Thread Mehdi Hayani
Hello Team, I'm in charge of maintaining a mutualized continuous integration platform which is based on Jenkins. Actually for each integrated project we create a specific Job for deployment: its role is to only send a list of parameters among them the environment to an external tool which is

Re: Marking failure a job finishing SUCCESS

2016-05-19 Thread zerozerounouno
Il giorno giovedì 19 maggio 2016 10:19:35 UTC+2, Antonio Hernandez ha scritto: > I'm wondering how to manage the result of a job in other way as jenkins > does because i have a job that the only thing it runs is a .jar file that > can finsih ok or not but in both cases jenkins marks it as

Marking failure a job finishing SUCCESS

2016-05-19 Thread Antonio Hernandez
Hi everyone, I'm wondering how to manage the result of a job in other way as jenkins does because i have a job that the only thing it runs is a .jar file that can finsih ok or not but in both cases jenkins marks it as SUCESS, here is an example: Exception in thread "main"

Re: Jenkins failed to Connect Bonobo Git Repository

2016-05-19 Thread Munira Presswala
what could the typical cause of this Issue .Because I have configured Git with install Automatically . And I and my client's vendor were able to successfully push the code in Git and Jenkins auto Build used to ran correclty .Please suggest me the possible cause of this issue. On Wednesday, 18

Re: latest Jenkins on Docker

2016-05-19 Thread nicolas de loof
use https://hub.docker.com/_/jenkinsci/jenkins jenkins official image only do host LTS releases. 2016-05-19 9:47 GMT+02:00 Jeeva Chelladhurai : > Where I can find the latest docker image for Jenkins? > https://hub.docker.com/_/jenkins/ does not have Jenkins 2.0 or later >

latest Jenkins on Docker

2016-05-19 Thread Jeeva Chelladhurai
Where I can find the latest docker image for Jenkins? https://hub.docker.com/_/jenkins/ does not have Jenkins 2.0 or later images... Thanks, Jeeva -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Invalid subversion URL with @HEAD

2016-05-19 Thread jenkins
When adding a @HEAD suffix to a subversion URL Jenkins complains "Credentials looks fine but the repository URL is invalid". Why is that? How can I avoid it? --Heiko -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this