Re: GitHub and Bitbucket branch source UI refactoring

2017-07-11 Thread Michael Kobit
Finally got some time to try it out (sorry!) and I know the PR has already been merged, but UI looks great, and the contextual help menus make it easy to pick up. Awesome job! Only thing I noticed is no built-in Job DSL support - we use the Job DSL entirely to create and setup all of our

Re: Jenkins Distributed Builds: Restricting users from configuring jobs with Jenkins Master's executors

2017-07-11 Thread Michael Pailloncy
By default, the master is configured with "Use this node as much as possible" : http://${JENKINS_URL}/computer/(master)/configure You can change this behavior with "Only build jobs with label expressions matching this node". In this way, the master can only be used if an explicit allocation (using

Re: Build time trend - Pipeline

2017-07-11 Thread Michael Pailloncy
Pipeline jobs are not limited to a specific agent, that's why this information is not displayed on the build time trend page. But as usual you are able to see on which agent a particular step has been executed on the build logs (Running on ... in /var/lib/jenkins/...), or by navigating to the

RE: Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread Chanda Unmack
In my experience, I have been having a miserable time with Jenkins on RHEL, where I have to either restart it or reboot the machine at least once a day. We had to move off of Ubuntu in order for our IT to support us, but are seriously considering moving back. I have run Jenkins on Ubuntu at

Re: Can I use the multibranch pipeline plugin that interacts with a user at a stage

