Calling a shell script from the post-build command line
Good evening,
We've a customer who wants to import back to the stream the output of a dependency build. Our approach has been to call a shell script from the post-build command line that calls the scm zimport. It works, but it's extremely slow. As an example, our last build (1 module) needed 1 minute to find the buildable files, 1 minute to compile, and more than 9 minutes to run the script (and in this case it only had to import 1 output file). Then we tried to run only the script calling it from the shell: it needed 3 minutes. After some analyses we're pretty sure that when called from the shell the script is much quicker than when called from RTC build.
Could anybody give me an idea about what could possibly be causing the script to be so slow? This performance issue is becoming more and more important for the customer.
Thank you very much!
Comments
Spencer Murata
FORUM MODERATOR / JAZZ DEVELOPER Nov 26 '13, 2:06 p.m.Is the script from the engine running on the same machine? What build engine is it using?
Carmelo Merino
Dec 16 '13, 10:06 a.m.Hi Spencer,
yes, it's running on the same machine. We're now working on the hypothesis of a wrong configuration in the Workload Manager, but we're still waiting for an answer of the z-administrators.
Thank you anyway!