Filtering the execution of your project on selected artifacts
To filter the execution of your project items to build only the artifact(s) you
want, you need to declare the filter in the Maven parameters entered when configuring
the build project which generates your project sources on the Continuous Integration
server.
Before you begin
- You have created the build pipeline on your Continuous Integration server, Jenkins in this example. See Creating the Jenkins pipeline.
- You know the path to the pom files of the artifacts you want to execute (Standard
Jobs, Big Data Jobs, Routes, etc.). These files are available in the Studio
workspace, in the workspace/<my_project>/poms
directory.Information noteTip:
- To filter on Standard Jobs, the path to be used will be jobs/process/jobName_version
- To filter on Big Data Jobs, the path to be used will be jobs/process_mr/jobName_version
- To filter on Routes, the path to be used will be jobs/routes/routeName_version
- To filter on Data Services, the path to be used will be jobs/services/serviceName_version