Re: How to edit xml files through Jenkins pipeline?

2020-06-22 Thread Jan Monterrubio
Since a pipeline can support groovy, you can try some of the groovy classes: https://groovy-lang.org/processing-xml.html On Mon, Jun 22, 2020 at 23:10 Gajanan Mahajan wrote: > I've to update xml file as a part of pipeline. From following, I've to > replace `value` from `true` to false > >

How to edit xml files through Jenkins pipeline?

2020-06-22 Thread Gajanan Mahajan
I've to update xml file as a part of pipeline. From following, I've to replace `value` from `true` to false Also, following commented code, I've to uncomment - Both of above snippets can be anywhere in xml file. `sed` utility won't help much here. Could you please suggest

Re: Upgrading from 2.164.1 to 2.235.1

2020-06-22 Thread Daniel Beck
This looks like the matrix-auth plugin is disabled or unable to load. Check the Jenkins log with the error message for why that is. 1.5 is really old, you should update -- probably before the next attempt at updating Jenkins. It's almost certainly safe to do so, this is the documentation

Re: Potential Malware

2020-06-22 Thread Daniel Beck
Thanks for your report. I filed an issue on your behalf in the Jenkins project's private security issue tracker. You should have gotten an email notification from Jira about it. Please provide more information there to help us investigate. > On 22. Jun 2020, at 19:15, Randall Becker wrote: >

Potential Malware

2020-06-22 Thread Randall Becker
Hi All, We just installed Jenkins 2.240 and suddenly there is a job with some really strange content, including: #!/bin/bash threadCount=$(lscpu | grep 'CPU(s)' | grep -v ',' | awk '{print $2}' | head -n 1); hostHash=$(hostname -f | md5sum | cut -c1-8); echo "${hostHash} - ${threadCount}";

github plugin

2020-06-22 Thread Praveen Kumar K S
Hello, Is there any github plugin which offers features like https://github.com/jenkinsci/gitlab-plugin ? Like 1. Able to trigger build on Jenkins when there is a custom defined comment in MR/PR 2. To get all env var like sourcebranch,targetbranch,comment, etc 3. Supports Comment (regex) for

Re: Jenkins pipeline Dependency-Check Plugin v5 migration

2020-06-22 Thread Adam Horn
Did you figure out how to do this? I just updated to v5 and am running into the same issues. On Tuesday, August 6, 2019 at 8:01:48 AM UTC-7, ya wrote: > > Hi all. > We use jenkins pipelines and want start migrate to new version of OWASP > Dependency-Check plugin, but can't understand new

Upgrading from 2.164.1 to 2.235.1

2020-06-22 Thread Sean LeBlanc
Last week, I tried to update to Jenkins 2.235.1, but Jenkins would not come up; it was an error about ProjectMatrixAuthorizationStrategy (see error stack at bottom of email). Moving back 2.164.1 war did not work, I had to use snapshot of VM to recover. Now, I'm wondering what the best path

Is it possible to change the service IP range of an already initialized kubernetes cluster?

2020-06-22 Thread touseef
I want to change the CIDR of services ( replace the kubeadm ip alloc range) i.e cluster ip.I have the cluster already up and running. Is it possible to switch teh cluster to different cluster ip rangfe without re initializing it from scratch? -- You received this message because you are

RE: Unable to get value of password parameter into another parameter

2020-06-22 Thread Jérôme Godbout
You should use the credtentials, withCredentials() { } Add the credentials to you Jenkins config then use the command above, it will also prevent the print output of the password into the log and change it for *. https://www.jenkins.io/doc/pipeline/steps/credentials-binding/

Re: Add strongly named keys (pfx) to all users on a server

2020-06-22 Thread jayavardhanreddy jayareddy
Any one got solution for below issue. On Thursday, 29 January 2015 15:41:41 UTC+5:30, Neelanshu Sharma wrote: > > Apologies for this massive post. > > >