0 votes
in Jenkins by
What are the Scopes of Jenkins Credentials?

1 Answer

0 votes
by

Jenkins credentials can be of one of the two scopes – Global & System

  1. Global – the credential will be usable across all the jobs configured in the Jenkins instance (i.e. for all jobs). This is more suited for user Jobs (i.e. for the freestyle, pipeline, or other jobs) to authenticate itself with target services/infrastructures to accomplish the purpose of the job)
  2. System – This is a special scope that will allow the Jenkins itself (i.e. the core Jenkins functionalities & some installed plugins) to authenticate itself to external services/infrastructures to perform some defined tasks. E.g. sending emails, etc.
...