51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 2817|回复: 5
打印 上一主题 下一主题

Jenkins 登录的问题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2015-7-8 13:31:07 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Jenkins登录就报错,无法登录,有人遇到吗

我查了一些说要看Jenkins server console output,关机是现在我不知道JENKINS_HOME的目录在哪,有人知道怎查这个home在哪个目录吗(Ubuntu系统)?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

  • TA的每日心情
    奋斗
    2024-5-6 17:37
  • 签到天数: 1137 天

    连续签到: 1 天

    [LV.10]测试总司令

    2#
    发表于 2015-7-9 09:35:24 | 只看该作者
    直接find 目录或者用grep定位;
    一般还是你配置问题啦~没事的
    网上完整Linux环境下部署方案都有 ,参考下先
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2020-11-16 16:29
  • 签到天数: 68 天

    连续签到: 1 天

    [LV.6]测试旅长

    3#
    发表于 2015-7-9 10:30:18 | 只看该作者
    一般情况下,默认地址在C:\Documents and Settings\AAA\.jenkins
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    慵懒
    昨天 07:22
  • 签到天数: 2682 天

    连续签到: 2 天

    [LV.Master]测试大本营

    4#
    发表于 2015-7-9 11:46:22 | 只看该作者
    你报错的原因是指你配置错误,提示让你查看服务端控制台输出,即查看日志
    JENKINS_HOME的目录应该是指你安装的目录地址
    启动jenkins:start_jenkins.sh
    #!/bin/bash
    JENKINS_ROOT=/home/AAA/jenkins--------指你的安装目录
    export JENKINS_HOME=$JENKINS_ROOT/jenkins_home-----这个应该是你要找的,你看看是不是
    java -jar $JENKINS_ROOT/jenkins.war --httpPort=8000
    chmod a+x start_jenkins.sh
    nohup ./start_jenkins.sh > jenkins.log 2>&1 &

    评分

    参与人数 1测试积点 +10 收起 理由
    lsekfe + 10 恭喜你获得测试积点10

    查看全部评分

    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    慵懒
    2015-7-31 14:22
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    5#
    发表于 2015-7-30 16:25:33 | 只看该作者
    本帖最后由 bingtang5 于 2015-7-30 16:33 编辑

    看图
    登陆问题,你应该是设置登陆权限了,去掉对勾

    把自己锁住了的话
    看下边
    Now it may happen that, during this process, you may end up locking yourself out of Jenkins. This
    can happen if, for example, you save the matrix configuration without having correctly set up your
    administrator. If this happens, do not panic—there is an easy fix, as long as you have access to Jenkins’s
    home directory. Simply open up the config.xml file at the root of the Jenkins home directory. This
    will contain something like this:
    <hudson>
    <version>1.391</version>
    <numExecutors>2</numExecutors>
    <mode>NORMAL</mode>
    <useSecurity>true</useSecurity>
    ...
    The thing to look for is the <useSecurity> element. To restore your access to Jenkins, change this
    value to false, and restart your server. You will now be able to access Jenkins again, and set up your
    security configuration correctly.

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

    x
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-5-29 02:26 , Processed in 0.069590 second(s), 24 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表