美文网首页我的技术博客
工作中使用jenkins部署系统(遇到问题-暂停)

工作中使用jenkins部署系统(遇到问题-暂停)

作者: 卜了了 | 来源:发表于2017-07-03 09:17 被阅读99次
    这个图可忽略----这个是在11服务器上,是centos7系统

    遇到的第一个问题:

    jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [192.168.1.13]. Message [java.net.NoRouteToHostException: 没有到主机的路由]]

    首先看是否关闭了防火墙,已关闭,未运行。

    先放着,往下进行。

    设置全局变量

    maven

    新建maven项目。

    源码配置处为svn,svn路径中有中文,用eclipse转化为

    选择项目,右键-Team-分支/标记-  将url拷贝到“Repository URL”,

    点击“Add”添加用户名密码

    最后如下图

    保存,在项目中点击构建

    相关文章

      网友评论

        本文标题:工作中使用jenkins部署系统(遇到问题-暂停)

        本文链接:https://www.haomeiwen.com/subject/wxpbcxtx.html