Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
sarora1
Creator
Creator

CICD Question - How to build a job that has another job from a referenced project?

Main job - abc

Reference Job - abc_ref

Job design 

   abc = tjava -> abc_ref 

 

mvn command to build the job

 

mvn -f MAIN_PROJECT/poms/pom.xml deploy -pl jobs/process/abc_0.1 -am

 Getting below error

[ERROR] Child module /var/lib/jenkins/workspace/Test_Build/MAIN_PROJECT/poms/../../REF_PROJECT/poms of /var/lib/jenkins/workspace/Test_Build/MAIN_PROJECT/poms/pom.xml does not exist

It is complaining that REF_PROJECT/poms doesnt exist within the MAIN_PROJECT. How to include reference project in the build process? Is there a maven option to include it?

Labels (2)
1 Reply
manodwhb
Champion II
Champion II

@sarora , check the below solution work for you.

 

go to File>>edit project settings>>Build>>Maven>>click on Force full re-synchronize poms>>ok>> and push the code and build and see.