当前位置:网站首页>Jenkins voucher management
Jenkins voucher management
2022-06-11 06:13:00 【Jingming scaler】
Catalog
1、 install Credentials Binding plug-in unit .
2、 combination git Pull up the code , Presentation voucher management .
2.1、jenkins Installation on git plug-in unit
2.2、CentOS7 Installation on Git Tools
3、 The user password type creates a voucher
3.1、 add to http The credentials
3.1.2、 Use Jenkins structure , Pull the code
3.2、 add to ssh The credentials
3.2.1、 Use root Users generate public and private keys
3.2.2、 Put the generated public key in gitlab On
Credentials can be used to store database passwords that require ciphertext protection 、Gitlab Password information 、Docker Private warehouse password, etc , In order to Jenkins It can interact with these third-party applications .
1、 install Credentials Binding plug-in unit .
To be in Jenkins Use the voucher management function , Need to install Credentials Binding plug-in unit .



After the installation , stay Manage Jenkins Can be found in : Different versions have different locations , Some versions are listed in the left-hand menu .

2、 combination git Pull up the code , Presentation voucher management .
In order to make Jenkins from git Can pull code on , Need to be in jenkins Installation on git plug-in unit 、linux Installation on server git .
2.1、jenkins Installation on git plug-in unit

2.2、CentOS7 Installation on Git Tools
yum install git -y install
git --version Check the version after installation
3、 The user password type creates a voucher



3.1、 add to http The credentials
Account No gitlab Account number registered on


3.1.1、 Using credentials

visit gitlab, Copy project address :
visit Jenkins, Enter the gitlab Address , Select add a good voucher , preservation :

3.1.2、 Use Jenkins structure , Pull the code

Pull complete :

3.2、 add to ssh The credentials
ssh Secret free login diagram :

3.2.1、 Use root Users generate public and private keys
ssh-keygen -t rsastay /root/.ssh/ The directory holds the public and private keys .
id_rsa: Private key file
id_rsa.pub: A public key file

3.2.2、 Put the generated public key in gitlab On
With root The account login -》 Click on the picture -》Settings-》SSH Keys
gitlab Must log in root account number , Other accounts cannot be set , The password you set is root123456 .
gitlab Add public key on :


Jenkins Add a private key to the :




Jenkins Upper item settings git Last project ssh Address :
Delete the original item , again build:

边栏推荐
- Quartz2d drawing technology
- This point of arrow function
- Deployment of Flink
- Completabilefuture asynchronous task choreography usage and explanation
- Shandong University machine learning experiment 7 pca+ SVM face recognition
- Analyze the capacity expansion mechanism of ArrayList
- FPGA设计——乒乓操作实现与modelsim仿真
- CCF 2013 12-4 interesting numbers
- What happened to the young man who loved to write code -- approaching the "Yao Guang young man" of Huawei cloud
- End of 2021 graphics of Shandong University
猜你喜欢

FPGA面试题目笔记(三)——跨时钟域中握手信号同步的实现、任意分频、进制转换、RAM存储器等、原码反码和补码

ERROR 1215 (HY000): Cannot add foreign key constraint

Pycharm usage experience
![Yoyov5's tricks | [trick8] image sampling strategy -- Sampling by the weight of each category of the dataset](/img/54/f6a3e0ef1f77901506642784e6d3b7.png)
Yoyov5's tricks | [trick8] image sampling strategy -- Sampling by the weight of each category of the dataset

"All in one" is a platform to solve all needs, and the era of operation and maintenance monitoring 3.0 has come

Matlab实现均值滤波与FPGA进行对比,并采用modelsim波形仿真

Topic collection of FIFO minimum depth calculation

Detailed steps for installing mysql-5.6.16 64 bit green version

Error reporting injection of SQL injection

Do you know the functions of getbit and setbit in redis?
随机推荐
Sqli-labs less-01
Sqoop installation tutorial
Markdown + typora + picgo experimental report template attached
ERROR 1215 (HY000): Cannot add foreign key constraint
[metadata]linkedin datahub
PgSQL reports an error: current transaction is aborted, commands ignored until end of transaction block
[usual practice] explore the insertion position
All the benefits of ci/cd, but greener
[daily exercises] 1 Sum of two numbers
Warmly celebrate that yeyanxiu, senior consultant of Longzhi, won the title of "atlassian Certified Expert"
ThymeleafEngine模板引擎
All questions and answers of database SQL practice niuke.com
JS -- reference type
LeetCodeT526
FPGA面试题目笔记(三)——跨时钟域中握手信号同步的实现、任意分频、进制转换、RAM存储器等、原码反码和补码
Continuous update of ansible learning
数组部分方法
URL in flask_ for
MATLAB realizes mean filtering and FPGA for comparison, and uses Modelsim waveform simulation
箭头函数的this指向