Step 1:I copied the MIDDLEWARE_HOME\wlserver_10.3\server\bin\setWLSEnv.cmd to C:\Hudson_Slave_Node\workspace, and renamed it to deployWLS.cmd

Step 2I created a python script file called deployDummy.py and added it to the same directory.

This is the content of the python fileconnect('weblogic','weblogic1','t3://localhost:7101')edit()startEdit()deploy('dummy_application1','C:\Hudson_Slave_Node\workspace\trunk\dummy.ear',targets='DefaultServer')save()activate()startApplication(' dummy_application1')

Step 3:I changed the bottom of deployWLS.cmd to look like:…@echo Your environment has been set.

You have to adjust your application properties in a way that they‘ll not include the weblogic-jdbc.xml. It’s not possible to automatically deploy your ear file with this option. So uncheck this option and add a DataSource with the correct JNDI name via the WLS console.