QuestionQ82
VerifiedDevSecOps Pipeline-Build and Test StageAlex Hales works as a DevSecOps engineer at an IT company that builds software products and web applications for visualizing scientific data. He wants to trigger a Jenkins build job using a Git post-commit script/hook so that his team saves time by automating the commit process.
Before triggering the build job, Alex:
- Made changes to the code and saved them in the IDE under the Git repository.
- Added the changes to the master branch using the
git addcommand. - Ran the post-commit script to check the build status.
- Navigated to the Jenkins project and selected the "Trigger build remotely from Build triggers" radio button, so that the build is automatically triggered every time a change is committed to the project.
Alex then went back to the Bash terminal to trigger the build job.
Which of the following commands should Alex use in the Bash terminal to trigger the build job?
Community Discussion