Skip to content

Commit

Permalink
fix go install (#3)
Browse files Browse the repository at this point in the history
* fix go install

* fix install docs

---------

Co-authored-by: raojinlin <1239015423@qq.com>
  • Loading branch information
raojinlin and raojinlin committed Sep 18, 2023
1 parent c14ee24 commit 0cf1550
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
# GitLab Jenkins Runner

GitLab Jenkins Runner 是一个用于在 GitLab CI/CD 流水线中触发 Jenkins 作业的命令行工具。它允许你轻松地将 GitLab 与 Jenkins 集成,以实现自动化构建和部署工作流程。
GitLab Jenkins Runner 是一个用于在 GitLab CI/CD 流水线中触发 Jenkins 作业的命令行工具。它允许你轻松地将 GitLab 与 Jenkins 集成,实时输出Jenkins的构建日志,以实现自动化构建和部署工作流程。

## 安装

在开始之前,请确保你的系统上已安装了 Go 编程语言
在开始之前,请确保你的系统上已安装了Go(1.19及以上)

使用以下命令获取和构建 `gitlab-jenkins-runner` 工具
使用以下命令获取和构建 `gitlab-jenkins-runner`命令

```bash
go install github.com/yourusername/gitlab-jenkins-runner
$ go install github.com/raojinlin/gitlab-jenkins-runner@latest
```

或者在[Releases](https://github.com/raojinlin/gitlab-jenkins-runner/releases)页面下载已经编译好的可执行文件。


## 使用

使用以下命令来触发 Jenkins 作业:
Expand Down Expand Up @@ -73,10 +76,6 @@ PARAM_1=PARAM_VALUE_1

如:`env=PROD`

## 许可证

本项目基于 MIT 许可证。有关详细信息,请参阅 [LICENSE.md](LICENSE.md)

## 支持

如果你需要帮助或有其他相关问题,请联系我们。
Expand Down

0 comments on commit 0cf1550

Please sign in to comment.