Conditional build parameter

2017-02-13 Thread Danny Wong
Hi All, Is there a way in Jenkins where if I have 2 radio buttons (yes/no) as a build parameter. if the user selects “yes”, then a dropdown will display and gets populated with data. If no, the dropdown disappears from the UI? Is there a way to implement this? Thanks!

Re: Pipeline documentation jenkins-book vs realty?

2017-02-13 Thread Daniel Beck
> On 14.02.2017, at 03:34, Sharan Basappa wrote: > > 1) Jenkins seems to be executing from a directory named @tmp (and some other > names). The files I am referring are not available in @tmp directory and hence > the pipeline stage is exiting > 2) secondly, why

Re: Pipeline documentation jenkins-book vs realty?

2017-02-13 Thread Sharan Basappa
Tyler, I have a few questions for which I could not find answers after going through the documentation. Unfortunately, understanding of these are necessary for anyone to create a decent build jobs. 1) Jenkins seems to be executing from a directory named @tmp (and some other names). The files

Re: Define parameters for a group of jobs

2017-02-13 Thread Richard Ginga
ok, I almost added "based on the information provided" so I may have misunderstood. #2 might still work unless you and he wanted to be able to run any of the jobs independently and provide unique parameter values at that time. if not, you would have to change each of your jobs to use a system

Re: Define parameters for a group of jobs

2017-02-13 Thread David Karr
On Monday, February 13, 2017 at 8:11:27 AM UTC-8, Richard Ginga wrote: > > Francesco, there are actually many ways to do this. > > 1. use Pipeline script or System groovy build step or post build - > "trigger parameterized builds on other projects" to pass in parameter x > > 2. with system

Pull requests from github fork not building with jenkins multi-branch githooks?

2017-02-13 Thread anton kropp
Whenever someone submits a pull request from a forked repo to a job that is built with multi-branch github integration, jenkins never picks up the commits. PR's from branches work just fine though. Am I missing a setting? I can't for the life of me figure out how to get this to trigger --

Re: sh pipeline step started to fail after update to 2.42

2017-02-13 Thread Nico S
Hi Guys! Thanks for shared the solutions! I was in the same. Do you know why JENKINS-41339 is close as resolved if the problem is there? Thanks again, Nico. El sábado, 11 de febrero de 2017, 13:22:35 (UTC-3), John Mellor escribió: > > After downgrading the durable tasks pluginto fix this

Re: pipline slow vs flow

2017-02-13 Thread Chris Overend
I am not trying to say anything I just found it curious. We are doing testing to determine the optimal setup for Jenkins. We currently use flows calling flows. We believe we have too many builds in the build queue (3500). In the process of testing we saw this behavior and I was hoping for

Re: pipline slow vs flow

2017-02-13 Thread Daniel Beck
> On 13.02.2017, at 18:42, Chris Overend wrote: > > So I am doing testing on our current system. If your use case is to print "Hello World" a lot, it looks like you're better off sticking with Build Flow. Seriously though -- I wonder what you're trying to say

pipline slow vs flow

2017-02-13 Thread Chris Overend
So I am doing testing on our current system. We use flows now. So I have a flow and a pipeline doing the same task: - 100 executors - 2000 builds - build - echo 'Hello World' flow time = 2 min 33 sec pipeline time = 5 min 11 sec After all the echos are complete the pipeline seems to

Re: buildInfoxxxx.properties on /tmp directory on Jenkins server exposing the credentials

2017-02-13 Thread Makarand Jadhav
Still not able to figure out a way if we can mask the credentials in the buildInfo.properties from the Jenkins Job. Can anyone have this issue or provide any inputs? On Tuesday, February 7, 2017 at 12:58:24 PM UTC, Makarand Jadhav wrote: > Hi, > > We have been using gradle build

Re: Pipeline documentation jenkins-book vs realty?

2017-02-13 Thread jerome
https://jenkins.io/doc/pipeline/examples/ -- 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

How to rerun one job from server list

2017-02-13 Thread Guillaume Triquet
Hello, I working on Jenkins and i have a needed: I have a job to update a file on server client. I need to run this job on a lot of servers and i search a settings to rerun this job from a server list. I can do it from ssh on my jenkins slave but i need a ssh key on each server and i

Re: Define parameters for a group of jobs

2017-02-13 Thread Richard Ginga
Francesco, there are actually many ways to do this. 1. use Pipeline script or System groovy build step or post build - "trigger parameterized builds on other projects" to pass in parameter x 2. with system groovy script, you can create/update a global variable that all builds will see On Sat,

Re: Pipeline documentation jenkins-book vs realty?

2017-02-13 Thread Christopher Orr
Hi there, On Mon, 13 Feb 2017, at 12:28, christian polzer wrote: > Hello, > > I am currently trying to spread pipeline usage for a jenkins > environment within my fellow coworkers. > Of course, th jenkins pipeline is greatly embrased :) > > But what is the documentation in the jenkins

Pipeline documentation jenkins-book vs realty?

2017-02-13 Thread christian polzer
Hello, I am currently trying to spread pipeline usage for a jenkins environment within my fellow coworkers. Of course, th jenkins pipeline is greatly embrased :) But what is the documentation in the jenkins book about? Fellow CoCoders stumble over the jenkinsfile chapter as the examples are

issue using jenkins swarm client "Failed to fetch slave info from Jenkins CODE: 403 Retrying in 10 seconds"

2017-02-13 Thread Xinity
Hi there, i'm trying to use jenkins swarm client to do automatic discover of agents in my internal network. We have deployed latest version of jenkins with needed plugins and we are trying to configure jenkins so our swarm client can auth using login/password provided. We've tried to use role

Re: Jenknis job taking to much time to load

2017-02-13 Thread Nitzan Yemal
Thanks for the help! I removed the dynamic parameter and it's working fast now! On Monday, January 30, 2017 at 4:27:19 PM UTC+2, Daniel Beck wrote: > > > > On 30.01.2017, at 09:27, Nitzan Yemal > wrote: > > > > at >

Tests description in test results view

2017-02-13 Thread Ariel Luft
I use *Junit Plugin*, which supports *JUnit XML* to display test results (standart display see in file attached What is missing for me in test results display is test *description*, just short sentence that will display test purpose. any help will be appreciated. thanks -- You

Monitor the status of selected jobs on all nodes

2017-02-13 Thread Reed Xia
Hi, I'm new to Jenkins plugin development, and I want to develop a plugin to monitor the last build status of all jobs on all nodes(or label), as I said in my last email, my project has multi jobs run multi nodes, so we want to see the results in this way. Could you please give some suggestions

Re: Problem with Jira plugin 2.3

2017-02-13 Thread vf
Thank you, slide. I didnt change anything, or at least tried to avoid any other changes, in fact I saw the incompatibility warnings and upgraded therefore only jira plugin, it brought upgrades of other plugins automatically (scm api2, branch api, folder etc). And as I said, I tested the upgrade

Entering Commands into a program

2017-02-13 Thread Akiva Lane
We have written a Java program that accepts command line input. I can start the program withe Jenkins, and then the program expects a command with parameters to be entered. But when I put the command on the next Jenkins line, Jenkins says 'command not found'. For example, I run a script