New answers tagged

1

This is the approach I came up with. It's kinda ugly, but it does work: - run: name: Create unique build identifier command: | GIT_SHA=$( git rev-parse --short HEAD ) echo "export GIT_SHA=${GIT_SHA}" >> "${BASH_ENV}" # the always-increasing counter, based on CIRCLE_BUILD_NUM BUILD_COUNTER="${CIRCLE_BUILD_NUM}" ...


2

The indentation looks incorrect for the artifacts section in your buildspec-test.yml file. It is nested under the phases section. That way it is not being output properly and can't be picked up by the next build. It should be the same as in your second file. version: 0.2 phases: build: commands: - $ANDROID_HOME/tools/bin/sdkmanager "build-tools;...


Top 50 recent answers are included