Re: Slave Node can't connect to Master on Ubuntu 16.10

2016-11-30 Thread Baptiste Mathus
WAT? Java 9 by default? Are you sure? Java 9 isn't even out yet, it's planned for at least March 2017 last time I looked. If confirmed, then it seems like a real Ubuntu bug to me. 2016-11-29 19:01 GMT+01:00 'imker25' via Jenkins Users < jenkinsci-users@googlegroups.com>: > Hello again, > > well I

how to use git commands inside a Multi Branch Project?

2016-11-30 Thread Torsten Reinhard
Hi all, I have a Multi Branch Project, using a *.git Repository. All branches are detected and the checkout is working. In my JenkinsFile I need to execute some "git" commands, like: ... sh "git tag -d FOR_INTEGRATION_TESTING" // removes the tag in local env. sh "git push o

Re: Perform Maven Release - remote ?

2016-11-30 Thread Julien Baldy
Maybe it is not possible ? :'( Le mardi 29 novembre 2016 14:30:32 UTC+1, Julien Baldy a écrit : > > Hello everyone! > First, sorry for my bad english, i learn it. > > I know it is possible to use buildwithparameters with URL. But i want use > Schedule > Maven Release Build at remote access.. li

Jenkins Pipeline : How can I pass a map obtained from readProperties to withEnv ?

2016-11-30 Thread JL 6BerYeti
Dear All, I am trying to setup (many) environment variables for a set of stages within a pipeline by reading a property file and then passing the result to withEnv. As far as my understanding is correct, I thought that withEnv waits for a map, and readProperties returrns a map. So, I try this :

Re: how to use git commands inside a Multi Branch Project?

2016-11-30 Thread Torsten Reinhard
See also http://stackoverflow.com/questions/39237910/jenkins-pipeline-cannot-check-code-into-git - but there´s no real answer, just workarounds using ssh-agent - or a different protocol with user/password. So still the question: Any idea how to setup this in a straight-forward manner ? Am M

JOB DSL timeout function

2016-11-30 Thread Danny Wong
Hi Jenkins users, When creating a new job using “Build Flow” options, the build environment section is missing, so I can’t add a timeout to the job. How can I add a timeout logic (in groovy?) to the “ Define build flow using flow DSL Section? Thanks!

JOB DSL and Github Organisation

2016-11-30 Thread Eddard
I would like to automate the creation of Github Organisation that regroups a number of repositories for different teams in my company. I would like to use job-dsl-plugin to do that, so the question is does the job-dsl-plugin support github organisation? regards -- You received this message b

Re: how to use git commands inside a Multi Branch Project?

2016-11-30 Thread Mark Waite
There isn't a straight-forward way to define a pipeline job such that you can perform arbitrary git commands using a credential. That seems like it would require one or more extensions to the git plugin. The alternatives described in the stackoverflow article can be used, each with their own stre

Keeping cloned job updated with changes made in the original job

2016-11-30 Thread Bharathi Ramalingam
We have hundreds of jobs running in our Jenkins instance. Some of the jobs are shared to different teams by cloning from an existing job. Now when the original jobs are updated, we need to manually track the cloned jobs and update them too. It is really cumbersome to keep track of clones and diff

Re: Keeping cloned job updated with changes made in the original job

2016-11-30 Thread Eric Pyle
Template job plugin is available for free Jenkins. We use it a lot to manage our many jobs. Eric On 11/30/2016 2:26 PM, Bharathi Ramalingam wrote: We have hundreds of jobs running in our Jenkins instance. Some of the jobs are shared to different teams by cloning from an existing job. Now when

Re: Keeping cloned job updated with changes made in the original job

2016-11-30 Thread Bharathi Ramalingam
Thanks Eric. Is this the one you're talking about? https://wiki.jenkins-ci.org/display/JENKINS/Template+Project+Plugin I already saw this, but I was concerned about one the listed limitations, >"It does not support project actions. That means that links that should be on the project page (e.g.

Re: JOB DSL and Github Organisation

2016-11-30 Thread Victor Martinez
Hi there, Pipeline is fully supported by JobDSL (https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.DslFactory.pipelineJob) and also Multi Branch Pipeline Job https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.DslFactory.multibranchPipelineJob but G

Re: New plugin request for feedback: parameterized scheduler

2016-11-30 Thread Baptiste Mathus
(moving it to the users mailing list, please use this list for users related question) Hi, I don't see the link between your first and second screenshot, not the same parameter names. Also, please make sure there's a space after the %. I didn't double check the code, but the documentation generall

Get-Content : Cannot find path

2016-11-30 Thread aaron . trujillo
$FilePath = 'C:\Windows\System32\inetsrv\config\applicationHost.config' $Line2Edit = '' $AppendAllow = '' (Get-Content -Path $FilePath) -replace $Line2Edit , "$AppendAllow" | Set-Content $FilePath Just as the title states, Jenkins cannot find the desired path. Yes, the path exists, yes i ha

Re: Get-Content : Cannot find path

2016-11-30 Thread niristotle okram
More info needed. Is this executed as a powershell script via jenkins or via the pipeline script or executed as a batch command (but feeding a powershell code)? What does the console error look like? On Wed, Nov 30, 2016 at 6:39 PM, wrote: > $FilePath = 'C:\Windows\System32\inetsrv\config\ap

Re: Keeping cloned job updated with changes made in the original job

2016-11-30 Thread Baptiste Mathus
Have a look at the "Job DSL plugin". Cheers Le 30 nov. 2016 9:03 PM, "Bharathi Ramalingam" < ramalingam.bhara...@gmail.com> a écrit : Thanks Eric. Is this the one you're talking about? https://wiki.jenkins- ci.org/display/JENKINS/Template+Project+Plugin I already saw this, but I was concerned

Using OpenCover and xUnit for .Net on Jenkins

2016-11-30 Thread Paul Simpson
Hi, Not sure if this is the correct forum, but I'm having difficulty getting CodeCoverage reports when running my Unit tests on my C# projects. I have a Jenkins server set up, which is building my project with MSBuild, running both StyleCop and fxCop against it and reporting it all nicely.