Question
· 22 hr ago

Using CCR with Angular Applications

Hi,

What is the best way to develop Angular applications while working with CCR?

CCR peer reviewers require submitting Angular source files, so that a peer reviewer has something readable to review. However, CCR environments require that you deploy compiled Angular applications to them.

 

I'm thinking one approach is to compile locally and manually include both the source files and compiled code in an itemset, but that introduces potential errors where the CCR user forgets to include the correct compiled files with the source code (or vice versa). Another approach is to set up something elaborate using CCR event handlers to compile files as they pass peer review, but setting this up is more challenging and error prone.

Product version: IRIS 2024.1
Discussion (2)3
Log in or sign up to continue

We have used Continous Integration to help with this.  Our Jenkins build will pull the source, compile it, zip it, and attach back to the Jenkins job.  On success, a secondary job sends this zip to the server, unpacks it, and updates the symlink for the web folder to the new one.  This way we only move source files, and we are not having to worry about build processes on a production environment