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 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
modify the highlighted tags as per your local configuration
- sample configuration.xml file may look like -
and run the Jenkins job, it will deploy the application on WebLogic managed server defined in your config file.
No comments:
Post a Comment