选择 Freestyle project 构建 执行 Shell pwd git checkout develop git pull cd .. tar -zcf prod_mall.tar.gz ./prod_mall --exclude *.tar.gz mv prod_mall.tar.gz
Jenkins内置工具安装Maven # cd /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven-3.6.2/conf/ # vim settings.xml 自定义Maven安装路径 # cd /usr/loca
插件 插件: Publish Over SSH 插件: Maven Integration 创建任务 类型 选择构建一个Maven项目 凭据 添加凭据 -> Jenkins Domain: 全局凭据 类型: Username with password Pre Steps (可选) 选择执行
vim /data/www/nexus/bin/nexus.vmoptions -Xms512m -Xmx512m -XX:MaxDirectMemorySize=512m -XX:+UnlockDiagnosticVMOptions -XX:+LogVMOutput -XX:LogFile=../
Nexus简介 Nexus仓库管理器,分为两个版本,Nexus Repository Manager OSS 和 Nexus Repository Manager Pro。前者可以免费使用,相比后者,功能缺少一些,但是不影响我们搭建maven私服。 所以选择OSS版本,下载地址:https://ww
安装依赖 # yum install bzip2 # yum install re2 # yum install re2-devel 安装Gitaly # sudo -u git -H bundle exec rake "gitlab:gitaly:install[/data/git/g
参照Gitlab官方升级操作文档:https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/update 主要的思路和步骤如下: (1). 在新的服务器上安装Gitlab指定版本(参照Gitlab的安装文档:https://gitlab.com
问题描述 使用拥有者账号打开Project 404 The page could not be found or you don't have permission to view it. 使用root账号打开Project Started GET "/Android/Cont
# sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production Failed to connect to Gitaly... 参考:https://gitlab.com/gitlab-org/gitlab-ce/issues/4
参考:https://gitlab.com/gitlab-org/gitlab-ce/issues/42045#note_73010232 解决方法:升级 gems haml to (5.0.4) hamlit to (2.8.8) temple to (>= 0.8.0) 详细错误日志
Gitlab SMTP发送邮件报错: Net::OpenTimeout: execution expired 查看Gitlab发送邮件日志: # tail -f log/sidekiq.log 原因:阿里云服务器默认是屏蔽25端口,采用SSL 465端口发送即可 SMTP远程服务器端口测试: #
AppBlog Android Debug cd app chmod +x ../gradlew ../gradlew clean assembleDevelopTestDebug assembleProductTestDebug chown www -R /data/www/apks/AppBlo
设置凭据 预添加凭据,如用于Github、Gitlab等登录的账号密码 路径:Jenkins -> 凭据 -> 系统 -> 全局凭据 (unrestricted) -> 添加凭据 类型:Username with password 范围:全局 内存不足导致编译失败 解决
问题描述 Jenkins安装插件那个页面,提示:该Jenkins实例似乎已离线 解决方法 打开一个新的Tab,输入网址:http://localhost:8080/pluginManager/advanced 配置代理 配置HTTP Proxy Configuration 升级站点 页面最底下有个
关闭Jenkins 只需要在访问Jenkins服务器的网址url地址后加上exit。例如Jenkins的地址:http://localhost:8080/ ,那么只需要在浏览器地址栏上敲下:http://localhost:8080/exit 就能关闭Jenkins服务。 重启Jenkies 重启