It's all about the answers!

Ask a question

Calling a shell script from the post-build command line


Carmelo Merino (931313) | asked Nov 19 '13, 11:30 a.m.
edited Nov 22 '13, 5:51 p.m. by Millard Ellingsworth (2.5k12431)

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 commented Nov 26 '13, 2:06 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

Is the script from the engine running on the same machine?  What build engine is it using?


~Spencer 


Carmelo Merino commented 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!

Be the first one to answer this question!


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.