One Star

Talend Job Analysis

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,

1 REPLY
Moderator

Re: Talend Job Analysis

Hello,

Thanks for sharing your practice on forum.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.