Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Dynamically setting job name in ${COPYARTIFACT_BUILD_NUMBER_XXX}(I am using Paramterized Build , and copying artifacts from other build. From this job I am publishing the artifacts to remote folder having JobName/Build# folder structure)
icon5.gif  Dynamically setting job name in ${COPYARTIFACT_BUILD_NUMBER_XXX} [message #1547214] Mon, 05 January 2015 09:47 Go to next message
Ravikumar Ganugapanta is currently offline Ravikumar GanugapantaFriend
Messages: 1
Registered: January 2015
Junior Member

I have multiple build jobs which create war files.
Multiple jobs for different branches of code.

I have another job - Publish WAR,
This job copies the artifact from selected job and build# to Publish WAR jobs folder.
Next I am trying to copy this war to remote server having folder structure as Hudson/<JobName>/<Build#>

I am not getting the <Build#> dynamically and I am stuck.

The problem is I have to mention the Job name in place of XXX:


But since the Job name can be different I am forced to stick to only one Job selection.

Please help me if there is way to get the Build# parameter.
Re: Dynamically setting job name in ${COPYARTIFACT_BUILD_NUMBER_XXX} [message #1557676 is a reply to message #1547214] Sun, 11 January 2015 03:04 Go to previous message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
How about to pass the job name as a parameter by Parameterized Trigger plugin?

Kaz Nishimura
Previous Topic:sctmexecutor plugin
Next Topic:Deploying WAR unarchived?
Goto Forum:

Current Time: Sun Sep 27 02:16:49 GMT 2020

Powered by FUDForum. Page generated in 0.01860 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top