Commit 3f763a5
authored
Resolve Maven version dynamically in Jenkinsfile (#127)
* Resolve Maven version dynamically in Jenkinsfile
Instead of hardcoding the Maven version (which breaks whenever
Apache releases a new version), resolve the latest 3.x release
from the GitHub API at build time.
* Fix Groovy escaping for sed backslashes in Jenkinsfile
* Use Maven Central metadata for version resolution, add CodeQL dispatch trigger
- Switch from GitHub API to Maven Central maven-metadata.xml to resolve
the latest Maven 3.x version (avoids rate limiting on unauthenticated requests)
- Filter for stable 3.x releases only (no alpha/beta/rc, no Maven 4.x)
- Add workflow_dispatch trigger to CodeQL workflow for manual runs
* Use Maven Central metadata for version resolution, add CodeQL dispatch trigger1 parent 27a9eae commit 3f763a5
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | 63 | | |
66 | | - | |
| 64 | + | |
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
71 | 69 | | |
72 | | - | |
| 70 | + | |
| 71 | + | |
73 | 72 | | |
74 | 73 | | |
| 74 | + | |
75 | 75 | | |
76 | | - | |
77 | 76 | | |
78 | | - | |
| 77 | + | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| |||
0 commit comments