Multi-branch Pipeline Plugin - comment trigger only?

2017-04-18 Thread Danny Rehelis
Hello, Is it possible to use Multi-branch Pipeline plugin upon comment only and not for every push to Github? I do not want to run a CI on every single push user makes but only when a specific comment triggered. Thanks -- You received this message because you are subscribed to the Google Group

Re: multibranch pipeline will not poll

2017-04-18 Thread Ferran Pujol Camins
Thanks Stephen. Sure that's the goal, however, I run Jenkins locally on my laptop by now, so I can't configure my git server to send notifications to a specific ip. I wanted to try polling until I install Jenkins to our server. So I keep wondering why polling does not re-trigger the scan. On 18

upgrade job configuration with api?

2017-04-18 Thread Makson Lee
sometime, after upgrade a plugin, you just open a job configuration, do nothing, and then save it, you will find the job configuration has been updated to use the latest version configuration of plugin. so, my question is, how to do it with api, i have tried to the following, but seems not work

Re: [EXTERNAL] - Error using scp to transfer files to CentOS

2017-04-18 Thread Thiago Carvalho Davila
That worked! Thanks a lot. Best regards. Thiago Em 18/04/2017 09:53:32, Dirk Heinrichs escreveu: > Am 18.04.2017 um 14:38 schrieb Thiago Carvalho Davila: > > > > > I'm having trouble to transfer files via scp to my CentOS servers. I generated RSA keys on des

Re: cannot run a python script from Jenkins

2017-04-18 Thread jerome
Not sure but it look like the scripts use IO redirection, which could not be standard output/error inside the Jenkins flow execution. Check if you can spawn a bash shell that run this python script on it's own and exit after. You may want to find a way to check the results into your bash comman

Re: How would you add 100 users to Jenkins ? Best practice please

2017-04-18 Thread Stephen Connolly
Create a group in ldap and grant the permissions to the group On Tue 18 Apr 2017 at 16:23, Luc Ibata wrote: > Hi, > I am using ldap with Jenkins right now. We have 100 users on ldap/active > directory. > How can I allow these users / group to login to Jenkins without password? > Otherwise I won'

Re: multibranch pipeline will not poll

2017-04-18 Thread Stephen Connolly
Your aim should be to set it to 8h or daily and have push notification trigger builds. On Tue 18 Apr 2017 at 16:38, Ferran Pujol Camins < ferranpujolcam...@gmail.com> wrote: > Hello, > > I've setup a Multibranch Pipeline that works correctly when manually > launched with *Scan Multibranch Pipeli

Re: sshagent with Declarative Jenkinsfile

2017-04-18 Thread Svend Sorensen
That worked. I assumed that the declarative syntax would be different. Thanks Andrew! On Tuesday, April 18, 2017 at 9:55:01 AM UTC-7, Andrew Bayer wrote: > > I believe it should be - just use the standard sshagent syntax inside the > steps block. > > A. > > On Mon, Apr 17, 2017 at 7:09 PM, Svend

Re: sshagent with Declarative Jenkinsfile

2017-04-18 Thread Andrew Bayer
I believe it should be - just use the standard sshagent syntax inside the steps block. A. On Mon, Apr 17, 2017 at 7:09 PM, Svend Sorensen wrote: > Is it possible to use the SSH Agent Plugin with a declarative Jenkinsfile? > I haven't found any examples online. > > Svend > > -- > You received th

Re: multibranch pipeline will not poll

2017-04-18 Thread Ferran Pujol Camins
Hello, I've setup a Multibranch Pipeline that works correctly when manually launched with *Scan Multibranch Pipeline Now*. I have checked the *Periodically if otherwise not run* checkbox under *Scan Multibranch Pipeline Triggers *and set the interval to 1 minute. However, nothing happens. The

How would you add 100 users to Jenkins ? Best practice please

2017-04-18 Thread Luc Ibata
Hi, I am using ldap with Jenkins right now. We have 100 users on ldap/active directory. How can I allow these users / group to login to Jenkins without password? Otherwise I won't know how to create their password on Jenkins since they don't exist in Jenkins -- You received this message becau

Re: [EXTERNAL] - Error using scp to transfer files to CentOS

2017-04-18 Thread Dirk Heinrichs
Am 18.04.2017 um 14:38 schrieb Thiago Carvalho Davila: > I'm having trouble to transfer files via scp to my CentOS servers. I > generated RSA keys on destination servers: > > ssh-keygen -t rsa > > And added to known_hosts in my jenkins slave: > > ssh-keyscan -t rsa ${HOST_IP} >> ~/.ssh/known_hosts

Error using scp to transfer files to CentOS

2017-04-18 Thread Thiago Carvalho Davila
Hello, I'm having trouble to transfer files via scp to my CentOS servers. I generated RSA keys on destination servers: ssh-keygen -t rsa And added to known_hosts in my jenkins slave: ssh-keyscan -t rsa ${HOST_IP} >> ~/.ssh/known_hosts Then I made a job to transfer files and I am getting

Re: How to template HTML to create custom report?

2017-04-18 Thread Ioannis Moutsatsos
The simplest option is to use a Groovy build step with a few lines of code to parametrize your html template with the yaml file. See here the options that Groovy offers for template engines On Wednesday, April 12, 2017

Re: Active Choices plugin - not found referenced parameter

2017-04-18 Thread Ioannis Moutsatsos
The error message is unfortunately irrelevant here. It is part of the logger info that fires at some point before the parameter is defined. The real issue is that you are expected to return a list or map from the groovy script of an Actice Choice Reactive parameter, and not text as you are curre

Re: Jenkins 2.7 vs 2.4

2017-04-18 Thread Filippo
My fault, I though that 2.55 was 2.5.5. Sorry. Thanks Il giorno martedì 18 aprile 2017 13:13:35 UTC+2, Richard Bywater ha scritto: > > Not quite sure where you are seeing that date against 2.4. The results > from my view of that list is: > jenkins-2.4-1.1.noarch.rpm 2016/05/15 65.4M > jenkins-2.7

Re: Jenkins 2.7 vs 2.4

2017-04-18 Thread Richard Bywater
Not quite sure where you are seeing that date against 2.4. The results from my view of that list is: jenkins-2.4-1.1.noarch.rpm 2016/05/15 65.4M jenkins-2.7-1.1.noarch.rpm 2016/05/29 65.4M So 2.7 is newer than 2.4. I believe you'll find that Blue Ocean is 2.7+ so you should probably grab the lates

Jenkins 2.7 vs 2.4

2017-04-18 Thread Filippo
Hello, I've installed Jenkins 2.4 on a CentOS server via yum. I would like to try Blue Ocean, that runs only with Jenkins v 2.7. So I opened the RedHat repository (https://pkg.jenkins.io/redhat/) and noticed that the 2.7 rpm is dated 2016/05/29, while the 2.4 is dated 2017/02/13. The question is

Re: Jenkins Mirror is down

2017-04-18 Thread Richard Bywater
Are you sure it's the mirror? That looks like a virus scan error which would usually be more placed on the consumer side than the mirror - that is, does your current internet connection virus check? Cheers Richard On Tue, 18 Apr 2017, 6:59 PM Devon wrote: > Hi there > > I am trying to update my