`input` in blue ocean UI can not react against multi user id definition

2017-03-17 Thread Hanks Justin
Hi, I use pipeline like below: ``` timeout(time: 5, unit: "DAYS") { input message: "Do you want to approve this job to deploy to production?", ok: "OK", submitter: "userA,userB,userC" } ``` and in the old UI, it works fine, all the users can presss the `OK` button, but in the blue ocean UI,

Re: Unable to connect slaves after enabling security

2017-03-17 Thread jitesh dundas
Hi Daniel, Thanks for responding. yes it is a private plugin for authentication ( Delegate to Servlet container. It works like a servlet filter which does cookie based authentication) Thanks & Regards, Jitesh Dundas Phone - 732-357-6292 On Thu, Mar 16, 2017 at 7:58 PM, Daniel Beck wrote: >

Re: How to pass in a param into Multi branch pipeline

2017-03-17 Thread Stephen Connolly
Could you describe your use-case more concretely? On Fri 17 Mar 2017 at 01:44, Dan Tran wrote: > anyone? or this is a limitation of multibranch pipeline? > > Thanks > > -Dan > > > On Wednesday, March 15, 2017 at 5:23:04 PM UTC-7, Dan Tran wrote: > > Hi > > My Jenkinsfile has a boolean paramete

Re: Continous Delivery Plugin w/ manual steps?

2017-03-17 Thread Turbo Fredriksson
On Thursday, March 16, 2017 at 11:57:09 PM UTC, Daniel Beck wrote: https://jenkins.io/doc/pipeline/steps/pipeline-input-step/#input-wait-for-interactive-input > > Wrap in a timeout if you only want it to be around a limited time. Tried that, but we don't know when (or even IF) a deploy to the

Re: Declarative pipelines vs scripted

2017-03-17 Thread Bill Dennis
Hi - I'm tending to use Declarative as my preference after starting with the scripted like you did. I'm finding: - With declarative can have more of the job configuration in the Jenkinsfile like parameters and SCM polling. It means the Jenkins server can pick up the Jenkinsfiles for

kubernetes-plugin: containertemplate with shell-script in entrypoint

