Tips of Jenkins

Tips of Jenkins

Reference:
https://www.cnblogs.com/shuoer/p/9471839.html
https://www.jianshu.com/p/845f267aec52

  1. No response while execute:
    wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -

Resolve:
Remove “-q”, use the following command to display status:
wget -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -

If the following information appears, change WiFi connecting and try again while above error appear. (Use “HUAWEI-****”, without “_5G”).

xzchen@xzchen-Inspiron-7472:~$ wget -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - --2019-01-11 15:53:59-- https://pkg.jenkins.io/debian-stable/jenkins.io.key 正在解析主机 pkg.jenkins.io (pkg.jenkins.io)… 52.202.51.185 正在连接 pkg.jenkins.io (pkg.jenkins.io)|52.202.51.185|:443… 失败:连接超时。 重试中。

  1. sudo apt-get update error:

    xzchen@xzchen-Inspiron-7472:~$ sudo apt-get update
    命中:1 http://cn.archive.ubuntu.com/ubuntu bionic InRelease
    获取:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
    获取:3 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
    忽略:4 http://pkg.jenkins.io/debian-stable binary/ InRelease
    命中:5 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
    获取:6 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
    获取:7 http://pkg.jenkins.io/debian-stable binary/ Release [2,042 B]
    获取:8 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease [18.1 kB]
    获取:9 http://pkg.jenkins.io/debian-stable binary/ Release.gpg [181 B]
    忽略:9 http://pkg.jenkins.io/debian-stable binary/ Release.gpg
    正在读取软件包列表… 完成
    W: GPG 错误:http://pkg.jenkins.io/debian-stable binary/ Release: 由于没有公钥,无法验证下列签名: NO_PUBKEY 9B7D32F2D50582E6
    E: 仓库 “http://pkg.jenkins.io/debian-stable binary/ Release” 没有数字签名。
    N: 无法安全地用该源进行更新,所以默认禁用该源。
    N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

Resolve:
Run the following command, then run “sudo apt-get update” again.
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 9B7D32F2D50582E6

  1. Check default port 8080 after install Jenkins:
    Open “http://localhost:8080” in browser.

  2. Start Jenkins service:

    sudo /var/snap/Jenkins start

  3. Firewall:
    run “sudo ufw enable” if firewall is disable.

Reference: http://wiki.ubuntu.org.cn/UFW防火墙简单设置

  1. Get password while unlocking Jenkins:
    Replace the password path with the path on your own page.

  2. Jenkins instance appears to be offline after input password:
    Open http://localhost:8080/pluginManager/advanced . Click “升级站点” in the bottom. Use “http” instead of “https” (http://updates.jenkins.io/update-center.json).
    Then open http://localhost:8080/reload in browser.
    Then open http://localhost:8080/restart in browser to restart jenkins.
    Finally open http://localhost:8080/ in browser again.

  3. Restart Jenkins after installing plugins.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
提供的源码资源涵盖了安卓应用、小程序、Python应用和Java应用等多个领域,每个领域都包含了丰富的实例和项目。这些源码都是基于各自平台的最新技术和标准编写,确保了在对应环境下能够无缝运行。同时,源码中配备了详细的注释和文档,帮助用户快速理解代码结构和实现逻辑。 适用人群: 这些源码资源特别适合大学生群体。无论你是计算机相关专业的学生,还是对其他领域编程感兴趣的学生,这些资源都能为你提供宝贵的学习和实践机会。通过学习和运行这些源码,你可以掌握各平台开发的基础知识,提升编程能力和项目实战经验。 使用场景及目标: 在学习阶段,你可以利用这些源码资源进行课程实践、课外项目或毕业设计。通过分析和运行源码,你将深入了解各平台开发的技术细节和最佳实践,逐步培养起自己的项目开发和问题解决能力。此外,在求职或创业过程中,具备跨平台开发能力的大学生将更具竞争力。 其他说明: 为了确保源码资源的可运行性和易用性,特别注意了以下几点:首先,每份源码都提供了详细的运行环境和依赖说明,确保用户能够轻松搭建起开发环境;其次,源码中的注释和文档都非常完善,方便用户快速上手和理解代码;最后,我会定期更新这些源码资源,以适应各平台技术的最新发展和市场需求。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值