build properties:
wl.command.start=/home/teamcity/script/startWL.sh
build.xml
<exec executable="${wl.command.start}"/>
startWL.sh
#!/bin/bash
sudo -u weblogic /opt/weblogic/oracle/domains/mydomain/bin/startWebLogicRemote.sh
startWebLogicR.sh
echo ..................... STARTING WL
cd /opt/weblogic/oracle/domains/mydomain/bin
nohup ./startWebLogic.sh > /dev/null 2>&1 &
cd -
wl.command.start=/home/teamcity/script/startWL.sh
build.xml
<exec executable="${wl.command.start}"/>
startWL.sh
#!/bin/bash
sudo -u weblogic /opt/weblogic/oracle/domains/mydomain/bin/startWebLogicRemote.sh
startWebLogicR.sh
echo ..................... STARTING WL
cd /opt/weblogic/oracle/domains/mydomain/bin
nohup ./startWebLogic.sh > /dev/null 2>&1 &
cd -
Comments
Post a Comment