• 在centos中部署jenkins


    在centos中部署jenkins,需要的环境:安装jdk,Apache-tomcat

    这两步我前面文章里已写,再次忽略

    到官网下载最新的jenkins

    我这里的是  jenkins.war

    把该文件移到/usr/local/tomcat/webapps/下

    对其解压java -jar jenkins.war

    然后 重启tomcat服务

    /usr/local/tomcat/bin/startup.sh

    最后 就可以在网页上输入http://ip地址:8080/jenkins

    能成功看到jenkins界面 就说明安装成功

     jenkins原始密码

    Unlock Jenkins

    To ensure Jenkins is securely set up by the administrator, a password has been written to the log (not sure where to find it?) and this file on the server:

    /root/.jenkins/secrets/initialAdminPassword

     

    Please copy the password from either location and paste it below.

     

     解决 jenkins 下使用 HTML Publisher 插件后查看 html 报告显示不正常 以 jmeter 报告为例

    我的网页使用的是css和Js,所以显示不全。解决方法如下:
    在jenkins系统管理中输入以下脚本运行:
    System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")

  • 相关阅读:
    钟国晨160809323(作业5)
    12
    11
    第九次
    8作业
    第七次作业
    6
    林昊5
    计算机网络原理与应用笔记 3/29
    计算机网络原理与应用笔记 3/22
  • 原文地址:https://www.cnblogs.com/yecao8888/p/5262376.html
Copyright © 2020-2023  润新知