Edgewall Software
Modify

Opened 17 years ago

Closed 15 years ago

#251 closed enhancement (worksforme)

slavename as variable in recipe

Reported by: saces@… Owned by: cmlenz
Priority: minor Milestone:
Component: General Version: dev
Keywords: Cc:
Operating System:

Description

I want to feed the builder name as part of the ant-target, but the slave name is not aviable as variable.

example: <java:ant target="${slave.name}" />

Attachments (1)

slave.name.patch (405 bytes) - added by thomas_mueller_ffb 17 years ago.
patch vs r519

Download all attachments as: .zip

Change History (2)

Changed 17 years ago by thomas_mueller_ffb

patch vs r519

comment:1 Changed 15 years ago by osimons

  • Milestone 0.6 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

On the one hand, this looks useful. On the other it is easily worked around using Slave Configuration:

[ant]
target = thismachine

and then in build recipe using ${ant.target} for whatever is defined in the .ini file of the slave running the build.

Note that name is not a valid option (see [660]), and that this is a much more general solution to the problem - as also discussed in #274.

I'm closing this as worksforme, and as mentioned on #274 I'll also improve the docs for this to make this feature more accessible and understandable.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.