Commit c776ce7
authored
fix e2e test to work in release branches (#1253)
*Issue #, if available:*
*Description of changes:*
The workflow `application-signals-e2e-test.yml` assumes the version
contains -SNAPSHOT. In release branches, we update `version.gradle.kts`
to drop the -SNAPSHOT suffix to prepare for the release, so
`upload-main-build` fails. See
https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18921541300/job/54022142576
This PR modifies the job to match any artifact with the name
`aws-opentelemetry-agent-*.jar`, with or without the SNAPSHOT suffix.
tested by manually triggering main build in this branch:
1. adotVersion = 2.20.0-SNAPSHOT:
https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18925772853/job/54034432606
`upload: ./aws-opentelemetry-agent-2.20.0-SNAPSHOT.jar to
s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar`
2. adotVersion = 2.20.0:
https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/18927001060
`upload: ./aws-opentelemetry-agent-2.20.0.jar to
s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar`
Both runs are successful.
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.1 parent 90d5791 commit c776ce7
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| |||
0 commit comments