Re: One github repo, two pipelines, two distinct checks in github?

2017-09-18 Thread 'Ian Smith' via Jenkins Users
: > > With regards to 1, the credentials and credential binding plugins would > probably help out there as you wouldn't have to embed the token in the > script. > > Can't comment on the other issues though. > > Richard > > On Sat, 16 Sep 2017, 3:01 AM 'Ian Smith'

Re: One github repo, two pipelines, two distinct checks in github?

2017-09-15 Thread 'Ian Smith' via Jenkins Users
Hi Ann, Thank you for that information. Sadly this isn't a viable option due to two reasons 1. Having to embed the Github user token in the curl command, which means adding that to the Jenkinsfile script 2. The webhook still takes the value of the build state for the last

One github repo, two pipelines, two distinct checks in github?

2017-09-07 Thread 'Ian Smith' via Jenkins Users
Hi, Can anyone confirm if the github web hook to Jenkins multibranch pipeline is a 1:1 mapping only, or if it can be 1:n? What I want to be able to do is - On an update to a PR trigger two pipelines - One runs a code validation check using unit tests - The other deploys the code

Re: Is it possible to apply several pipeline to one github repository ?

2017-09-07 Thread 'Ian Smith' via Jenkins Users
Hi, I think I can give you part of a reply. Since Pipeline:Multibranch plugin version 2.15, you can define a "Jenkinsfile" with different names. Therefore you can define multiple multibranch pipelines to the same repo and define a different "Jenkinsfile" to define a different pipeline.

Re: Multibranch pipeline script path doesn't work with anything other then Jenkinsfile

2017-09-01 Thread 'Ian Smith' via Jenkins Users
Turns out that in the multibranch scan repository it only checks if the file in the Script Path exists on the HEAD. So if I want to check that a new script, that is currently being developed, works with Jenkins then I need to 1. Create a PR that creates a dummy version of the file and then

Multibranch pipeline script path doesn't work with anything other then Jenkinsfile

2017-08-31 Thread 'Ian Smith' via Jenkins Users
Hi, I'm trying to run two distinct pipelines from one repo. So currently I have an existing multibranch pipeline that uses a Jenkinsfile at the top of the repo. This is triggered on both an update to a PR branch and when a merge to the HEAD happens on github. I want a second pipeline to only

Showing trend results for multiple projects on one view

2017-01-25 Thread 'Ian Smith' via Jenkins Users
Hi, What I have been requested to produce is the means of having a single screen image that can be displayed on a large TV that shows the output of the test result analysis of two different jobs. Given that going to http://ci-server/job/jobname/test_results_analyzer/ shows that it is possible

Re: Jenkinsfile, running in two modes and tracking results

2017-01-25 Thread 'Ian Smith' via Jenkins Users
I have bodged round this for now. I'm using HTML report plugin for generating results for all of the tests and jUnit for the tests expected to pass. It gives me the tracking that I need for regression catching but isn't the perfect solution. -- You received this message because you are

Jenkinsfile, running in two modes and tracking results

2017-01-18 Thread 'Ian Smith' via Jenkins Users
Hi, I am currently looking at using a Jenkinsfile instead of manually creating jobs with the view of moving forward with the multi pipeline approach of doing jobs. However there seems to be a limitation in the Jenkinsfile that I can't seem to get around. I currently have two jobs that use the