安装jenkins的方法很简单,可百度
出现的问题:
1、默认端口号是8080,如果地址起冲突的话,改端口号。用以下方式启动:
启动jenkins:
nohup java -jar jenkins.war --ajp13Port=-1 --httpPort=8082 &
2、登陆的时候可能会经常报http 404err,这个我也不知道,反正没改什么配置,多用几个不同的浏览器登陆下试试,多刷新,多重新登陆。
3、配置weblogic环境的时候,要自己写配置文件configuration.xml
创建jenkins+weblogic+svn+ant
下边是我的配置文件的格式:

<?xmlversion="1.0" encoding="UTF-8"?>

<config xmlns="http://org.jenkinsci.plugins/WeblogicDeploymentPlugin"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://org.jenkinsci.plugins/WeblogicDeploymentPluginplugin-configuration.xsd">

       <weblogic-targets>

              <!—该节点根据需求可配置多个-->

              <weblogic-target>

                     <!--随便起个名字(我直接用的domain当名字)-->

                     <name>rayootechDomain</name>

                     <!-- domain的ip -->

                     <host>172.20.63.194</host>

                     <!-- domain的端口 -->

                     <port>7004</port>

                     <!-- domain的登录名 -->

                     <login>weblogic</login>

                     <!-- domain的密码 -->

                     <password>[email protected]</password>

              </weblogic-target>

       </weblogic-targets>

</config>

4、插件安装完之后要重启。
目前的问题就是使用weblogic的选项一直出不来,继续研究~~

相关文章:

  • 2021-10-21
  • 2021-07-22
  • 2021-12-27
  • 2021-11-30
  • 2021-06-06
  • 2022-01-14
  • 2021-06-03
  • 2021-05-08
猜你喜欢
  • 2021-12-03
  • 2021-07-05
  • 2021-10-22
  • 2021-10-25
  • 2022-12-23
  • 2021-04-02
  • 2021-06-16
相关资源
相似解决方案