Re: cross-platform shell plugin 0.10 not stopping jobs on clients

2021-08-06 Thread Mark Waite
I just checked and confirmed what you reported. A Unix based agent does not kill the process that was created by the XShell plugin, even though the Jenkins job stops. A shell step does kill the process that was created. Process did seem to be killed on a Windows agent with XShell. Work around

cross-platform shell plugin 0.10 not stopping jobs on clients

2021-08-06 Thread Anne Hammond
Xshell plugin, or cross-platform shell plugin, 0.10 is not stopping jobs on the clients under jenkins 2.289.2 when the job is aborted from the jenkins dashboard. There are some previous posts about Xshell where it worked in 1.586 (is this the jenkins version?), and in 1.565.2-1.586. This

Extensible choice using output of another extensible choice?

2021-08-06 Thread zil...@gmail.com
I want to setup a Jenkins pipeline job that has 2 extensible choice parameters. The first parameter, GIT_BRANCH, lets the user choose a certain branch from a multi-pipline branch job. Then I want the second extensible choice parameter take the value from GIT_BRANCH, and present the. user with

Re: Trouble using JenkinsRule with PluginManager

2021-08-06 Thread 'Björn Pedersen' via Jenkins Users
And see also https://javadoc.jenkins.io/component/jenkins-test-harness/org/jvnet/hudson/test/HudsonTestCase.html#useLocalPluginManager Björn Pedersen schrieb am Freitag, 6. August 2021 um 09:38:13 UTC+2: > And take a look at >

CVS-Plugin with password storage

2021-08-06 Thread 'christop...@googlemail.com' via Jenkins Users
Is there anybody out there still using CVS? My IT from time to time changes passwords of the user used by jenkins to access CVS and at the moment I have to modify a lot of jobs to make that work. Isn't there a way to combine the use of jenkins' own password storage with CVS even though I

Re: Trouble using JenkinsRule with PluginManager

2021-08-06 Thread 'Björn Pedersen' via Jenkins Users
And take a look at https://javadoc.jenkins.io/component/jenkins-test-harness/org/jvnet/hudson/test/RestartableJenkinsRule.html , especially the info about UnitTestSupportingPluginManager. Björn Björn Pedersen schrieb am Freitag, 6. August 2021 um 09:32:14 UTC+2: > I guess this question

Re: Trouble using JenkinsRule with PluginManager

2021-08-06 Thread 'Björn Pedersen' via Jenkins Users
I guess this question is better suited for https://groups.google.com/g/jenkinsci-dev matthi...@outlook.com schrieb am Donnerstag, 5. August 2021 um 16:48:48 UTC+2: > Thanks for the reply. It looks like your repo is similar to > https://github.com/sheehan/job-dsl-gradle-example/, which is the

Restricting Cobertura trend graph to main branch?

2021-08-06 Thread 'Dan Kegel' via Jenkins Users
Hi! I am using this line in my Jenkinsfile: cobertura autoUpdateHealth: true, autoUpdateStability: true, failNoReports: false, coberturaReportFile: '**/coverage-**.xml', failUnhealthy: true, failUnstable: false, maxNumberOfBuilds: 0, onlyStable: false, sourceEncoding: 'ASCII',