How to Add/Create new Global Credentials in Jenkins? | EP 09 | Jenkins Tutorial | Beginners
Автор: DevOps Vijay
Загружено: 2023-02-09
Просмотров: 9794
Описание:
This video will guide you how to add #credentials in jenkins which will be used by github or scm and slave Agent setup etc... and many more
Adding new global credentials
To add new global credentials to your Jenkins instance:
If required, ensure you are logged in to Jenkins (as a user with the Credentials -- Create permission).
From the Jenkins home page (i.e. the Dashboard of the Jenkins classic UI), click Manage Jenkins -- Manage Credentials.
Under Stores scoped to Jenkins on the right, click on Jenkins.
Under System, click the Global credentials (unrestricted) link to access this default domain.
Click Add Credentials on the left.
Note: If there are no credentials in this default domain, you could also click the add some credentials link (which is the same as clicking the Add Credentials link).
From the Kind field, choose the type of credentials to add.
From the Scope field, choose either:
Global - if the credential/s to be added is/are for a Pipeline project/item. Choosing this option applies the scope of the credential/s to the Pipeline project/item "object" and all its descendant objects.
System - if the credential/s to be added is/are for the Jenkins instance itself to interact with system administration functions, such as email authentication, agent connection, etc. Choosing this option applies the scope of the credential/s to a single object only.
Add the credentials themselves into the appropriate fields for your chosen credential type:
Secret text - copy the secret text and paste it into the Secret field.
Username and password - specify the credential’s Username and Password in their respective fields.
Secret file - click the Choose file button next to the File field to select the secret file to upload to Jenkins.
SSH Username with private key - specify the credentials Username, Private Key and optional Passphrase into their respective fields.
Note: Choosing Enter directly allows you to copy the private key’s text and paste it into the resulting Key text box.
Certificate - specify the Certificate and optional Password. Choosing Upload PKCS#12 certificate allows you to upload the certificate as a file via the resulting Upload certificate button.
Docker Host Certificate Authentication - copy and paste the appropriate details into the Client Key, Client Certificate and Server CA Certificate fields.
In the ID field, specify a meaningful credential ID value - for example, jenkins-user-for-xyz-artifact-repository. The inbuilt (default) credentials provider can use uppercase or lowercase letters for the credential ID, as well as any valid separator character, other credential providers may apply further restrictions on allowed characters or lengths. However, for the benefit of all users on your Jenkins instance, it is best to use a single and consistent convention for specifying credential IDs.
Note: This field is optional. If you do not specify its value, Jenkins assigns a globally unique ID (GUID) value for the credential ID. Bear in mind that once a credential ID is set, it can no longer be changed.
Specify an optional Description for the credential/s.
Click OK to save the credentials.
Jenkins #tutorial : • Jenkins Tutorial
Jenkins tutorial complete step by step guide : • Jenkins Tutorial
How to install jenkins in windows: • How to Install Jenkins on Windows ? | Jen...
How to create first sample job in jenkins: • How to Create First Freestyle Project/JOB ...
How to install plugin in jenkins: • Jenkins Plugins installation | EP 04 | Jen...
SSH-KEYS setup : • SSH Key Based Password Less Authentication...
Maven installation: • Maven Installation on Windows | EP 01 | Ma...
jenkins ci cd pipeline
how jenkins works
jenkins tutorial for beginners
ci cd for beginners
ci cd tutorial for beginners
jenkins agent
jenkins ci cd
#jenkins #tutorial #jenkinstutorial #jenkinspipeline #devops #devopsvijay #devopsproject #credentials #cicd #slave
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: