any direct possibility to pass some data fromexecute shell script to post-build action.

2020-08-13 Thread tamilarasan kulasekaran
Hi,I want to read the text output from the post-build task execution script to add the email body of the notification. I understand that Jenkins sets certain environment variables during build execution . I wonder if there is any direct possibility to pass some data from execute shell script to pos

Re: Docker workflow plugin - volume leak

2020-08-13 Thread Baptiste Mathus
Looks like a good idea and enhancement proposal yes. Feel free to propose it. Thank you Le jeu. 16 juil. 2020 à 14:59, Robert Hafner a écrit : > In our use of the docker workflow plugin we are seeing that volumes are > being leaked when the container is removed. Is there an option that can be >

Re: Error running docker workflow plugin demo

2020-08-13 Thread Baptiste Mathus
You need to configure Maven on your machine with the right Jenkins repos. In this case, it's the 'incrementals' one. Cannot provide a link as I'm offline right now, but googling using the above should help. Le jeu. 16 juil. 2020 à 15:30, Robert Hafner a écrit : > I'm seeing the following error

Re: "Added a missed class for missing class telemetry"

2020-08-13 Thread Baptiste Mathus
Looks like more a question for the dev list? What are you trying to do more precisely? Le ven. 17 juil. 2020 à 17:40, red 888 a écrit : > Im trying to run the test harness and im seeing a ton of these warnings > > This says resolved but Im seeing it > on "org.jenkins-ci.main:jenkins-war:2.235"

Re: Agent label conditional

2020-08-13 Thread Baptiste Mathus
Using Jenkins pipeline, simply use the parameters inside the agent label specification and it will do exactly this. (Note: Not 100% sure declarative pipelines support variables, but cannot check right now) Le lun. 27 juil. 2020 à 19:09, Alex Panayi a écrit : > Hey guys. > > I have a step where

Re: How to throw an error if a parameter is empty?

2020-08-13 Thread Baptiste Mathus
What you're describing exactly is not possible by default. It /might/ be possible with custom development, but I would certainly not recommend it for such use case. Le ven. 31 juil. 2020 à 17:03, chencho m-a a écrit : > > What i want is that when you press the build button, a pop up or error at

Re: Jenkins file does not execute 'stage 2'

2020-08-13 Thread Baptiste Mathus
Jenkins will default to stopping execution on the first error. So I assume some command in the 'stage 1' failed and so it never reached the second one. Le jeu. 23 juil. 2020 à 05:38, gene golub a écrit : > Hello All, > > i am new user to Jenkins. > for some reasons below Jenkins file does not ex

Re: Calling writeFile for every entry of a map requires somewhat ugly code

2020-08-13 Thread Baptiste Mathus
Extract this in a shell script or so. Use Jenkins pipeline for orchestration, not for programming. It sounds tempting to use pipeline like it's Groovy. But first it's not *really* Groovy as you've discovered and second it'll make it very hard to develop locally if the build process steps are only

JAVA_OPTS in jenkins k8s deployment, does not seem to take into account -Xss (stack size)

2020-08-13 Thread Pantelis Karamolegkos
In my jenkins deployment (for which I am using the official helm chart - name: JAVA_OPTS value: | -Djava.awt.headless=true -Dorg.csanchez.jenkins.plugins.kubernetes.PodTemplate.connectionTimeout=180 -Dhud

Disable Multibranch Pipeline

2020-08-13 Thread Ven H
Hi, I am working on a Multibranch pipeline. The implementation is in progress and hence I want to keep it disabled, so that scanning doesn't happen. But, I am not sure how to do it. Any help will be appreciated. Regards, Venkatesh -- You received this message because you are subscribed to the G

After server migration: can no log in

2020-08-13 Thread Michael Renner
Moin, I migrated my single server instance from a i386 architecture to a modern AMD64 by executing the steps mentioned in https://stackoverflow.com/questions/8724939/how-to-move-jenkins-from-one-pc-to-another So far I used "Unix user/group database" as Security Realm, with other words my local

Unable to locate file Groovy-html.template

2020-08-13 Thread Ven H
Hi, I would like to customize groovy-html.template to update some information. I am unable to locate this file anywhere (including Home, Plugins directories) in the Jenkins server. Without this file being in the server, not sure how this functionality is even working (and it is actually working fo

ExcludedRegions for SVN not working in Pipeline

2020-08-13 Thread Ven H
Hi, I have a pipeline which is configured for the SVN path in Jenkins pipeline. https://svn.domain.com/org/project/trunk/Platform/Src Within Src, I have a Build folder and there are some projects inside that as well. So, I want to exclude some projects within the Build folder. So I put the Exclud

Tag this Build Duplicate

2020-08-13 Thread Ven H
Hi, I am facing the exact issue mentioned below in the link. Does anyone have any idea about the fix? https://issues.jenkins-ci.org/browse/JENKINS-35176 Regards, Venkatesh -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from th

Re: After server migration: can no log in

2020-08-13 Thread Michael Renner
Moin, found the problem: User 'jenkins' needs to belong to group shadow to read /etc/shadowUser Am Donnerstag, 13. August 2020 15:39:07 UTC+2 schrieb Michael Renner: > > Moin, > > I migrated my single server instance from a i386 architecture to a modern > AMD64 by executing the steps mentione

Re: Unable to locate file Groovy-html.template

2020-08-13 Thread Slide
That template is a resource in the email-ext plugin hpi file, so you won't find it directly on the server. If you want to see the contents and use a modified version, you can look here for information: https://plugins.jenkins.io/email-ext. Search for "Jelly content" on that page and it will tell yo

Strange SAML-jenkins certificate expired causing JENKINS-ADFS integration SSO login to fail

2020-08-13 Thread Ivan Fernandez Calvo
SAML plugin needs a certificate for sign and encrypt the communications with the IdP, if you no provide one the SAML plugin generate a key and a certificate for that purpose, the certificate is renewed automatically when it expires but the IdP needs the new certificate is your responsability to

Re: Unable to locate file Groovy-html.template

2020-08-13 Thread Ven H
Thanks a lot for your prompt response. Appreciate it. Regards, Venkatesh On Thu, Aug 13, 2020 at 8:22 PM Slide wrote: > That template is a resource in the email-ext plugin hpi file, so you won't > find it directly on the server. If you want to see the contents and use a > modified version, you