I have a job which uses datamapper. When I am exporting the job from command line below is the command I am using but the Structures are not exporting into the zip file created. I have attached the screen shot of the zip file. I could see Structures in BitBucket for the tag I am building the job, but it's not just exporting when using the below command.
buildJob <JOB_NAME> -dd <destination_dir> -il –maven
Are you able to run your job successfully in studio?
Job generation from TAC uses the CommandLine started in server mode, which has deprecated since Talend version 7.01.
Talend recommends using one of the three options below to build/publish Jobs, then create the tasks in TAC using the .zip file generated from the build/publish process:
From Jenkins using the Talend CI plug-in, follow the instructions on the (Option1: Scheduling automatic test executions in your build environment using Talend CI Builder) page.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema
Pick up some tips and tricks with Context Variables