Hi Cristian,
I use this all the time to put together the build URL. I'm sure you could
add onto it to add in the part for the individual build step if you wanted.
I do this particular bit so I can create a shortcut in the build output to
the build page, so someone who copies down the build output from the builds
file server has a link back to BuildBot for that particular build.
@properties.renderer
def MakeCommand(self):
theCommand = [JoinPath(("BuildSystem", "Distribute.py"), "Win")]
listUrlPieces = []
listUrlPieces.append(
self.build.builder.botmaster.master.config.buildbotURL)
listUrlPieces.append("builders")
listUrlPieces.append(self.build.getProperty("buildername"))
listUrlPieces.append("builds")
listUrlPieces.append(
str(self.build.getProperty("buildnumber")) + "#BuildInfo")
theCommand.append('/'.join(s.strip('/') for s in listUrlPieces))
return theCommand
shell.Compile(
command=MakeCommand,
name="Distribute")
)
Description: http://www.venafi.com/img/venafi_email_signature_logo.gif
| Jeremy Cornett | Configuration Management Engineer
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ users mailing list [email protected] https://lists.buildbot.net/mailman/listinfo/users
