16 February 2018

Configuring weblogic deployer plugin in Jenkins

Configure the WebLogic deployer plugin to Deploy an war/ear  on a weblogic managed server

- Install the plugin (from manage Jenkins > manage plugins > available > download & install)- restart the Jenkins for changes to take reflect
- go to manage Jenkins
- go to configure systems
- scroll down to WebLogic deployment plugins
- give details as below:                                  
        - additional path: /software/bea/jenkins/wlfullclient.jar (path to you wlfullclient.jar file, weblogic.jar is deprecated now and Oracle recommends using wlfullclient.jar from 10.3 onwards, this jar can be created from $WL_HOME/wl_server10.3/servers/lib/java -jar wljarbuilder.jar for more check Oracle Doc on this.
        - configuration file: /software/bea/jenkins/configuration.xml (path to your configuation.xml file)
        - apply/save
- sample configuration.xml file may look like -


modify the highlighted tags as per your local configuration

and run the Jenkins job, it will deploy the application on WebLogic managed server defined in your config file.

No comments:

Post a Comment