Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
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
- etc.
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.
Regards,
Hello,
Thanks for sharing your practice on forum.
Best regards
Sabrina
Wonderful. I think I can use this for my work. I will try to incorporate it. If I encountered some error I will tell here. Thanks for the share.