Re: Jenkins for automating daily tasks for python and web2py as well as .net based works

2018-08-29 Thread Vowner
Hello Experts, Could you please provide some suggestions here... On Wednesday, August 29, 2018 at 12:48:02 PM UTC+5:30, Vowner wrote: > > > > We are initial stage of bringing devops into our daily activities. Now we > are workig on .net and pthon coding. So we have to plan for continuous > deli

Re: Blue Ocean Exception and load problems

2018-08-29 Thread Ernesto Ojeda
I am getting this exact issue. Were you ever able to get a root cause as to why this was happening? All the job flow information disappears after the job runs and the blueocean page is reloaded. I am on Jenkins LTS v2.121.3 On Tuesday, June 19, 2018 at 6:50:01 AM UTC-7, Sverre Moe wrote: > > I

multibranch pipeline not handling multiple scripts

2018-08-29 Thread Gabe Nydick
Here is my Jenkinsfile, minus the variable declarations... podTemplate(label: label, containers: [ containerTemplate(name: 'kubectl', image: "$registry/kubectl:latest", command: 'cat', ttyEnabled: true), containerTemplate(name: 'helm', image: "$registry/helm:latest", command: 'cat', ttyEnable

Pipeline Library Branch Versions

2018-08-29 Thread George Sexton
I’m running into a problem with pipeline library branches and I was hoping someone could help me understand what I’m doing wrong. Jenkins Version: 2.121.2 I have a project configured, and the project has a pipeline library. The default version is “master”, load implicitly is not checke

Re: multi-branch pipeline / kubernetes stage probem

2018-08-29 Thread Gabe Nydick
Right, I fixed that. On Wed, Aug 29, 2018 at 9:47 AM, Carlos Sanchez wrote: > the jnlp container needs to execute the jenkins agent, not cat > > On Wed, Aug 29, 2018 at 6:41 PM Gabe Nydick wrote: > >> What was wrong about using 'cat' there? is it just the wrong health check? >> >> On Wed, Aug 2

Re: multi-branch pipeline / kubernetes stage probem

2018-08-29 Thread Gabe Nydick
Also, I had already fixed the Jenkinsfile, but the problem still persists. On Wed, Aug 29, 2018 at 9:41 AM, Gabe Nydick wrote: > What was wrong about using 'cat' there? is it just the wrong health check? > > On Wed, Aug 29, 2018 at 8:20 AM, Gabe Nydick wrote: > >> ha! good catch. >> >> On Wed,

Re: multi-branch pipeline / kubernetes stage probem

2018-08-29 Thread Carlos Sanchez
the jnlp container needs to execute the jenkins agent, not cat On Wed, Aug 29, 2018 at 6:41 PM Gabe Nydick wrote: > What was wrong about using 'cat' there? is it just the wrong health check? > > On Wed, Aug 29, 2018 at 8:20 AM, Gabe Nydick wrote: > >> ha! good catch. >> >> On Wed, Aug 29, 2018

Re: multi-branch pipeline / kubernetes stage probem

2018-08-29 Thread Gabe Nydick
What was wrong about using 'cat' there? is it just the wrong health check? On Wed, Aug 29, 2018 at 8:20 AM, Gabe Nydick wrote: > ha! good catch. > > On Wed, Aug 29, 2018 at 12:36 AM, Carlos Sanchez > wrote: > >> Your example wouldn't even work, the jnlp container definition is wrong, >> can't u

restart is obscured

2018-08-29 Thread Ivan Fernandez Calvo
SafeRestart plugin add a button to the safeRestart link https://wiki.jenkins.io/display/JENKINS/SafeRestart+Plugin -- 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

Re: Pipeline when condition issue

2018-08-29 Thread Michael Fowler
Thanks Devin, that worked! On Wed, Aug 29, 2018 at 11:44 AM Devin Nusbaum wrote: > I think the problem is with your regex match. Based on > http://mrhaki.blogspot.com/2009/09/groovy-goodness-matchers-for-regular.html, > it looks like the operator to use is `==~`, but you have `== ~` with a > spa

Re: Pipeline when condition issue

2018-08-29 Thread Devin Nusbaum
I think the problem is with your regex match. Based on http://mrhaki.blogspot.com/2009/09/groovy-goodness-matchers-for-regular.html , it looks like the operator to use is `==~`, but you have `== ~` with a space. The s

Re: multi-branch pipeline / kubernetes stage probem

2018-08-29 Thread Gabe Nydick
ha! good catch. On Wed, Aug 29, 2018 at 12:36 AM, Carlos Sanchez wrote: > Your example wouldn't even work, the jnlp container definition is wrong, > can't use cat there > > containerTemplate(name: 'jnlp', image: '', command: 'cat', > ttyEnabled: true) > > > and then you try to use container('je

Re: multi-branch pipeline, shell wrapper script fails

2018-08-29 Thread Gabe Nydick
It turns out that the 'touch' command was missing from the docker container. Strange that it throws that error. We can close this thread. Thanks for the help. On Wed, Aug 29, 2018 at 4:58 AM, Vitaly Karasik wrote: > Did this script run Ok if you run it manually in the same > environment/server?

Re: Is it possible to re-run init.groovy.d scripts whilst Jenkins is running?

2018-08-29 Thread Edd Grant
Thanks for this Jan, wasn't aware of this, will investigate further. On Thursday, 9 August 2018 06:59:10 UTC+1, Jan Monterrubio wrote: > > You can post the script contents to the script run endpoint I believe. > > “ > A Jenkins Admin can execute groovy scripts remotely by sending an HTTP > POST

Re: Is it possible to re-run init.groovy.d scripts whilst Jenkins is running?

2018-08-29 Thread Edd Grant
Hi Ewelina, Thanks for this, I have installed the configuration-as-code plugin and have had a quick look. I can see there's a "reload existing configuration" button in the UI. Is this accessible via the Jenkins API? I ask as we want to be able to dynamically configure the Jenkins master without

User input Prompt Job configuration

2018-08-29 Thread reddi . devops3
Hi Experts, Good Day! I am new to Jenkins, I have to configure a Jenkins Job with takes user inputs around 6 to 10 parameters and based on these inputs it need to perform different activities. Please help me how to make Jenkins prompt user inputs. Thanks, Reddi Kishore -- You received thi

Re: Multibranch workflow pipeline and email notifications

2018-08-29 Thread Denis Mone
I believe Jenkins gather the mail addresses from the commits. If you have a stage that clones/updates your code see if there are new commits. If there are not new commits the recipient list will be empty. On Wed, Aug 29, 2018 at 3:10 PM Vitaly Karasik wrote: > I'm trying to add Git committers t

Multibranch workflow pipeline and email notifications

2018-08-29 Thread Vitaly Karasik
I'm trying to add Git committers to email notifications in multibranch pipeline job. Based on https://wiki.jenkins.io/display/JENKINS/Email-ext+plugin#Email-extplugin-PipelineExamples, I configured this: emailext body: '${SCRIPT,template="report.template"}', replyTo: '$DEFAULT_REPLYTO', subj

Re: multi-branch pipeline, shell wrapper script fails

2018-08-29 Thread Vitaly Karasik
Did this script run Ok if you run it manually in the same environment/server? On Tuesday, August 28, 2018 at 9:49:06 PM UTC+3, Gabe Nydick wrote: > > There definitely were no symlinks in the path, what else? > > On Tue, Aug 28, 2018 at 8:50 AM, Gabe Nydick > wrote: > >> I did while it was runnin

Day of Jenkins [as code]

2018-08-29 Thread Ewelina Wilkosz
In October 2018 Praqma is bringing Day of Jenkins back, this time [as code]! https://www.code-conf.com/2018/day-of-jenkins-as-code/ Praqma, Cloudbees and a number of external contributors are currently developing the JCasC plugin and believe it will become THE configuration as code solution for

Re: Restrict what jobs can run on nodes created by the Kubernetes plugin

2018-08-29 Thread Adam Dougal
This is exactly what I needed, thanks! On Tuesday, August 28, 2018 at 11:42:01 AM UTC+1, Carlos Sanchez wrote: > > There is a way to restrict it by folder > https://github.com/jenkinsci/kubernetes-plugin/pull/282/ > > I realized that it was never added to the docs > > > On Tue, Aug 28, 2018 at 12:

Can't log in due to Active Directory error

2018-08-29 Thread Csmith
I attempted to implent Active Directory with our jenkins instance, but got an error and it wouldn't let anyone sign in. I deleted the AD plugin from /var/lib/jenkins/plugins and rebooted the server but am now getting this error com.thoughtworks.xstream.mapper.CannotResolveClassException: hudso

Docker workflow plugin and env vars

2018-08-29 Thread Sascha Schwarz
Hi all. Env vars being set to the same value in global Jenkins config and docker host are being removed from the environment of started containers. This just struck me with proxy settings. E.g. set http_proxy=http://foo.example.com in global Jenkins config and on a node running docker (envvartes

Re: multi-branch pipeline / kubernetes stage probem

2018-08-29 Thread Carlos Sanchez
Your example wouldn't even work, the jnlp container definition is wrong, can't use cat there containerTemplate(name: 'jnlp', image: '', command: 'cat', ttyEnabled: true) and then you try to use container('jenkins-agent') which is not defined On Wed, Aug 29, 2018 at 12:59 AM Gabe Nydick wrote:

Jenkins for automating daily tasks for python and web2py as well as .net based works

2018-08-29 Thread Vowner
We are initial stage of bringing devops into our daily activities. Now we are workig on .net and pthon coding. So we have to plan for continuous delivery on our activities. In the first scenario for python development works, we are using web2py now. So developers can directly access the pytho

how to dynamically change recipients

2018-08-29 Thread aman . waviz
Hi experts, how can i dynamically use the recipients list in jenkins. For example if i have 3 email id while executing shell for build and i want to send email to them how i gonna do that . -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To un