Skip to content

Commit

Permalink
ci_build logging improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
at055612 committed Sep 25, 2024
1 parent 40452ca commit 1abf9b0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ build_schema_variants() {

GENERATED_DIR="./pipelines/generated"

echo -e "${GREEN}Dumping contents of ${BLUE}${GENERATED_DIR}${NC}"
ls -l "${GENERATED_DIR}"

if [[ "${BUILD_IS_SCHEMA_RELEASE}" = "true" ]]; then
Expand Down Expand Up @@ -135,9 +136,11 @@ main() {
# Run the gradle build to generate the different forms of the schema
build_schema_variants

echo -e "${GREEN}Dumping contents of ${BLUE}${RELEASE_ARTEFACTS_DIR}${NC}"
ls -l "${RELEASE_ARTEFACTS_DIR}"

if [[ "${BUILD_IS_SCHEMA_RELEASE}" = "true" ]]; then
echo -e "${GREEN}Dumping contents of ${BLUE}${RELEASE_ARTEFACTS_DIR}${NC}"
ls -l "${RELEASE_ARTEFACTS_DIR}"
echo -e "${GREEN}This is a release build${NC}"
else
echo -e "${GREEN}Not a release so skipping releaase preparation${NC}"
# Clear out any artefacts to make sure nothing
Expand Down

0 comments on commit 1abf9b0

Please sign in to comment.