Re: Reserving a display on each node

2023-05-31 Thread 'Christoph Vogtländer' via Jenkins Users
Hi, the downside of using a ephemeral lock like "${NODE_NAME}-display" is that you cannot select a node where the resource is actually free. In the worst case, all your builds that require a display are using the same node, blocking each other while other nodes are still free. This is not a probl

Re: howto use library function for parameter list

2022-02-21 Thread 'Christoph Vogtländer' via Jenkins Users
Hi, Am Montag, 21. Februar 2022, 15:28:09 CET schrieb Thomas Markus: > How can I use a library function for this? Currently I have to copy my > scipt. You mean using a function from a custom pipeline library for a scripted value of the extended choice? I don't think this is possible. As the

Pipeline: Error signal - (no timing in self)

2017-05-31 Thread Christoph Vogtländer
Hi all, while running a pipeline build with parallel execution, one branch (#38) fails with: Error signal - (no timing in self) What is this supposed to mean? The error signal is displayed as a step in the "Pipeline Steps" view. The overall build is still displayed as "in progress", but in the "

Re: [workflow-plugin] Set build description

2015-05-06 Thread Christoph Vogtländer
You can use currentBuild.setDescription("Your Description") Christoph Am 25.03.2015 18:52, schrieb Lóránt Pintér: Hi, Is there a way to set the description of a workflow build from a workflow script? Thanks, Lorant -- You received this message because you are subscribed to the Google Grou

Re: [workflow plugin] how to force stop stuck build?

2015-04-08 Thread Christoph Vogtländer
Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Am 08.04.2015 11:01, schrieb Baptiste Mathus: Hi, Known issue: https://issues.jenkins-ci.org/browse/JENKINS-25550 [3] Cheers 2015-04-07 17:53 GMT+02:00 Christoph

[workflow plugin] how to force stop stuck build?

2015-04-07 Thread Christoph Vogtländer
Hi, I'm not able to abort a stuck workflow. The workflow is waiting for another job started with a "build" step which crashed with a exception (some random problem I have with the copy to CIFS plug in). Trying to abort the workflow build using the "stop" button does not work. In the log I only

[workflow-plugin] unarchive: Access is denied

2015-02-25 Thread Christoph Vogtländer
Hi, when trying to unarchive artifcats with the command unarchive mapping: ['Binary/' : '.'] the step fails with: java.io.FileNotFoundException: D:\Jenkins\jobs\testjob\workspace\Binary\test.dll (Access is denied) I think this is because the file already exists. Removing the "Binary" fo

[workflow-plugin] archive hidden files and folders

2015-02-12 Thread Christoph Vogtländer
Hi, is it possible to archive hidden folders (.svn in my case) using the "archive" (or similar) step? The ArtifactArchiver (which I believe the archive step is based on) has a method "boolean defaultExcludes()" but the interface is not available in the archive step. I also tried step([$cla

[workflow plugin] env changes get propagated to parallel jobs

2015-02-11 Thread Christoph Vogtländer
Hi, consider the following workflow: //-- parallel Windows: { node('Windows') { env.TEST = "A Test" bat 'echo %TEST%' } }, Linux: { node('Linux') { sh 'echo "$TEST"' } } //-- Both steps will echo "A Test". For me this i

[workflow plugin] sh hangs when setting env.PATH

2015-02-11 Thread Christoph Vogtländer
Hi, I'm trying to append a path to env.PATH and then executing a "sh" step. node('Linux') { env.PATH = "/my/path/:${env.PATH}" sh 'echo "$PATH"' } env.PATH now contains "/my/path:null" and the "sh" will hang (I can see that the temporary script is created successfully in the workspace, but

[workflow plugin] unarchive() question

2015-02-11 Thread Christoph Vogtländer
Hi, how does unarchive() determines which artefact is to be unarchived? I am building a C++ project natively and additionally doing a cross compile in parallel. Both archive steps will archive the same folder (but on two different workspaces). What will happen during unarchive()? Does archive

RE: [workflow plugin] set build display name

2015-02-09 Thread Christoph Vogtländer
jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroupscom] On Behalf Of Christoph Vogtländer Sent: Monday, February 09, 2015 9:32 AM To: Jenkinsci Users Subject: [workflow plugin] set build display name Hi, is it possible to set the current build display name? Changing env.BUILD_DISPLA

[workflow plugin] set build display name

2015-02-09 Thread Christoph Vogtländer
Hi, is it possible to set the current build display name? Changing env.BUILD_DISPLAY_NAME does not seem to have an effect. -- Thanks Christoph -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receivin

[workflow plugin] inject environment variables or using parameters to prepare the run

2015-02-05 Thread Christoph Vogtländer
Hi, I want to use the workflow plugin and together with the "Prepare an environment for the run" feature provided by the EnvInject plug in. Unfortunately, when setting key/value pairs the variables are not available in the "env" workflow variable. Parameters (Dynamic Parameter Plug-in) will no

Upgrade to 1.580.[12] not shown

2015-01-15 Thread Christoph Vogtländer
Hi, I just noticed that 1.580.2 LTS is out since December and 1.580.1 LTS was already release in October. Both version are not shown in "Manage Jenkins" as a possible update in my Jenkins installation. I'm currently using 1.565.3 LTS running as a Service under Windows Server 2012. Until now I

Re: Testing MSI Installers

2013-02-25 Thread Christoph Vogtländer
Hi JC, On Monday 25 February 2013 09:01:36 JC wrote: > I know this is an older thread, but I thought maybe somebody has news on > this matter... is there still no MSI-testing possibility around? this is IMHO not available in Jenkins directly. But you can start Msival2 [1] in a batch build step t

Re: How to make one job run on all slaves if this job has some changes?

2012-05-23 Thread Christoph Vogtländer
Hi, from what you describe I think you could use a Multi-Configuration (Matrix) project. Define one axis containing the slaves you want to use for building. AFAIK there is not much documentation, see https://wiki.jenkins-ci.org/display/JENKINS/Building+a+matrix+project -- Christoph