Securing build scripts when building pull requests

2019-05-16 Thread Christopher Weaver
Hi, For a project I work on, we have set up Jenkins, using the GitHub Branch Source Plugin, to do automatic builds for pushes to our repository, including test builds for pull requests. This is all working, but I am concerned about the security implications for the pull requests. It is my und

Parameterized SVN Tags Filter

2019-05-16 Thread Jonathan Zuber
Hi, I am trying to set up a parameterized build and have it fill the list of available tag options with a subset of the full list. I am trying to apply even a simple regex but nothing seems to work. If I enter anything at all then the subset is empty. If I setup a simple regex to mat

Re: Git scm fails to check the expected branch when another branch has the target branch name as a suffix

2019-05-16 Thread James Robson
Using the `checkout` command directly does work. Using that I can specify 'origin/develop' as the branch, and the job is triggering as expected. Thank You. On Thu, 16 May 2019 at 15:33, Mark Waite wrote: > I don't know if it will help, but you could try replacing the "syntactic > sugar" command

Re: Git scm fails to check the expected branch when another branch has the target branch name as a suffix

2019-05-16 Thread James Robson
On Wednesday, 15 May 2019 21:28:52 UTC+1, Mark Waite wrote: > > > You can often avoid the guessing by naming the branch precisely, as in > 'origin/develop'. > I attempted to use 'origin/develop' as the branch name, but that causes the job to fail the checkout with "ERROR: Couldn't find any rev

Re: Git scm fails to check the expected branch when another branch has the target branch name as a suffix

2019-05-16 Thread Mark Waite
I don't know if it will help, but you could try replacing the "syntactic sugar" command `git` with the `checkout` command. Pipeline Syntax link on the Pipeline pages will help get the correct syntax for the details of the checkout command. On Thu, May 16, 2019 at 7:25 AM James Robson wrote: > >

node parameter makes pipeline fail even if it's unused

2019-05-16 Thread gbon
Hi All, Asking for advice on this weird behavior: I have a (declarative) pipeline that works perfectly fine and selects the agent like so pipeline { agent { node { label "SOME_LABEL" } } ... } If I edit the pipeline configuration to add a parameter of type Node ( which I'

Re: Kubernetes plugin - Service account authorization in Google Cloud

2019-05-16 Thread Carlos Sanchez
the right way for Kubernetes apps is to create a ServiceAccount https://cloud.google.com/solutions/jenkins-on-kubernetes-engine https://cloud.google.com/solutions/jenkins-on-kubernetes-engine-tutorial https://github.com/jenkinsci/kubernetes-plugin#running-in-google-container-engine-gke On Wed, Ma

Cucumber Report displays incorrect total duration if total duration is more than 24 hour

2019-05-16 Thread jay rokde
When Total duration of feature is exceeding 24 hours, it gets reset to 0 so incorrect Total duration gets displayed in Cucumber Report For Example, 1:40.915 when total duration was 25:40:915 Not able to find any option to format this -- You received this message because you are subscribed