This refers to the ability to have multiple jobs defined within a CircleCI 2.0 build plan. Referencing the documentation:
Specifically this paragraph:
If you are not using workflows, the jobs map must contain a job named build. This build job is the default entry-point for a run that is triggered by a push to your VCS provider. It is possible to then specify additional jobs and run them using the CircleCI API.
Let’s say I have these jobs defined within the yaml file, and I’m not using workflows:
I have a couple of questions:
- Is the “build” job the only one that runs automatically when the build is triggered?
- How do I trigger the “deploy_only” job from the API? I’ve looked through the API documentation and I’m not seeing that.