2017-07-11 Thread Michael Pailloncy
The "*agent any*" declaration at the top level of your pipeline indeed allocates an executor for the whole pipeline. You can avoid this allocation with something like : pipeline { agent none parameters { choice(choices: 'SIT\nUAT', description: 'What environment?', name:

Re: Is pipeline timeout suppose to work?

2017-07-11 Thread jerome
This is Declarative pipeline syntax (which I don't use), for non Declarative pipeline (which is what I have), I wonder if this work the same or where it can be used? On Tuesday, July 11, 2017 at 5:31:08 AM UTC-4, Jakub Pawlinski wrote: > > I use this on pipeline level and it works fine there,

Build time trend - Pipeline

2017-07-11 Thread Esdras Neto
Good afternoon, I am new to use Pipeline jobs, I would appreciate if someone could point me towards the right direction here. On the build time trend for my pipeline job I don's see the Agent information, any ideas why this is happening? I only see the columns "Build" and "Duration".

Proxy server between Jenkins and the Internet

2017-07-11 Thread Curtis Kline
Hello all, I am setting up a new Jenkins server and some build nodes to replace an old one. The cloud instances running Jenkins jobs are behind a Squid proxy and cannot access the Internet directly. The initial problem of not being able to download any plugins was easily resolved by entering

Re: Pipeline powershell

2017-07-11 Thread jerome
Hi James, I will try to install the plugin and provide more information (I was giving the dump and the system info, but I may generate even more with this it seem). As for JENKINS-34150 goes it definitely did not fix everything, since many

Jenkins Distributed Builds: Restricting users from configuring jobs with Jenkins Master's executors

2017-07-11 Thread Jason LeMauk
I currently have a distributed build system in place (1 Jenkins master and several Jenkins Agents). I have an automated backup / backup cleanup job that runs on Jenkins Master. For this reason I need to keep my executors on the Jenkins Master. The rest of my jobs run on specific Jenkins Agents.

Jenkins Distributed Builds: Project-Based Matrix Authorization Strategy

2017-07-11 Thread Jason LeMauk
Hello Jenkins Community! I am currently doing some preemptive planning for setting up our Jenkins instance. We are going to use LDAP (Jenkins LDAP plugin), as our security realm, and project-based matrix authorization strategy (Matrix

RE: Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread Jason LeMauk
Great! All this information has been extremely helpful. If anybody else has any experience with any other flavors of Linux, please let me know what your experiences are. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Slide Sent: Tuesday, July 11,

Re: Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread Mark Waite
On Tue, Jul 11, 2017 at 10:54 AM John Mellor wrote: > There are competing update philosophies to consider: > Ubuntu ships the latest (unstable) release of Jenkins all the time, while > RedHat/CentOS/etc ships the stable version. I host on a Ubuntu VM, but > definitely

Re: Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread jieryn
RedHat user here.. Or you can just install Jenkins' repository flavor of your choice without waiting for upstream: https://pkg.jenkins.io/redhat/ https://pkg.jenkins.io/redhat-stable/ Jenkins really has lead the way and set the bar quite high for open source projects and making itself available

Re: Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread John Mellor
There are competing update philosophies to consider: Ubuntu ships the latest (unstable) release of Jenkins all the time, while RedHat/CentOS/etc ships the stable version. I host on a Ubuntu VM, but definitely wish it was better tested. If stability is key, then Ubuntu may not be your best

Re: Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread Slide
Just as a note, the WAR is not an installable thing. It's similar to a Java JAR file, you "execute" the WAR file to run Jenkins. You can run the WAR on any OS that has Java simply by doing java -jar PATH/TO/jenkins.war. There are some command line options you can provide, but in general you are

Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread Jason LeMauk
We are currently provisioning a physical server as our automation server. We are making considerations as far as what our native operating system should be on this physical machine. We are going to use a Linux OS as our operating system. From the Jenkins download

Re: more meaningful description of a step

2017-07-11 Thread Samuel Van Oort
Hi Jakub, Custom captions (or more accurately, custom step argument descriptions) are supported on a per-Step type basis, so if your plugin is defining a new Step type, you can define how to display its inputs. There isn't anything coming immediately to allow you to customize captions

Re: Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread Peter Berghold
My first two installations of Jenkins were on RHEL 6.x (old company standard image) and the issues I used to have there is why I moved to Ubuntu. (future company standard image) On Tue, Jul 11, 2017 at 10:37 AM Jason LeMauk < jason.lem...@csquaredsystems.com> wrote: > Thank you for sharing your

Re: Unit Testing problem

2017-07-11 Thread levan_taktakishvili
Thanks a lot!! I will look into it. I just want to make it clear I am running Unit Test coded in c#. I am just building and executing test via Jenkins using MSbuild and running vstest.console.exe via windows batch command. On Friday, July 7, 2017 at 5:33:51 PM UTC-4, slide wrote: > > I would

Re: GitHub Branch Source: Configuring branch include/exclude from Jenkinsfile

2017-07-11 Thread Stephen Connolly
Oh but, with the JENKINS-43507 refactoring that is landing on Monday (current ETA, my plan of tomorrow was rejected as not giving admins enough time to upgrade easily for the security fixes only) you would be able to write a custom behaviour in an extension plugin and that custom behaviour would

Re: GitHub Branch Source: Configuring branch include/exclude from Jenkinsfile

2017-07-11 Thread Stephen Connolly
Currently I recommend either using multiple org folders or just using multibranch projects directly. There is some embryonic discussion about how to pull configuration as code up from just the "branch" level to the "repository" and even the "group of repositories" levels... but nothing I would

RE: Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread Jason LeMauk
Thank you for sharing your experience! The company is leaning towards not using Ubuntu / Debian, however we can still use it as our native operating system hosting our Jenkins instance if it is best practice / required. I have my own personal Jenkins instance setup on an Ubuntu machine and

Re: Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread Peter Berghold
I migrated my Jenkins installation over to Ubuntu from RHEL and haven't looked back. My drivers may be different than yours and my reason was I am using Jenkins to perform CI on my Puppet environment. Part of that is running some tests on the Puppet code before it is deployed and this works

Installing / maintaining Jenkins on a Linux host machine

2017-07-11 Thread Jason LeMauk
We are currently provisioning a physical server as our automation server. We are making considerations as far as what our native operating system should be on this physical machine. We are going to use a Linux OS as our operating system. From the Jenkins download page,

Declarative parallel stages

2017-07-11 Thread Jakub Pawlinski
In Blue Ocean 1.1.4 I have tried everything from and some own ideas, nothing seems to work: stages { stage('Parallel1') { parallel 'branch1': { node('n1') { stage('Unit 1') { echo "1" } } }, 'branch2': { node('n2') { stage('Unit 2') { echo "2" } } } } } * Result:

Re: Jenkins supported branch

2017-07-11 Thread Paolo Franchini
I have done a yum update of 2.60.1-1.1 and had to commented on /etc/sysconfig/jenkins ##JENKINS_AJP_PORT="8009" to have it run again. The node had to be updated to Java 1.8 because the slave.jar was not running on 1.6. Il giorno lunedì 3 luglio 2017 10:53:36 UTC+1, Paolo Franchini ha

Re: Pipeline powershell

2017-07-11 Thread James Nord
Given you can reliably reproduce if can you open a new ticket with the minimum steps to reproduce (this likely includes an msbuild project) and include your plugin versions, build logs and a stack trace then it is more likely to get fixed - if you can attach a support bundle

GitHub Branch Source: Configuring branch include/exclude from Jenkinsfile

2017-07-11 Thread Leandro Lucarella
Hi, I'm using the GitHub Branch Source plugin to setup an organization folder. The organization is big and have different kind of projects with different needs. Because of this, I need to override global organization configuration (like include/exclude branches) in a per-project basis, so I was

ParentJob and ParentBuild as properties

2017-07-11 Thread Jakub Pawlinski
Hi, In my declarative pipeline I'm using some data from parent job, till now I was processing those in single script clause and setting : String ParentJobName = "" String ParentBuildNumber = "" pipeline { stages { stage ('Read Parameters') { steps { script { def parentJob =

Re: Is pipeline timeout suppose to work?

2017-07-11 Thread Jakub Pawlinski
I use this on pipeline level and it works fine there, haven't tried on stage level tho. pipeline { options { timeout(time: 12, unit: 'HOURS') timestamps() } ... } -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group

Re: jenkins pipeline script params not recognized, bad substitution error

2017-07-11 Thread Jakub Pawlinski
try using double quote: sh "python deploy.py ${params.version}" I think single quotes do not evaluate strings -- 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

Re: Safe to remove Server Sent Events (SSE) Gateway Plugin + its dependency??

2017-07-11 Thread Baptiste Mathus
In general, if Jenkins allows you to disable/remove it from the UI, it should be safe. And now on /recent/ versions if you hover over it, you should see the dependencies/dependents. 2017-07-07 11:59 GMT+02:00 Dan Tran : > Make sense, i just removed Blue Ocean from a couple of

Jenkins cookies vulnerabilities

2017-07-11 Thread lea.i.abrugena
Hi Everyone, Our Jenkins has cookies security vulnerabilities, please see below. Does anyone of you experience the same thing? Any idea how to fix it? The set cookie for these 3 are not secured: -ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE -iconSize -hudson_auto_refresh

Re: Credentialid with github is not working in pipeline script on jenkins slave

2017-07-11 Thread Hound G
I am observing this issue with freestyle job as well. Username & password (provided through credentials plugin) is not working with github git cloning. Any help will be highly appreciated. Thanks, Hound On Friday, July 7, 2017 at 5:48:19 PM UTC-7, Hound G wrote: > > I am testing pipeline

more meaningful description of a step

2017-07-11 Thread Jakub Pawlinski
Hi, Recently https://issues.jenkins-ci.org/browse/JENKINS-37324 was solved. In sprint review Sam Van Oort demonstrated the foundation for this https://www.youtube.com/watch?v=HhiUY70RVJY=510 He mentions there