2017-03-17 Thread 'Sascha Vujevic' via Jenkins Users
Hello developers, i don't know if i use the kubernetes-plugin correct: My jenkinsfile looks like: podTemplate(label: 'mypod', containers: [ containerTemplate(name: 'maven', image: 'myOwnMavenImage:latest'', ttyEnabled: true, command: 'cat') ]) { node ('mypod') {

Re: kubernetes-plugin: containertemplate with shell-script in entrypoint

2017-03-17 Thread Carlos Sanchez
On Fri, Mar 17, 2017 at 12:40 PM, 'Sascha Vujevic' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > Hello developers, > > i don't know if i use the kubernetes-plugin correct: > My jenkinsfile looks like: > > podTemplate(label: 'mypod', containers: [ > containerTemplate(name:

Re: Declarative pipelines vs scripted

2017-03-17 Thread Stephen Connolly
Go declarative. The latest blue ocean RC includes a visual editor for declarative The only reason to use scripted is if you have some particularly complex task to achieve... and that is typically a bad smell anyway. On Fri 17 Mar 2017 at 11:38, Bill Dennis wrote: > Hi - > > I'm tending to use

Re: kubernetes-plugin: containertemplate with shell-script in entrypoint

2017-03-17 Thread 'Sascha Vujevic' via Jenkins Users
Thank you for the fast answer. How can i achive the long running process ? I set 'exec "$@"' in my shellscript for my entrypoint. Isn't this wright ? Maybe you have an advice. Thank you. Am Freitag, 17. März 2017 12:46:27 UTC+1 schrieb Carlos Sanchez: > > > On Fri, Mar 17, 2017 at 12:40 PM, '

Xvfb Plugin - Errors

2017-03-17 Thread Lakshmi narayana
Hi, could someone please help with the below error. - Xvfb starting$ /usr/bin/Xvfb :12 -screen 0 1440x900x24 -fbdir /var/lib/jenkins/JenkinsSlave/xvfb-2017-03-16_22-

Re: Interactive input with new DSL

2017-03-17 Thread Peter Marcoen
I experience the same effect. I have a top-level agent definition for the agent I want to use by default. In some underlying step I want to use a very specific agent, this override works great. However, if I use "agent none" in an underlying step to accept input, the "default" node is still bei

Re: Continous Delivery Plugin w/ manual steps?

2017-03-17 Thread Daniel Beck
> On 17.03.2017, at 11:40, Turbo Fredriksson wrote: > > And with _a lot_ of commits (at the moment), there's going to be a lot of > waiting... This doesn't cost notable resources if you do it right, i.e. outside node blocks. -- You received this message because you are subscribed to the Go

Re: Continous Delivery Plugin w/ manual steps?

2017-03-17 Thread suresh kumar
Hi Daniel Beck, Is there a concept of "promoted builds" in pipeline as code. Do we have any document or notes to achieve this scenario. As input step is not working as existing "promoted builds" at least promoting a selected build based on user interaction. -Thanks, Suresh On Friday, March 17

logstash-plugin configure index

2017-03-17 Thread iob
i have set up a logstash-plugin to forward logs to elasticsearch. for now it works and i can see logs on logstash-jenkins index that has been set in the plugin. What I want though is to sent to logstash-YY.mm.dd indices. i tried to set the "key" to logstash-* but doesnt seem to work. any idea?

Re: logstash-plugin configure index

2017-03-17 Thread Josh Miller
You would want to define the index in the output section of logstash.config, i.e.: output { elasticsearch { hosts => [“host"] index => “logstash-logs-%{+.MM.dd}" } } RE: https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html#plugins

Re: Continous Delivery Plugin w/ manual steps?

2017-03-17 Thread suresh kumar
Yes Daniel, when configured properly with "agent none" pipeline is not occupying any executor and as you said it is not occupying notable resources. My Suggestions in this regard are below: 1. Adding a new status to the build called "Paused" besides to the existing statuses Success, Fail

Re: logstash-plugin configure index

2017-03-17 Thread iob
yeah but what should I give to the jenkins' logstash-plugin. i have configured as logstash-%{+.MM.dd}/jenkins now. Although i cant see anything when I search for type:jenkins On Friday, March 17, 2017 at 2:28:25 PM UTC, Josh Miller wrote: > > You would want to define the index in the output

Re: Continous Delivery Plugin w/ manual steps?

2017-03-17 Thread suresh kumar
Other observations: As build is still running, the build duration is keep on increasing and as it is in inprogress completed is empty. On Friday, March 17, 2017 at 8:24:17 PM UTC+5:30, suresh kumar wrote: > > Yes Daniel, when configured properly with "agent none" pipeline is not > occupying a

Copy Artifact Plugin: Overwrite existing files in target project

2017-03-17 Thread abcabcabcafasdf
I'm using Copy Artifact Plugin as a build step to copy artifacts (*.dll) from a previously build project to the lib folder of the project I'm building. However, these files normally already exists in the code repository, but I want to overwrite them with the Copy Artifact build step. Is this po

Re: logstash-plugin configure index

2017-03-17 Thread Josh Miller
When you say you have it configured, do you mean the “key” field? I have found that you do not need to set that. To send the output of Jenkins jobs to logstash, only set: Jenkins -> Manage Jenkins -> Logstash 1. indexer type to ‘syslog’ 2. hostname to logstash 3. port to $logstash_port If you

Re: Unable to connect slaves after enabling security

2017-03-17 Thread Daniel Beck
> On 17.03.2017, at 10:18, jitesh dundas wrote: > > Thanks for responding. yes it is a private plugin for authentication ( > Delegate to Servlet container. It works like a servlet filter which does > cookie based authentication) Then your plugin likely does not respect the well-known URLs tha

Re: Continous Delivery Plugin w/ manual steps?

2017-03-17 Thread Daniel Beck
> On 17.03.2017, at 15:54, suresh kumar wrote: > > your future active development list I am not working on either Blue Ocean or Pipeline, and this isn't where you ask for changes anyway. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To u

Re: Unable to connect slaves after enabling security

2017-03-17 Thread jitesh dundas
Hi Daniel, Thanks for the quick response. We tested this setup on our Dev and Test environments and it works fine there. However, when we do this on Production which is this box with the issue at hand, then it gives the 403 Forbidden error. Thanks & Regards, Jitesh Dundas Phone - 732-357-6292

Re: Continous Delivery Plugin w/ manual steps?

2017-03-17 Thread suresh kumar
Sorry about that, I didn't frame sentence properly. What I mean "Jenkins future active development list". Ok it is not the right place to ask changes, but what I felt is it is correct thread and context exactly suits. -Suresh On Friday, March 17, 2017 at 8:56:27 PM UTC+5:30, Daniel Beck wrote

Upgrading from v1.652 to v2.50

2017-03-17 Thread Anca Cimpoaca
Hello, I'm trying to upgrading our Jenkins currently on version v1.652, installed as a service on Windows Server 2012 R2. When trying to upgrade automatically to the latest v2.50, we followed these steps: Jenkins.war.tmp (67,285K) gets downloaded. The size seems correct.

Re: Upgrading from v1.652 to v2.50

2017-03-17 Thread Mark Waite
I don't have help for your specific exception, but advice for a more general case. Since you remained on 1.652 that long (over a year?), it seems your organization prefers stability over using the most recent release. That probably means you should upgrade to the Jenkins Long Term Support (LTS) r