When utilizing the 'jf release-bundle-create' command it results in an error when using 'aql' or 'pattern' in the spec file while there is a --project flag. Using 'builds' does not produce the error.
Error:
[🚨Error] release bundles creation source only supports the 'exclusions', 'props', 'excludeProps' and 'recursive' fields
Current behavior
We get this error because of the project key. If it does not have the project key it works as expected.
$ jf release-bundle-create --server-id=cloud --project= --signing-key="gpgkey1" --sync=true --spec=specfile.json Release-Bundle-Test 1.0.0
16:38:03 [Debug] JFrog CLI version: 2.56.0
16:38:03 [Debug] OS/Arch: darwin/amd64
16:38:03 [Debug] Sending HTTP GET request to: /artifactory/api/system/version
16:38:03 [Debug] Usage Report: Sending info...
16:38:03 [Debug] Sending HTTP GET request to: /artifactory/api/system/version
16:38:03 [Debug] Artifactory response: 200
16:38:03 [Debug] Artifactory response: 200
16:38:03 [Debug] JFrog Artifactory version is: 7.84.3
16:38:03 [Debug] Sending HTTP POST request to: /artifactory/api/system/usage
16:38:03 [🚨Error] release bundles creation source only supports the 'exclusions', 'props', 'excludeProps' and 'recursive' fields
Describe the bug
When utilizing the 'jf release-bundle-create' command it results in an error when using 'aql' or 'pattern' in the spec file while there is a --project flag. Using 'builds' does not produce the error. Error: [🚨Error] release bundles creation source only supports the 'exclusions', 'props', 'excludeProps' and 'recursive' fields
Current behavior
We get this error because of the project key. If it does not have the project key it works as expected.
$ jf release-bundle-create --server-id=cloud --project= --signing-key="gpgkey1" --sync=true --spec=specfile.json Release-Bundle-Test 1.0.0
16:38:03 [Debug] JFrog CLI version: 2.56.0
16:38:03 [Debug] OS/Arch: darwin/amd64
16:38:03 [Debug] Sending HTTP GET request to: /artifactory/api/system/version
16:38:03 [Debug] Usage Report: Sending info...
16:38:03 [Debug] Sending HTTP GET request to: /artifactory/api/system/version
16:38:03 [Debug] Artifactory response: 200
16:38:03 [Debug] Artifactory response: 200
16:38:03 [Debug] JFrog Artifactory version is: 7.84.3
16:38:03 [Debug] Sending HTTP POST request to: /artifactory/api/system/usage
16:38:03 [🚨Error] release bundles creation source only supports the 'exclusions', 'props', 'excludeProps' and 'recursive' fields
Reproduction steps
Expected behavior
I would expect that it should work the same as when the spec file contains a build as the parameter instead of a pattern or aql.
JFrog CLI version
jf version 2.56.0
Operating system type and version
OS/Arch: darwin/amd64
JFrog Artifactory version
7.84.3
JFrog Xray version
n/a