File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
integration-tests/src/test/resources Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,12 @@ function create_image_pull_secret_jenkins {
9494 fi
9595}
9696
97+ function get_wlthint3client_from_image {
98+ # Get wlthint3client.jar from image
99+ id=$( docker create $IMAGE_NAME_WEBLOGIC :$IMAGE_TAG_WEBLOGIC )
100+ docker cp $id :/u01/oracle/wlserver/server/lib/wlthint3client.jar $SCRIPTPATH
101+ docker rm -v $id
102+ }
97103export SCRIPTPATH=" $( cd " $( dirname " $0 " ) " > /dev/null 2>&1 ; pwd -P ) "
98104export PROJECT_ROOT=" $SCRIPTPATH /../../../.."
99105export RESULT_ROOT=${RESULT_ROOT:-/ scratch/ $USER / wl_k8s_test_results}
@@ -192,10 +198,8 @@ elif [ "$JENKINS" = "true" ]; then
192198
193199 /usr/local/packages/aime/ias/run_as_root " mkdir -p $PV_ROOT /acceptance_test_pv_archive"
194200 /usr/local/packages/aime/ias/run_as_root " chmod 777 $PV_ROOT /acceptance_test_pv_archive"
195- # Get wlthint3client.jar from image
196- id=$( docker create $IMAGE_NAME_WEBLOGIC :$IMAGE_TAG_WEBLOGIC )
197- docker cp $id :/u01/oracle/wlserver/server/lib/wlthint3client.jar $SCRIPTPATH
198- docker rm -v $id
201+
202+ get_wlthint3client_from_image
199203else
200204 pull_tag_images
201205
206210
207211 export JAR_VERSION=" ` grep -m1 " <version>" pom.xml | cut -f2 -d" >" | cut -f1 -d " <" ` "
208212 docker build --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy --build-arg no_proxy=$no_proxy -t " ${IMAGE_NAME_OPERATOR} :${IMAGE_TAG_OPERATOR} " --build-arg VERSION=$JAR_VERSION --no-cache=true .
209- # Get wlthint3client.jar from image
210- id=$( docker create $IMAGE_NAME_WEBLOGIC :$IMAGE_TAG_WEBLOGIC )
211- docker cp $id :/u01/oracle/wlserver/server/lib/wlthint3client.jar $SCRIPTPATH
212- docker rm -v $id
213+
214+ get_wlthint3client_from_image
213215fi
You can’t perform that action at this time.
0 commit comments