美文网首页
无标题文章

无标题文章

作者: Java架构大仙 | 来源:发表于2021-03-15 14:53 被阅读0次


安装

官网上下载war包扔到tomcat的webapp下,启动tomcat即可

配置Gradle

push | merge自动构建

配置触发器

Gitlab添加WebHook

自动杀死上个进程并启动新的jar

杀死上个进程

#!/bin/shtomcat_id=`ps-ef|grep sso|grep-v"grep"|awk'{print $2}'`echo $tomcat_idforid in $tomcat_iddokill-9$id      echo"killed $id"done

启动新的进程

BUILD_ID=dontKillMenohup java-jar/root/.jenkins/workspace/邳州养老平台/default/pension-sso/build/libs/pension-sso-0.0.1-SNAPSHOT.jar

BUILD_ID=dontKillMenohup java-agentpath:/root/jrebel/lib/libjrebel64.so-Drebel.remoting_port=18303-Drebel.remoting_plugin=true-Xms256m-Xmx256m-Xdebug-Xrunjdwp:transport=dt_socket,address=18302,server=y,suspend=n-jar/root/.jenkins/workspace/邳州养老平台/default/pension-sso/build/libs/pension-sso-0.0.1-SNAPSHOT.jar>/opt/logs/sso/dev.log2>&1&

Idea配置可视化

Jenkins添加Token

/jenkins/user/用户/configure

复制生成的Token,就是访问密码

启用代理兼容

获取Crumb

配置idea

小伙伴们都学废了吗

相关文章

  • 无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标

    无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章 无标题文章无标题文章无标题文章无...

  • 无标题文章

    无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章

  • 无标题文章

    无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标...

  • 无标题文章

    无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标...

  • fasfsdfdf

    无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标...

  • 无标题文章

    无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标...

  • 无标题文章

    无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标...

  • 无标题文章

    无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标...

  • 无标题文章

    无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章无标题文章

  • 无标题文章

    无标题文章 无标题文章 无标题文章无标题文章 无标题文章 无标题文章

网友评论

      本文标题:无标题文章

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