It's all about the answers!

Ask a question

Post-build action


Chris Ryan (15732428) | asked Oct 07 '13, 11:44 a.m.
Hey folks,

I've got scripts that create media from build output, and I'd like to integrate that into RTC.

Is there a way to call a script following a build?  I'd prefer not to modify the ant script, and to have it configured in Jazz.

Thanks much,
Chris

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Oct 08 '13, 2:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Chris,

similar to https://jazz.net/library/article/1000 you could run a post build script using the process Java API.

However, that script would run in the server context and I don't think you want to do that. You want to really call your script in the build job (also on the build server with access to the files you built) using an ANT command. I think you could use the ANT exec task to achieve that.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.