简体   繁体   English

Gitlab与Jenkins集成

[英]Gitlab integration with Jenkins

I have a paid GitLab account where i store my software-project. 我有一个付费的GitLab帐户,我存储我的软件项目。 I have installed Jenkins on my home PC. 我在家用电脑上安装了Jenkins。 I have a Jenkins-project configured to build my software-project. 我有一个Jenkins项目,用于构建我的软件项目。

I don't know how to configure Jenkin's and my GitLab account so that Jenkins can get the latest source of my software-project from my GitLab account. 我不知道如何配置Jenkin和我的GitLab帐户,以便Jenkins可以从我的GitLab帐户获取我的软件项目的最新来源。

Any help will be appreciated. 任何帮助将不胜感激。

Note: I know what to do once the source code is downloaded from GitLab 注意:我知道从GitLab下载源代码后该怎么做

Regards Juby 关心朱比

You can use the Gitlab Jenkins plugin to configure Gitlab in your Jenkins Gitlab Jenkins plugin 您可以使用Gitlab Jenkins插件在Jenkins Gitlab Jenkins插件中配置Gitlab

otherwise you can create a jenkins Global Credential user name : gitlab-ci-token password : the token of your account you find it in the gitlab : 否则你可以创建一个jenkins Global Credential用户名:gitlab-ci-token password:你在gitlab中找到它的帐户的标记:

Profile Settings > Account > private token 配置文件设置>帐户>私人令牌

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM