You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUILD-10591 Leverage JFrog CLI summary in build-npm, build-yarn, build-poetry and promote
Generate the JFrog CLI job summary explicitly rather than relying on the setup-jfrog-cli post-step, which fails and conflicts with the CLI.
**JFrog CLI configuration fixes (build-npm, build-yarn, build-poetry, config-npm, promote)**:
- Add --url flag to 'jf config add repox' with the JFrog Platform URL (base URL without '/artifactory')
- Add 'jf config use repox' (or 'deploy' for maven) after 'jf config add' to explicitly activate the server configuration
- In promote.sh and build scripts, suppress 'jf config remove repox' output (redirect to /dev/null)
- Make ARTIFACTORY_URL required (via :?) in promote.sh
**JFrog CLI command summary (all build actions + promote)**:
- Set JFROG_CLI_COMMAND_SUMMARY_OUTPUT_DIR in build step env so JFrog CLI writes command summary data during execution
- build-maven/deploy-artifacts.sh: also set JFROG_CLI_COMMAND_SUMMARY_OUTPUT_DIR in the Artifacts upload step
**Generate workflow summary (all build actions)**:
- Merge JFrog CLI summary generation into 'Generate workflow summary' step (remove the separate 'Generate JFrog CLI summary' step)
- Add JFrog summary support to build-maven (when mixed-privacy=true, using 'jf config use deploy') and build-gradle
- Rework summary format: extract Published Modules from JFrog markdown.md (bold module names and multi-line <pre> file tree blocks) into a collapsible <details> block
- Change build URL link text from 'Browse artifacts in Artifactory' to 'Browse build `name:number` in Artifactory'
**promote/action.yml**:
- Add repox-url and repox-artifactory-url inputs (forwarded from callers)
- Add ARTIFACTORY_URL env var to the Promote artifacts step
**Other**:
- Upgrade renovatebot/pre-commit-hooks to 43.76.3 in .pre-commit-config.yaml
- Fix trailing spaces in deprecation warning messages (cache/action.yml, config-npm/action.yml, build-npm/action.yml, build-yarn/action.yml)
- Minor doc fix in build-maven/build.sh and promote/promote.sh
- Update spec tests to match new command signatures and line counts (100% coverage)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
| `promote-pull-request` | Whether to promote pull request artifacts. Requires `deploy-pull-request` input to be set to `true` in the build action | `false` |
1233
-
| `multi-repo` | If true, promotes to public and private repositories. For projects with both public and private artifacts | (optional) |
1234
-
| `artifactory-deploy-repo` | Repository to deploy to. If not set, it will be retrieved from the build info | (optional) |
1235
-
| `artifactory-target-repo` | Target repository for the promotion. If not set, it will be determined based on the branch type and the deploy repository | (optional) |
1236
-
| `build-name` | Name of the JFrog build to promote. | `<Repository name>` |
| `repox-url` | URL for Repox | `https://repox.jfrog.io` |
1233
+
| `repox-artifactory-url` | URL for Repox Artifactory API (overrides repox-url/artifactory if provided) | (optional) |
1234
+
| `promote-pull-request` | Whether to promote pull request artifacts. Requires `deploy-pull-request` input to be set to `true` in the build action | `false` |
1235
+
| `multi-repo` | If true, promotes to public and private repositories. For projects with both public and private artifacts | (optional) |
1236
+
| `artifactory-deploy-repo` | Repository to deploy to. If not set, it will be retrieved from the build info | (optional) |
1237
+
| `artifactory-target-repo` | Target repository for the promotion. If not set, it will be determined based on the branch type and the deploy repository | (optional) |
1238
+
| `build-name` | Name of the JFrog build to promote. | `<Repository name>` |
0 commit comments