Re: Two separate GitHub Organizations used with same GitHub Branch Source Plugin configuration results in only one job getting triggered per PR

2018-01-04 Thread Ian Vernon
I'll hold off until it is released to the plugin center before downloading it. > If github receives a duplicate context label it just replaces the existing one, so this is helpful if you are doing more than one kind of build for a repo. That explains it! That's so frustrating :( . Thanks for

Trusting a new CA

2018-01-04 Thread Josh Harshman
I have a pipeline library that needs to talk to my Vault server over https. Problem is that Jenkins doesn't trust the CA the vault server certificate was signed with so I get errors like the following. ``` sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid

Jenkins Add Trusted CA

2018-01-04 Thread Josh Harshman
I have a pipeline library that needs to communicate over https to Vault in order to read secrets. Only problem is that Vault's SSL certificate is signed by a CA that is not trusted by Jenkins. This results in the following error. sun.security.provider.certpath.SunCertPathBuilderException:

Re: Jenkins plugin to perform UI search

2018-01-04 Thread Stephen Connolly
How would you do this outside of Jenkins from the command line? It will be much easier to test and debug if you can use a command sequence to do the test. Try not to encode the How of your build in Jenkins... let Jenkins be the coordinator that decides Which of the Hows to invoke On Thu 4 Jan

Re: Dynamic Parameter to Build without Active Choices Plugin

2018-01-04 Thread Ioannis Moutsatsos
Note that Active Choices v2.1 is again available from the Jenkins update center. It no longer has a mandatory dependency on Scriptler. As a result it is secure and functional. Just read the most recent release notes for the Jenkins version requirements On Wednesday, May 17, 2017 at 1:51:36 PM

Re: Two separate GitHub Organizations used with same GitHub Branch Source Plugin configuration results in only one job getting triggered per PR

2018-01-04 Thread Steven Foster
Here is the repo for the custom github context plugin https://github.com/steven-foster/github-scm-trait-notification-context I still need to actually release it to the plugin center, hopefully that's not too arduous. It lets you specify a context label for a multibranch project's github

Re: Two separate GitHub Organizations used with same GitHub Branch Source Plugin configuration results in only one job getting triggered per PR

2018-01-04 Thread Ian Vernon
> > > What do you mean “appears on GitHub”? Do you mean as a second status > check mark? > Yes, that is correct. Only one check mark appears despite there being two GitHub Organizations set up. If I change the aforementioned settings, two check marks appear on GitHub, but I want to have the

Jenkins plugin to perform UI search

2018-01-04 Thread Vk
Hi, I am currently using Jenkins to perform sanity check of my application post the CI To do that I need to search for specific characters and output in an UI. For example " Search for the character "WELCOME" in a web page. Could you please suggest options or Plugins for the same ? Thanks

Re: Two separate GitHub Organizations used with same GitHub Branch Source Plugin configuration results in only one job getting triggered per PR

2018-01-04 Thread Stephen Connolly
On Thu 4 Jan 2018 at 18:11, Ian Vernon wrote: > I had asked previously about getting two jobs triggered from GitHub when a > PR is opened. Each job uses a distinct Jenkinsfile. This is so multiple > sets of tests can be triggered as separate jobs when a PR is opened. That

Re: Kubernetes plugin ( want to run slave as pod )

2018-01-04 Thread Carlos Sanchez
kubectl logs your_pod_slave has to print something, with that we could probably help you better Please stop hijacking jira issues and other email threads to enter unrelated comments. On Tue, Jan 2, 2018 at 8:29 PM, Vamsi krishna wrote: > > > On Saturday, December

Re: How to use podTemplate in a declarative pipeline with the kubernetes-plugin.

2018-01-04 Thread Vamsi krishna
Hello all Local headers refused by remote: Authorization failure Jan 04, 2018 6:13:25 PM hudson.remoting.jnlp.Main$CuiListener status INFO: Protocol JNLP4-connect encountered an unexpected exception whats this error means... this is the logs error i am getting in my pod.. can anyone have

Re: Jenkins says: The SDK directory '/Users/jpratik/Library/Android/sdk' does not exist but it does

2018-01-04 Thread iamisathya
It's due to permission problem. So it can be fixed by 2 ways 1. 1. Run below commands in ~/Library/ path by using terminal chmod 777 at /Users/username/Library/. Check permission by execute ls -s command So /Users/username/Library/ should now show

Re: github quota limit when scanning with the addition of tags

2018-01-04 Thread Stephen Connolly
On 4 January 2018 at 16:43, wrote: > Ok, than I think I misunderstand what the scan is doing. > During the scan, Jenkins creates a list in memory of all branches, tags, > PRs. It does it from a single api call? Or from an api call for each type? > At least one API

Re: github quota limit when scanning with the addition of tags

2018-01-04 Thread j . knurek
Ok, than I think I misunderstand what the scan is doing. During the scan, Jenkins creates a list in memory of all branches, tags, PRs. It does it from a single api call? Or from an api call for each type? And then while iterating over that list, for each entity Jenkins makes an api call to get

Re: Jenkins in docker ... pipeline script from SCM ... sh 'adb devices...' not working

2018-01-04 Thread Victor Martinez
You might get some benefits of adding some -x debug traces in the script './start_environment_new.sh' to know what it does under the hood. Besides of that, did you check whether those docker images should be attach to a particular version? it might be related to the usage of 'latest' by

Jenkins in docker ... pipeline script from SCM ... sh 'adb devices...' not working

2018-01-04 Thread Cepin
Hi all, machine with centos 7 Docker version 17.12.0-ce, build c97c6d6 Jenkins ver. 2.60.3 all plugins updated situation: Jenkins (running in container Alpine linux) is configured to download Jenkins file from gitlab and the start some containers (based on debian:stretch-slim) and run there

Re: github quota limit when scanning with the addition of tags

2018-01-04 Thread Stephen Connolly
If you know those tags will never match, you could add a filter to exclude them from discovery. Part of the issue here is that Multibranch doesn't know if the SCMCriteria has changed from the last time it saw that revision (because Jenkins config is a filesystem, who knows what was restored,

Re: github quota limit when scanning with the addition of tags

2018-01-04 Thread j . knurek
I do want tags. I want tags very much. I'm very happy this feature is finally available. There just happens to be some tags in that repo that reference commits in which no Jenkinsfile exists, and I happened to copy those examples. Here is a better example: Checking tag v1.1.0

Re: github quota limit when scanning with the addition of tags

2018-01-04 Thread Stephen Connolly
On 4 January 2018 at 13:27, wrote: > @Stephen > You mention that caching the responses would "save about 50% of the > requests." That seems like a significant savings to me. > > I'm also wondering, I'm seeing a lot of things like this in the scan log: > > Checking

Re: github quota limit when scanning with the addition of tags

2018-01-04 Thread j . knurek
@Stephen You mention that caching the responses would "save about 50% of the requests." That seems like a significant savings to me. I'm also wondering, I'm seeing a lot of things like this in the scan log: Checking tag v0.28.1

[ANN] Basic Branch Build Strategies plugin

2018-01-04 Thread Stephen Connolly
If you are using Multibranch, you may be interested in: https://github.com/jenkinsci/basic-branch-build-strategies-plugin Checkout the documentation: https://github.com/jenkinsci/basic-branch-build-strategies-plugin/blob/master/docs/user.adoc This extension plugin will enable things like: *

Advanced / Deprecated plugins

2018-01-04 Thread James Green
Within the "Sample Step" drop-down we have an end listing Advanced / Deprecated plugins. How can I tell which ones are Advanced, and which are Deprecated? I am, in particular, very confused concerning our use of docker private registries which I'm reading we may be using the wrong plugin for.

Re: Releasing with declarative pipeline

2018-01-04 Thread Ari Maniatis
On 4 January 2018 at 7:19:53pm, Stephen Connolly ( stephen.alan.conno...@gmail.com) wrote: * the multibranch plugin (which I use already) is pretty flaky. I find it > will sometimes reset all the branches to be enabled even though I try to > disable old branches to get them out of the view > You

Re: location of email-ext template file

2018-01-04 Thread slmpskece
Hi, I also getting same error. Jelly file [managed:EmailTemplate] was not found in $JENKINS_HOME/email-templates. I already installed Config File Provider Plugin but i dont't know how to refer in my email template.

Re: Releasing with declarative pipeline

2018-01-04 Thread Stephen Connolly
On Thu 4 Jan 2018 at 06:57, Ari Maniatis wrote: > I think that's a great idea. The main downsides I see are: > > * the multibranch plugin (which I use already) is pretty flaky. I find it > will sometimes reset all the branches to be enabled even though I try to >