Skip to content

Commit

Permalink
Merge branch 'staging' into users/jack/hide-redundant-messages
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhorsman authored Jan 29, 2021
2 parents d4fbc4d + 09506fe commit 66b9fa1
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ node('zowe-jenkins-agent-dind-wdc') {
def manifest
def zowePaxUploaded

pipeline.admins.add("jackjia", "stevenh", "joewinchester", "markackert")
pipeline.admins.add("jackjia", "tomzhang", "joewinchester", "markackert")

// we have extra parameters for integration test
pipeline.addBuildParameters(
Expand Down
2 changes: 1 addition & 1 deletion bin/zowe-support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ shift $(($OPTIND-1))
. ${ROOT_DIR}/bin/internal/zowe-set-env.sh

# Get the log directory either from -l, or from default locations setting INSTALL_LOG_DIR
. ${ROOT_DIR}/bin/utils/setup-log-dir.sh
. ${ROOT_DIR}/bin/utils/utils.sh
get_install_log_directory "${INSTALL_LOG_DIR}"

RUNTIME_LOG_DIR=${INSTANCE_DIR}/logs
Expand Down
6 changes: 4 additions & 2 deletions smpe/bld/ptf.readme.htm
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ <H3><A name="acpt">Perform SMP/E ACCEPT for the prerequisites</A></H3>
//SMPCNTL DD *
SET BOUNDARY(<STRONG>#dzone</STRONG>) .
ACCEPT SELECT(
<!--cut11-->
#pre
<!--cut12-->
) REDO COMPRESS(ALL) BYPASS(HOLDSYS,HOLDERROR).
//*
</PRE>
Expand All @@ -191,9 +193,9 @@ <H3><A name="smpe">Perform SMP/E RECEIVE and APPLY for the #type</A></H3>
//RECEIVE EXEC PGM=GIMSMP,REGION=0M
//SMPCSI DD DISP=OLD,DSN=&CSI
//SMPPTFIN DD DISP=SHR,DSN=&HLQ..#name1
<!--cut11-->
<!--cut13-->
#dsnreq
<!--cut12-->
<!--cut14-->
//SMPCNTL DD *
SET BOUNDARY(GLOBAL) .
RECEIVE SELECT(
Expand Down
27 changes: 22 additions & 5 deletions smpe/bld/smpe-service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -775,13 +775,13 @@ done # for f
test -f $ptf/$readme.PRE || _cmd --save $ptf/$readme.PRE echo none
test -f $ptf/$readme.SUP || _cmd --save $ptf/$readme.SUP echo none

# add list of PRE sysmods (replace , with blank so broswer can reformat)
# add list of PRE sysmods (replace , with blank so browser can reformat)
_cmd --save $log/$html sed "s/,/ /g" $ptf/$readme.PRE

# append next csplit block (xx01 holds PRE placeholder)
_cmd --save $log/$html cat $ptf/xx02

# add list of SUP sysmods (replace , with blank so broswer can reformat)
# add list of SUP sysmods (replace , with blank so browser can reformat)
_cmd --save $log/$html sed "s/,/ /g" $ptf/$readme.SUP

# append next csplit block (xx03 holds SUP placeholder)
Expand Down Expand Up @@ -855,6 +855,7 @@ then
SED="" # substitute characters with special meaning in HTML
SED="$SED;s~<~\&lt;~g" # we assume there is no "~" in the hold data
SED="$SED;s~>~\&gt;~g"
SED="$SED;s~&~\&amp;~g"
_cmd --save $log/$html sed "$SED" $ptf/tmp
else
_cmd --save $log/$html echo none
Expand All @@ -863,6 +864,22 @@ fi #
# append next csplit block (xx09 holds HOLD placeholder)
_cmd --save $log/$html cat $ptf/xx10

# add list of previous PTFs or #pre placeholder to sample ACCEPT job
if test -f $service/$prevPtf
then
# replace placeholder with list of previous PTFs
_cmd cp $service/$prevPtf $ptf/xx11
# create formatted $ptf/$readme.ACPT (ignore updates to $ptf/xx11)
_formatPreSupReq ACPT $ptf/xx11
else # no previous PTFs, stage the original placeholder
_cmd cp $ptf/xx11 $ptf/$readme.ACPT
fi #
# add list or placeholder (replace , with blank so browser can reformat)
_cmd --save $log/$html sed "s/,/ /g" $ptf/$readme.ACPT

# append next csplit block (xx11 holds PRE placeholder)
_cmd --save $log/$html cat $ptf/xx12

# add a requisite data set names to RECEIVE SMPPTFIN (sysmod 2 and up)
test "$debug" && echo "while read -r trk name"
while read -r trk name
Expand All @@ -873,8 +890,8 @@ do
_cmd --save $log/$html echo "// DD DISP=SHR,DSN=&HLQ..$name"
done < $ptf/$tracksCoreq # while read # all but first sysmod

# append next csplit block (xx11 holds DSN placeholder)
_cmd --save $log/$html cat $ptf/xx12
# append next csplit block (xx13 holds DSN placeholder)
_cmd --save $log/$html cat $ptf/xx14

# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Expand Down Expand Up @@ -903,7 +920,7 @@ _sed $log/$html

# no longer needed
_cmd rm -f $ptf/$tracksCoreq $ptf/$readme $ptf/xx* $ptf/tmp
_cmd rm -f $ptf/$readme.PRE $ptf/$readme.SUP
_cmd rm -f $ptf/$readme.PRE $ptf/$readme.SUP $ptf/$readme.ACPT

test "$debug" && echo "< _readme"
} # _readme
Expand Down

0 comments on commit 66b9fa1

Please sign in to comment.