Performance problem when trying to run RTC CI builds
I have setup a RTC continuous integration build, but performance is bad. It takes more than 10 minutes for the buidl to determine if it should build or not. I am using the Jazz SCM CLI compare function to determine if there are any changes to the workspace. How can I make the CI builds run quicker?
Accepted answer
The SCM compare function is a very expensive query. It will check every element in the workspace against every element in the stream looking for changes, and for large workspaces/streams that comparison can take a very long time. Rather than compare, consider using the accept command with the build sandbox workspace, if anything is accepted into the workspace then run the build. The accept is a much cheaper command and will accomplish the same task of running the build only when changes occur to the build workspace.