File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
concourse/pipelines/template Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -583,13 +583,17 @@ jobs:
583583 args:
584584 - -ec
585585 - |
586+ echo "List release tgz (only one expected)"
587+ ls -l release/*.tgz
588+ echo "List stemcells (only one expected)"
589+ ls -l stemcell/*.tgz
586590 RELEASE_INFO=$(bosh inspect-local-release --json release/*.tgz | jq '.Tables|.[0]|.Rows|.[0]')
587591 export RELEASE_NAME=$(echo ${RELEASE_INFO} | jq -r '.["name"]')
588592 export RELEASE_VERSION=$(echo ${RELEASE_INFO} | jq -r '.["version"]')
589593 STEMCELL_INFO=$(bosh inspect-local-stemcell --json stemcell/*.tgz | jq '.Tables|.[0]|.Rows|.[0]')
590594 export STEMCELL_OS=$(echo ${STEMCELL_INFO} | jq -r '.["os"]')
591595 export STEMCELL_VERSION=$(echo ${STEMCELL_INFO} | jq -r '.["version"]')
592-
596+ echo "Generating tar name: ${RELEASE_NAME}-${RELEASE_VERSION}-${STEMCELL_OS}-${STEMCELL_VERSION}.tgz"
593597 cp release/*.tgz result-dir/"${RELEASE_NAME}-${RELEASE_VERSION}-${STEMCELL_OS}-${STEMCELL_VERSION}.tgz"
594598 - put: compiled-<%= release %>
595599 attempts: <%= concourse_retry [ :push ] %>
You can’t perform that action at this time.
0 commit comments