nexus

作者: lockdreamer | 来源:发表于2018-12-12 14:59 被阅读4次

    jenkins主机需要修改的配置:

    /home/jenkins/apache-maven-3.3.3/conf/settings.xml

    将图片中框起来的url改成新的私服地址就行了

    settings.xml

    具体操作主机及目录:

    192.168.121.105

    192.168.101.12

    10.13.7.2

    sed -i 's/211.138.20.170/120.194.46.246:25000/g' /home/jenkins/apache-maven-3.3.3/conf/settings.xml

    172.17.15.3

    sed -i 's/211.138.20.170/120.194.46.246:25000/g' /home/jenkins/maven/apache-maven-3.3.3/conf/settings.xml

    172.17.20.98

    sed -i 's/211.138.20.170/120.194.46.246:25000/g' /home/jenkins/tools/apache-maven-3.3.3/conf/settings.xml

    192.168.136.19

    172.19.3.123

    /home/jenkins/nginx/conf/nginx.conf

    相关文章

      网友评论

        本文标题:nexus

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