You are using a base Jenkins master in production with the recommended set of plugins.
The administrators have configured a Global Pipeline Library named "common-libs", stored in a git repository, with the configuration shown in the exhibit above.
You have a Pipeline job at the root of the Jenkins dashboard, whose script starts with the annotation @LibraryCcommon-libs') _
You want to test this Pipeline job with a beta version of the Global Pipeline Library "common-libs", stored on the branch named ‘’edge’’ the git repository.
Which of the following statements are TRUE? Choose 2 answers
- Replace the @ Library ('common- lib. ' _ annotation with QLibrary('common-libs@edge') and run the job again.
- Duplicate the Pipeline job in a folder with a local Global Pipeline Library referencing the git repository on the "edge" branch, and change libs') _ annotation to ^Library ('common-libs: edge1) Replace the ommon-libs1) _ annotation with ^Library (' common -libs: edge') _ and run the job again.
- Duplicate the pipeline job in a folder with a local Global Pipeline Library referencing the git repository on the "edge" branch, and change its annotation to ^Library (' common - libs@edge' )
- A Jenkins test instance with the same configuration as the production Jenkins master can be used to achieve this, giving yourself administrator rights to configure the "edge" branch on the Global Configuration.
- You cannot do this on this Jenkins instance.
Reveal Solution Next Question