Multiple Jenkinsfiles in a single repo - Clarification

2017-07-17 Thread Simon Cowie
Hello, according to this comment by Patrick Wolf, Multiple Jenkinsfiles in a single repo are now supported. I am wondering if there is

NPM install fails with Jenkinsfile if git+ssh protocol is used

2017-07-17 Thread maxmil7
Hello, I have a NodeJS application and I download some modules directly from our enteripise github using the git+ssh protocol. For eg: "simplemodule": "git+ssh://g...@github.com/org/simplemodule.git" I have added the private key in Jenkins and the app builds without any issues. However, when

Credential read in pipelines

2017-07-17 Thread John Doe
Hey, is it possible to read credentials which are set by plugins while in pipeline mode ? For example credentials set by Publish Over CIFS plugin ? My last question was ignored, hope for more luck this time ;) Thanks!!! -- You received this message because you are subscribed to the

Re: more meaningful description of a step

2017-07-17 Thread Jesse Glick
On Monday, July 17, 2017 at 2:15:59 PM UTC-4, Samuel Van Oort wrote: > > A better approach would be to select from a list of credential ids. > Specifically you can either keep credentials associated with the build; or request user-scoped credentials as a build parameter. Failing that, you

Re: Jenkins Distributed Builds: Project-Based Matrix Authorization Strategy

2017-07-17 Thread Thiago Carvalho Davila
That should be a very good feature. Is it planned for Blue Ocean 1.2? Em 17/07/2017 14:17:40, Daniel Beck escreveu: > > On 11. Jul 2017, at 19:24, Jason LeMauk > wrote: > > As far as using a project-based matrix authorization strategy, I envision the > permissions working like so: > 1. Global

Re: more meaningful description of a step

2017-07-17 Thread Samuel Van Oort
Torsten, > how do I hide sensitive information that *DO NOT* come from credential binding in the shell script header? First, I would strongly discourage this approach in general. Credentials and credentials-binding exist specifically to provide a secure mechanism for build secrets (with

All authenticated Git operations from Master node fail

2017-07-17 Thread Ben Coo
When attempting to perform an authenticated Git operation from our Master node through Jenkins, it will always fail with the following error: hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe ls-remote -h .git" returned status code 128: stdout: stderr: 0 [main] ssh

Re: Jenkins Distributed Builds: Project-Based Matrix Authorization Strategy

2017-07-17 Thread Daniel Beck
> On 11. Jul 2017, at 19:24, Jason LeMauk > wrote: > > As far as using a project-based matrix authorization strategy, I envision the > permissions working like so: > 1. Global Administrators: >- Access to everything within Jenkins (all

Re: Project-based authorization strategy: permitting users to configure specific jobs

2017-07-17 Thread Daniel Beck
> On 14. Jul 2017, at 17:04, Jason LeMauk > wrote: > > Because you must grant a user the overall global read permission in order to > view any jobs, in the ACL matrix for each project I have checked the option > to ‘Block inheritance of global authorization

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

2017-07-17 Thread Daniel Beck
> On 12. Jul 2017, at 14:52, Jason LeMauk > wrote: > > the user will have to explicitly specify the ‘Master’ to build on, which will > prevent jobs from defaulting to the Master for execution. > Well, or have any label expression matching master. Like

Re: Downstream jobs: You have no permission to build...

2017-07-17 Thread Daniel Beck
> On 13. Jul 2017, at 23:16, Jason LeMauk > wrote: > > It should be noted that the upstream job is able to be run successfully which > triggers a successful run of the downstream job. It seems like my user has > the correct permissions based on the job run

How to get a Second Instance of Jenkins Running with the latest release and the Backup Strategy to Incorporate

2017-07-17 Thread Palanilkunnathil Melemuriyil, Vinod P
Hi All, We have an old version (1.651.3) of Jenkins running on a server (RHEL) with many jobs configured to automate our day to day activities. I would like to migrate to the latest stable release of Jenkins. For that, I would want to have a second instance of Jenkins running (with the latest

jenkins not able to find virtualenv

2017-07-17 Thread Luvpreet Singh
I want to activate my virtualenv via jenkins. But I am facing problems in that. Here are the commands, cd /home/luvpreet/Desktop/vogo/influxdata source /usr/local/bin/virtualenvwrapper.sh workon influxdata ./manage.py test And I am getting this error, + echo 'ERROR:

Re: How to set global quiet period automatically on Jenkins startup

2017-07-17 Thread Barry Laffoy
Hi Brandon I really appreciate your response. It's good to know that I'm not the only person that feels this pain. It's frustrating that a tool that's so central to the world of automation seems actively hostile to being automated itself. Both the design of the tool and the culture surrounding