Skip to content

Commit

Permalink
Trying to show the output aswell as storing it in a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ebarriosjr committed Sep 4, 2023
1 parent 48e70bd commit b7246ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ then
fi

echo -e "NOMAD_ADDR:" $NOMAD_ADDR "\nNOMAD_PORT:" $NOMAD_PORT "\nNOMAD_JOB:" $NOMAD_JOB""
NOMAD_RESULT=$(NOMAD_ADDR=${NOMAD_ADDR}:${NOMAD_PORT} nomad job run $VARS $GITHUB_WORKSPACE/$NOMAD_JOB)
NOMAD_RESULT=$(NOMAD_ADDR=${NOMAD_ADDR}:${NOMAD_PORT} nomad job run $VARS $GITHUB_WORKSPACE/$NOMAD_JOB | tee /dev/stdout)
RESULT="$?"

# check if job was rolled back
Expand Down

0 comments on commit b7246ed

Please sign in to comment.