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)
Change History (2)
Changed 17 years ago by thomas_mueller_ffb
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.
patch vs r519