Skip to content

Commit

Permalink
Merge branch 'opatch-log-stdout' into 'main'
Browse files Browse the repository at this point in the history
print the OPatch log to stdout on patching failure to help user determine the cause

See merge request weblogic-cloud/weblogic-image-tool!462
  • Loading branch information
ddsharpe committed Dec 7, 2023
2 parents 172dc2a + 389bfa0 commit 1f30dd2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
# Apply all patches provided at the same time
RUN {{{oracle_home}}}/OPatch/opatch napply -silent -oh {{{oracle_home}}} -nonrollbackable -phBaseDir {{{tempDir}}}/patches \
&& test $? -eq 0 \
&& {{{oracle_home}}}/OPatch/opatch util cleanup -silent -oh {{{oracle_home}}}
&& {{{oracle_home}}}/OPatch/opatch util cleanup -silent -oh {{{oracle_home}}} \
|| (cat {{{oracle_home}}}/cfgtoollogs/opatch/opatch*.log && exit 1)
{{/strictPatchOrdering}}
{{#strictPatchOrdering}}
# Apply one patch at a time in the order they were specified
Expand Down

0 comments on commit 1f30dd2

Please sign in to comment.