I've created a Talend job that checks a list of Talend Job in a workspace. This job checks that:
- a global variable is used
- a context variable is used
- a tDie refer to the message of the component that generates the onComponentError
You just have add this job in the workspace, create a directory CODE_ANALYSIS somewhere, refer to this directory in the java code of the job, create a context file in this directory to indicate where is the workspace and create a file that contains the list of jobs to analyze.
There are around 10 rules implemented. The job is really simple with only 10 components but it is really easy to find some mistakes with it and you can add your own rules in java.
The result is a csv file with all errors (job, component).
If you want to improve the job, no problem.
Thanks for sharing your practice on forum.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Pick up some tips and tricks with Context Variables
Learn how media organizations have achieved success with Data Integration
Test drive Talend's enterprise products.