Invoking AWS lambda from Jenkins Pipeline Stage

2017-07-10 Thread Kai
Hi, Is there a plugin available to invoke AWS lambda from Jenkins Pipeline Stage ? Thanks -- 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: jenkins pipeline script params not recognized, bad substitution error

2017-07-10 Thread Kai
I have a similar issue, I have a build job that is parameterized and am Not able to successfully use that parameter to pass as an argument to my python script in my pipeline stage On Monday, July 10, 2017 at 2:46:17 PM UTC-7, Justin Khoo wrote: > > how can I read in the params from jenkins

jenkins pipeline script params not recognized, bad substitution error

2017-07-10 Thread Justin Khoo
how can I read in the params from jenkins script shell sh? pipeline { stages{ stage('Deploy') { steps { sh 'python deploy.py ${params.version}' } } } } I have tried several ways, but still not able to read in params. -- You received this

possible to have jenkins job pass in parameter to next stage in pipeline

2017-07-10 Thread Kai
Hi, We have a stage in Jenkins pipeline where we invoke a Jenkins Job. (e.g. build job: ... ) Is there a way for that Jenkins job that is invoked to pass in a value/parameter to the next stage in the pipeline ? thanks -- You received this message because you are subscribed to the Google

Permissions & Github Status API

2017-07-10 Thread Dave Cadwallader
I'm looking to use the Github Org plugin to post pass/fail results to the Github status API on pull requests. It looks like the user that owns the OAuth token needs to have write access to the repo. I'm wondering if there is a way to allow this user to post to the status API without actually

Re: Distributed Builds: Software required to build only installed on build node?

2017-07-10 Thread Simon Richter
Hi, On 10.07.2017 21:27, Jason LeMauk wrote: > Am I correct in assuming that when the project is built, the ioncube > encoder will not need to be installed on the Jenkins Master machine but > will need to be installed on the Jenkins Agent / Slave machine? The master also has two executors, so

Distributed Builds: Software required to build only installed on build node?

2017-07-10 Thread Jason LeMauk
I have a distributed build system in place (1 Jenkins Master and several build nodes). I have a piece of software required for a project's build whose licensing is tied to the MAC address of the machine which has the software installed (ioncube encoder). Am I correct in assuming that when the

Change build status when input step aborted

2017-07-10 Thread Thiago Carvalho Davila
Hello, I want to set the status in my declarative pipeline to success if the input step is aborted OR reached it's timeout. steps {     timeout(time: 30, unit: 'MINUTES') {     input(id: 'userInput', message: 'Promote build?')     } } If I don't promote the build or it expires 30 minutes

Set/change Branch description in multibranch pipelines

2017-07-10 Thread Michael Lasevich
I would like to set "description" field in automatically generated branches in Multibranch Pipeline to add some information like links to latest artifacts, links to latest generated documentation, etc. While I would settle for one standard default description for all the branches, ideally it

Re: Jenkins running docker container slaves that run builds using docker

2017-07-10 Thread Jake Bishop
Yes, that makes sense. I think this is acceptable in our scenario. Thanks for the pointer. If you (or anyone else here) has any links to examples it would be greatly appreciated  > On 10. Jul 2017, at 17:48, nicolas de loof wrote: > > it means a build with some

Re: Jenkins running docker container slaves that run builds using docker

2017-07-10 Thread nicolas de loof
it means a build with some "malicious code" (sic) could access all other builds, secrets injected into a build environment by jenkins, all host ressources, etc. It could as well create by intent or because of some buggy script create thousands containers and exhaust host resources. consider

Re: Jenkins running docker container slaves that run builds using docker

2017-07-10 Thread Yakobe
The security of these jenkins builds are not critical since they are just for testing. Therefore it sounds perhaps a simpler approach. However, i'm interested in what the issues are with build isolation. Does that mean that build could fail, and under what sort of circumstance? -- You received

Re: Jenkins running docker container slaves that run builds using docker

2017-07-10 Thread nicolas de loof
Not so simple bind mounting docker.sock means you give access to anything on host, so you just give up with security and isolation between builds. Docker in Docker require some adequate combination for the docker daemon setup to be nested, especially on how it stores containers layers on disk

Re: Jenkins running docker container slaves that run builds using docker

2017-07-10 Thread Yakobe
Then it sounds like this i achievable. Thanks so much for the response. At least i know that this is something worth looking in to. I read somewhere about this Docker in Docker approach (i think it is sometimes referred to as DinD?). Some people where saying it is not a good idea. Am i right

Re: Jenkins running docker container slaves that run builds using docker

2017-07-10 Thread nicolas de loof
You have two options : 1. use a Docker in Docker image (play-with-docker.com for sample is using this approach) 2. bind mount /var/run/docker.sock into your build container so you can interact with the host's docker daemon Both of them involve some security consideration, so you might need to

Re: Is pipeline timeout suppose to work?

2017-07-10 Thread jerome
When trying the 45 minutes units into the syntax helper (pipeline-syntax/ of the project) it display the following code: timeout(45) { // some block } If I change the unit the syntax change like follow: timeout(time: 45, unit: 'SECONDS') { // some block } So I will try with the

Re: Jenkins running docker container slaves that run builds using docker

2017-07-10 Thread Yakobe
The main aim behind this post is to find out if this is even possible before losing too much time. So if anyone could any insight at all it would be greatly appreciated. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

git fetch returns 143 error code

2017-07-10 Thread jaroskrzek
Hi, I'm facing the problem with Jenkins Git authentication. I attach a screenshot of the stack trace. I have SSH gitlab connection configured with a private key and a passphrase. The configuration is made in Credentials/System/Global credentials (unrestricted). The path to the private

Re: Jenkins Pipeline Docker Permissions

2017-07-10 Thread Richard Bywater
Took me a while to come back but just wanted to point out the group approach is what is "recommended" by Docker in the docs @ https://docs.docker.com/engine/installation/linux/linux-postinstall/ So definitely the least hacky of all the solutions :) Richard. On Sun, 9 Jul 2017 at 06:55 Dan Kinon

Re: Is it possible to pause a pipeline, via an input, and then only allow a privileged user to progression it???

2017-07-10 Thread paul b
That seems to be working fine. Guess, when I read it the first time, it threw me with the field named 'submitter'! Thanks On Friday, 7 July 2017 13:59:44 UTC+1, Richard Ginga wrote: > > if you look at the "input" pipeline step documentation, use: > > submitter (optional) > User IDs and/or

Re: Issue with RegEx for project roles in Matrix Authorization Strategy Plugin

2017-07-10 Thread Raj Kiran Neerukonda
Hello, I am having similar problem. Right now i am having multiple directories, i need to control access to sub directories. For example, i have component specific jenkins jobs in parent/project/component/* How can i configure this pattern in role base authentication? I tried giving

Re: Amazon EC2 Container Service Plugin Waiting for Executor

2017-07-10 Thread Stephen Connolly
On Mon 10 Jul 2017 at 03:44, Douglas Manley wrote: > Update: I believe that I have fixed the problem within the > "amazon-ecs-plugin". The short story is that it's possible to tell Jenkins > that the automatically-created nodes, once they start a job, will never run >

Re: First time Jenkins user. I am getting this error.

2017-07-10 Thread Andreas Tscharner
On 10.07.2017 02:49, Terry O'Leary wrote: Hello, Hello World, I found this in the Jenkins issues: https://issues.jenkins-ci.org/browse/JENKINS-38057 Take a look at the comments below the issue and you will see a few people ran into this and noticed their JAVA was set to a new JAVA 9