Jenkins fails to deliver e-mails

2016-06-20 Thread S. Schmitzberger
This might be a tough thing to figure out but i have to give it a try. With no changes i am aware of, my jenkins just stopped sending out e-mail notifications. I use jenkins 1.609 and email extension plugin 2.40.5. Jenkins runs as a service using a service-user who also has the rights on the

Re: Jenkins fails to deliver e-mails

2016-06-20 Thread Slide
Mailer plugin is not anywhere near version 2.40.5, so that must be the version of the extended email plugin you have installed. They are configured separately in the global config, so make sure you have the configuration setup correctly for the one you are actually using. On Mon, Jun 20, 2016, 00:

Re: Jenkins fails to deliver e-mails

2016-06-20 Thread S. Schmitzberger
The "Email Extension Plugin" is Version 2.40.5 as mentioned above. You are referring to the "Mailer plugin" which is at Version 1.11 on my System (yes, i should have added this one as well) Am Montag, 20. Juni 2016 10:05:22 UTC+2 schrieb slide: > Mailer plugin is not anywhere near version 2.40

gerrit trigger plugin and Literate plugin

2016-06-20 Thread Ali Al-Shabibi
Hi all, I have been trying to build a literate build which uses gerrit to be triggered and post the result of the build back to gerrit. Sadly, this has not worked. I have also experienced the same issue with the SlackNotifier plugin, it says that it read the config file in .jenkins but that i

Re: extended-choice-parameter plugin how to add choices list parameter depend on choices list parameter

2016-06-20 Thread ARYAN SHARMA
Hi, I am trying to pass JSON parameter POST to my HTTPS URL. I am not able to configure groovy scripti in Extend Choice Parameter as I am new to Groovy. Can you please share your groovy script and help me with JSON configuration in Extend Choice Parameter plugin. Thanks, Aryan Sharma On Tue

Multibranch (Pipeline) / Branch tracking

2016-06-20 Thread Christoph M
Hi! For a new project I want to use the new Pipeline feature. We have several branches in our Git repository which should be tested in a same way. It should also track and process new branches automatically. Therefore I created a Multibranch Pipeline Job. But I have 2 problems with its confi

Re: Multibranch (Pipeline) / Branch tracking

2016-06-20 Thread Sverre Moe
A DRY Jenkinsfile for each branch and put your main build script in the Pipeline Global Library https://github.com/jenkinsci/workflow-cps-global-lib-plugin mandag 20. juni 2016 12.05.07 UTC+2 skrev Christoph M følgende: > > Hi! > > For a new project I want to use the new Pipeline feature. We have

Re: Jenkins fails to deliver e-mails

2016-06-20 Thread Slide
You can enable debug mode in the global email-ext configuration area and see if there are more details. On Mon, Jun 20, 2016, 01:10 S. Schmitzberger < sebastian.schmitzber...@hofer.at> wrote: > The "Email Extension Plugin" is Version 2.40.5 as mentioned above. You are > referring to the "Mailer p

How to generate Test Reports for excution of shell scripts

2016-06-20 Thread seemant bisht
Hello, I am a newcomer in Jenkins. I have a build that executes 3 shell scripts which may fail or pass. How can I generate test reports of this build? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop rece

Jenkins Build Publish Plugin

2016-06-20 Thread John John
I'm using a public relay jenkins instance to publish builds onto it from a private instance in a different subnet. I use github oauth for security, and project based security, but I don't want anonymous users to be able to view the console output for jenkins jobs while viewing the embedded buil

Re: Jenkins Build Publish Plugin

2016-06-20 Thread John John
Okay, I "may" have answered my own question here, but apparently I can use the "unprotected" Markdown that allows me to set "View" permissions on the job. After testing outside our LAN I think this is good to go. Could someone let me know if my assumptions on unprotected build statii being

Can the “Throttle Concurrent Builds Plugin" be used to reliably prevent concurrent builds in a multi-server, "build farm" setting?

2016-06-20 Thread Robert Kruck
Can the “Throttle Concurrent Builds Plugin" be used to reliably prevent concurrent builds in a multi-server, "build farm" setting? Example: if the Build Farm consisted of Master Server, Slave Server 1, Slave Server 2, Slave Server 3 - could the master server request three builds, for three ver

Jenkins Pipeline Job sthrowing Error code 126 when trying to execute a sh command

2016-06-20 Thread Mike Chmielewski
Hi all! I have been banging my head on this for a while, and now hope the greater community can help me out. I am starting out with workflows, and almost immediately hit a snag. I have the following setup: Jenkins 2.7 on: - CentOS 6.7 master - CentOS 7.1 on agents - Pipeline 2.1 I have the

Re: Jenkins Pipeline Job sthrowing Error code 126 when trying to execute a sh command

2016-06-20 Thread Eric Pyle
I've been struggling with this same issue. It only seems to be a problem on Linux - Windows slaves work OK. One theory I have is that it could be related to the "Shell executable" setting in the main configuration page (Manage Jenkins->Configure System). I have the shell executable set as "bash

Git fetch failure

2016-06-20 Thread Shannon Bigelow
The following message is periodically generated (example: 3 out of 26) when attempting to do a git fetch. 1) Are there any configuration options which might be a contributing factor or might help? Setup: Gitlab run by separate team no access to server. Jenkins 2.0 (2.6) connecting to G

Re: Jenkins Pipeline Job sthrowing Error code 126 when trying to execute a sh command

