The CloudBees CD WebLogic integration
Run gradlew to compile the plugin
./gradlew
- Install git
sudo apt-get install git
- Get this plugin
git clone https://github.com/electric-cloud/EC-WebLogic.git
- Run gradlew to compile the plugin
./gradlew jar (in EC-Weblogic directory)
- Upload the plugin to EC server
- Create a configuration for the EC-Weblogic plugin.
- Installation of WebLogic Server:
- Create a file called ecplugin.properties inside EC-Weblogic directory with the below mentioned contents.
COMMANDER_SERVER=<COMMANDER_SERVER>(Commander server IP)
COMMANDER_USER=<COMMANDER_USER>
COMMANDER_PASSWORD=<COMMANDER_PASSWORD>
WEBLOGIC_AGENT_IP=<WEBLOGIC_AGENT_IP>(IP of the Machine where Weblogic server is installed)
WEBLOGIC_USERNAME=<NEW_WEBLOGIC_USERNAME>(Username of the new Weblogic user)
WEBLOGIC_PASSWORD=<NEW_WEBLOGIC_PASSWORD>(Password of the new Weblogic user)
- Configurations.json is a configurable file.
- Refer to the sample Configurations.json file,
/src/test/java/ecplugins/weblogic/Configurations.json
. It has to be updated with the user specific inputs. - Inputs should be valid and specific to the environment on which the tests are run.
- Unit tests are ordered and will execute in a sequential manner as programmed. Same resource name should be used in the respective delete and create procedures to make the Unit Tests residueless.
- Example:
"CreateCluster": [{
"wlst_abs_path": "C:/Oracle/Middleware/Oracle_Home/Oracle_Common/common/bin/wlst.cmd",
"configname": "newConfig",
"cluster_name" : "newCluster",
"multicast_address": "239.192.0.0",
"multicast_port": "7040"
}],
"DeleteCluster": [{
"wlst_abs_path": "C:/Oracle/Middleware/Oracle_Home/Oracle_Common/common/bin/wlst.cmd",
"configname": "newConfig",
"cluster_name" : "newCluster"
}]
./gradlew test