Hi,
When running a command in parallel, I can well see distinct BUILDKITE_JOB_ID
value for each parallel job.
But, when using the docker-compose plugin, the given value for BUILDKITE_JOB_ID
is always the same, and does not match any existing BUILDKITE_JOB_ID
values.
So when using the junit annotate plugin, obviously the link to the linked job is wrong. Am I missing something?
Regards,
- label: ":rspec: Run tests"
parallelism: 150
command: |
bundle exec rake knapsack:rspec["--format progress --format RspecJunitFormatter --out reports/junit/junit-buildkite-job-$BUILDKITE_JOB_ID.xml]
artifact_paths:
- reports/**/*
plugins:
- docker-compose#v3.9.0:
config: build/docker-compose.yml
shell: ["/bin/bash", "-e", "-c"]
workdir: /usr/src/app
run: app
volumes:
- "./reports:/usr/src/app/reports"
env:
- BUILDKITE
- BUILDKITE_BUILD_NUMBER
- BUILDKITE_BUILD_URL
- BUILDKITE_JOB_ID
- BUILDKITE_BRANCH
- BUILDKITE_COMMIT
- BUILDKITE_MESSAGE
- BUILDKITE_PARALLEL_JOB
- BUILDKITE_PARALLEL_JOB_COUNT