2016-06-20 Thread Craig Rodrigues
Hi, When you use *sh* in a Pipeline, and you need to debug weird things, then you need to look at the source code of the Durable Task plugin to figure out what is going on, because that is what is executing the underlying shell. Specifically, look at this: https://github.com/jenkinsci/durable-ta

Re: Jenkins Pipeline Job sthrowing Error code 126 when trying to execute a sh command

2016-06-20 Thread Slide
You could try changing your sh invocation to something like the following: sh """\ #!/bin/sh echo hello sh! """ This would force the interpreter to use whatever is setup as sh in your environment. I believe sh uses bash by default, but if you don't have it installed, that would be a problem. O

Re: Git fetch failure

2016-06-20 Thread Mark Waite
If it comes from a different node each time, then it may indicate that the server is overloaded with connections. If it comes from the same node each time, then it may indicate that node is being specifically rejected by the gitlab server. Mark Waite On Mon, Jun 20, 2016 at 12:33 PM Shannon Bige

Re: Git fetch failure

2016-06-20 Thread Zoratto Thomas
Hi, It doesn't seem to be Jenkins related If I were you I would ask the team maintaining the gitlab server if this is a known issue or if they can do something about it. Maybe I'm wrong though > Le 20 juin 2016 à 20:33, Shannon Bigelow a écrit : > > The following message is periodically gen

Server Move Issue

2016-06-20 Thread Andrew Day
I am trying to move my current install from one machine to another. I installed Jenkins on my new machine (made sure is was not running) then copied the jenkins folder from the old machine to the new machine. The started Jenkins. Jenkins starts fine but when i try to login i just get the "Oops"

Re: Jenkins Pipeline Job sthrowing Error code 126 when trying to execute a sh command

2016-06-20 Thread Mike Chmielewski
Eric, I do! I will try making that explicit and let the thread know what the situation. Craig, I've tried, but I can't seem to catch it, the job dies in less than half a second. slide, I do have bash installed, as freestyle jobs run just fine, and the SHELL env variable on the slave is set to

Re: Jenkins Pipeline Job sthrowing Error code 126 when trying to execute a sh command

2016-06-20 Thread Mike Chmielewski
Eric, I removed the "bash" and left the setting blank, and my job worked! Thanks for the lead! On Monday, June 20, 2016 at 3:25:51 PM UTC-4, Mike Chmielewski wrote: > > Eric, I do! I will try making that explicit and let the thread know what > the situation. > > Craig, I've tried, but I can't se

Features+controlled+by+system+properties

2016-06-20 Thread Ashish Yadav
How do I list the existing values of these system parameters and do I use the script console to get the values or via command line on the server itself? https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties -- You received this message because you are subscribed t

Re: Server Move Issue

2016-06-20 Thread Baptiste Mathus
That method was seemingly introduced in Jenkins 1.651.2 and 2.3, so I suspect you didn't reinstall the exact same components on the new machines. For example you possibly updated a plugin (AD?) without updating the core? My 2 cents 2016-06-20 21:22 GMT+02:00 Andrew Day : > I am trying to move my

Re: Server Move Issue

2016-06-20 Thread Baptiste Mathus
Wanted to paste https://github.com/jenkinsci/jenkins/commit/49d10a9034b280b5e59535519c3f0d12d96c9f2d#diff-1b2e968f637b757e3ad0aa7ae87739f9 2016-06-20 23:27 GMT+02:00 Baptiste Mathus : > That method was seemingly introduced in Jenkins 1.651.2 and 2.3, so I > suspect you didn't reinstall the exact

Re: Server Move Issue

2016-06-20 Thread Andrew Day
So when i installed Jenkins i just installed the latest 1.x version no plug-ins and made sure my current verson was fully updated and all plug-ins. I assumed when i copied the jenkins folder over all plug-ins would also come over. When i am back at work i will check the versions. But do i first

ANN - Google Summer of Code. Mid-term presentations on Jun 23/24

2016-06-20 Thread Oleg Nenashev
Dear all, As you probably know, on this year Jenkins projects participates in Google Summer of Code 2016 . You can find more information about the accepted projects here and in the Jenkins Developer mailing list.

Jenkins 2.x with Github Organizational Folder and webhook Payload

2016-06-20 Thread Michael Chletsos
I am attempting to rebuild our old Jenkins setup with the new Jenkins 2.x series and using Github Organizational folders. I am running into an issue where I need to get the PR number for our build process, but this is not exposed as I can see. The ghprb plugin does not work (or at least seems to n

Re: Jenkins fails to deliver e-mails

2016-06-20 Thread S. Schmitzberger
I've attached the error message. As you can see it says that either e-mail or pw is wrong. Which, believe me on that, i have made sure many many times that this information is 100% correct. Am Montag, 20. Juni 2016 14:50:27 UTC+2 schrieb slide: > > You can enable debug mode in the global email

Pipeline: Fails reading build cause

2016-06-20 Thread Sverre Moe
I have tried reading the build cause as suggested in this example https://github.com/jenkinsci/pipeline-examples/tree/master/pipeline-examples/get-build-cause Accessing the build cause outside of a node causes the pipeline to fail right after entering the first stage and without an error or excep

Re: Pipeline: Fails reading build cause

2016-06-20 Thread Sverre Moe
I found a JENKINS issue dealing with NonCPS https://issues.jenkins-ci.org/browse/JENKINS-31314 Tried the suggestion in the last comment and only call the NonCPS methods from the master node. Seems I really need to define a heavyweight executor on the master. Reading the build cause on a flyweigh