From 55eec720a147f06640e495c739db755e8d42c039 Mon Sep 17 00:00:00 2001 From: Justin Wozniak Date: Thu, 23 Jan 2025 13:35:59 -0600 Subject: [PATCH] Show repodata.json by default --- dev/jenkins/anaconda.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev/jenkins/anaconda.sh b/dev/jenkins/anaconda.sh index 9109105d1..9523c051e 100755 --- a/dev/jenkins/anaconda.sh +++ b/dev/jenkins/anaconda.sh @@ -190,9 +190,16 @@ task $SWIFT_T/dev/conda/setup-conda.sh task $SWIFT_T/dev/conda/conda-platform.sh $R $CONDA_PLATFORM BLD_DIR=$WORKSPACE/sfw/Miniconda-build/conda-bld/linux-64 +REPODATA=$BLD_DIR/repodata.json log "CHECKING PACKAGE in $BLD_DIR ..." -if ! BZ2=$( python $SWIFT_T/dev/conda/find-pkg.py -v \ - $BLD_DIR/repodata.json ) +# Show JSON for debugging: +if which json_pp >& /dev/null +then + json_pp < $REPODATA +else + cat $REPODATA +fi +if ! BZ2=$( python $SWIFT_T/dev/conda/find-pkg.py -v $REPODATA ) then print log "CHECKING PACKAGE FAILED!"