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
I was running sequentially the following commands against yarn monorepo project (https://github.com/oracode-dev/jf-monorepo-test): jf c add --url=https://artifactory. --user= --password=
jf yarn-config --repo-resolve=
jf yarn install --build-name=test-build --build-number=2024121001
Output of the latest command:
14:37:52 [Debug] JFrog CLI version: 2.72.2
14:37:52 [Debug] OS/Arch: windows/amd64
14:37:52 [Debug] Trace ID for JFrog Platform logs: 2825f889875763aa
14:37:52 [Info] Running Yarn...
14:37:52 [Debug] Preparing to read the config file D:\GitHub\jf-monorepo-test.jfrog\projects\yarn.yaml
14:37:52 [Debug] Found resolver in the config file D:\GitHub\jf-monorepo-test.jfrog\projects\yarn.yaml
14:37:52 [Debug] Preparing prerequisites.
14:37:52 [Debug] Found Yarn executable at: C:\Program Files\nodejs\yarn.cmd
14:37:52 [Debug] Working directory set to: D:\GitHub\jf-monorepo-test
14:37:52 [Debug] Saving build general details at: C:\Users<account>l\AppData\Local\Temp\jfrog\builds\eff698d6f45638ad7ce272dac7c0fc3e24130ba33acefbaf846232437d599fe0\partials
14:37:52 [Debug] Found Yarn executable at: C:\Program Files\nodejs\yarn.cmd
d be faster.
14:37:57 [Debug] Searching Artifactory using AQL query:
items.find({"type": "file","repo": "artifactory-build-info","path": {"$match": "test"}}).sort({"$desc":["created"]}).limit(1)
14:37:57 [Debug] Sending HTTP POST request to: https://artifactory./artifactory/api/search/aql
14:37:57 [Debug] Artifactory response: 200
14:37:57 [Debug] Streaming data to file...
14:37:57 [Debug] Finished streaming data successfully.
14:37:57 [Debug] A build-name: with a build-number: could not be found in Artifactory.
14:37:57 [Debug] The file D:\GitHub\jf-monorepo-test.yarnrc.yml was backed up successfully to jfrog.yarnrc.backup
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 456ms
➤ YN0000: Done in 0s 527ms
14:38:00 [Debug] Creating temp build file at: C:\Users<account>\AppData\Local\Temp\jfrog\builds\eff698d6f45638ad7ce272dac7c0fc3e24130ba33acefbaf846232437d599fe0
14:38:00 [Debug] Creating temp build file at: C:\Users<account>\AppData\Local\Temp\jfrog\builds\eff698d6f45638ad7ce272dac7c0fc3e24130ba33acefbaf846232437d599fe0
14:38:00 [Debug] Restored the file D:\GitHub\jf-monorepo-test.yarnrc.yml successfully
There was a temp file in the folder C:\Users<account>\AppData\Local\Temp\jfrog\builds\eff698d6f45638ad7ce272dac7c0fc3e24130ba33acefbaf846232437d599fe0 with no dependencies info:
{
"modules": [
{
"type": "npm",
"id": "jf-monorepo-test:1.0.0"
}
]
}
Hence the command below didn't publish any dependencies info to the server:
jf rt bce test-build 2024121001 --project=
15:09:54 [Debug] JFrog CLI version: 2.72.2
15:09:54 [Debug] OS/Arch: windows/amd64
15:09:54 [Debug] Trace ID for JFrog Platform logs: 51e6ced806fee300
15:09:54 [Info] Collecting environment variables...
15:09:54 [Debug] Usage Report: Sending info...
15:09:54 [Debug] Saving build general details at: C:\Users<account>\AppData\Local\Temp\jfrog\builds\45ca32374079e40bb2434ba2b26d256aff68625fbc3a0cc26c58f5daa884d1e4\partials
15:09:54 [Debug] Creating temp build file at: C:\Users<account>\AppData\Local\Temp\jfrog\builds\45ca32374079e40bb2434ba2b26d256aff68625fbc3a0cc26c58f5daa884d1e4\partials
15:09:54 [Info] Collected environment variables for test-build/2024121001.
15:09:54 [Debug] Sending HTTP GET request to: https://artifactory./artifactory/api/system/version
15:09:55 [Debug] Artifactory response: 200
15:09:55 [Debug] JFrog Artifactory version is: 7.90.13
15:09:55 [Debug] Sending HTTP POST request to: https://artifactory./artifactory/api/system/usage jf rt bp test-build 2024121001 --project=
15:10:05 [Debug] JFrog CLI version: 2.72.2
15:10:05 [Debug] OS/Arch: windows/amd64
15:10:05 [Debug] Trace ID for JFrog Platform logs: 5a52971716596c4d
15:10:05 [Debug] Using server-id configuration
15:10:05 [Debug] Usage Report: Sending info...
15:10:05 [Debug] Reading build general details from: C:\Users<account>\AppData\Local\Temp\jfrog\builds\45ca32374079e40bb2434ba2b26d256aff68625fbc3a0cc26c58f5daa884d1e4\partials
15:10:05 [Debug] Sending HTTP GET request to: https://artifactory./artifactory/api/system/version
15:10:05 [Info] Publishing build info for /<2024121001>...
15:10:05 [Debug] Sending HTTP PUT request to: https://artifactory./artifactory/api/build?project=
15:10:05 [Debug] Artifactory response: 200
15:10:05 [Debug] JFrog Artifactory version is: 7.90.13
15:10:05 [Debug] Sending HTTP POST request to: https://artifactory./artifactory/api/system/usage
15:10:05 [Debug] Artifactory response: 204
15:10:05 [Debug] Sending HTTP GET request to: https://artifactory./artifactory/api/system/version
15:10:06 [Debug] Artifactory response: 200
15:10:06 [Info] Build info successfully deployed.
{
"buildInfoUiUrl": "https://artifactory./ui/builds/test-build/2024121001/1733947794874/published?buildRepo=-build-info&projectKey="
}
Describe the bug
Trying to follow Yarn Berry manual https://github.com/jfrog/project-examples/blob/master/yarn-examples/yarn-berry/README.md with yarn monorepo, but 'jf yarn install' doesn't collect any dependency info, although no errors have been logged.
Current behavior
I was running sequentially the following commands against yarn monorepo project (https://github.com/oracode-dev/jf-monorepo-test):
jf c add --url=https://artifactory. --user= --password=
jf yarn-config --repo-resolve=
jf yarn install --build-name=test-build --build-number=2024121001
Output of the latest command:
14:37:52 [Debug] JFrog CLI version: 2.72.2
14:37:52 [Debug] OS/Arch: windows/amd64
14:37:52 [Debug] Trace ID for JFrog Platform logs: 2825f889875763aa
14:37:52 [Info] Running Yarn...
14:37:52 [Debug] Preparing to read the config file D:\GitHub\jf-monorepo-test.jfrog\projects\yarn.yaml
14:37:52 [Debug] Found resolver in the config file D:\GitHub\jf-monorepo-test.jfrog\projects\yarn.yaml
14:37:52 [Debug] Preparing prerequisites.
14:37:52 [Debug] Found Yarn executable at: C:\Program Files\nodejs\yarn.cmd
14:37:52 [Debug] Working directory set to: D:\GitHub\jf-monorepo-test
14:37:52 [Debug] Saving build general details at: C:\Users<account>l\AppData\Local\Temp\jfrog\builds\eff698d6f45638ad7ce272dac7c0fc3e24130ba33acefbaf846232437d599fe0\partials
14:37:52 [Debug] Found Yarn executable at: C:\Program Files\nodejs\yarn.cmd
d be faster.
14:37:57 [Debug] Searching Artifactory using AQL query:
items.find({"type": "file","repo": "artifactory-build-info","path": {"$match": "test"}}).sort({"$desc":["created"]}).limit(1)
14:37:57 [Debug] Sending HTTP POST request to: https://artifactory./artifactory/api/search/aql
14:37:57 [Debug] Artifactory response: 200
14:37:57 [Debug] Streaming data to file...
14:37:57 [Debug] Finished streaming data successfully.
14:37:57 [Debug] A build-name: with a build-number: could not be found in Artifactory.
14:37:57 [Debug] The file D:\GitHub\jf-monorepo-test.yarnrc.yml was backed up successfully to jfrog.yarnrc.backup
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 456ms
➤ YN0000: Done in 0s 527ms
14:38:00 [Debug] Creating temp build file at: C:\Users<account>\AppData\Local\Temp\jfrog\builds\eff698d6f45638ad7ce272dac7c0fc3e24130ba33acefbaf846232437d599fe0
14:38:00 [Debug] Creating temp build file at: C:\Users<account>\AppData\Local\Temp\jfrog\builds\eff698d6f45638ad7ce272dac7c0fc3e24130ba33acefbaf846232437d599fe0
14:38:00 [Debug] Restored the file D:\GitHub\jf-monorepo-test.yarnrc.yml successfully
There was a temp file in the folder C:\Users<account>\AppData\Local\Temp\jfrog\builds\eff698d6f45638ad7ce272dac7c0fc3e24130ba33acefbaf846232437d599fe0 with no dependencies info:
{
"modules": [
{
"type": "npm",
"id": "jf-monorepo-test:1.0.0"
}
]
}
Hence the command below didn't publish any dependencies info to the server:
jf rt bce test-build 2024121001 --project=
15:09:54 [Debug] JFrog CLI version: 2.72.2
15:09:54 [Debug] OS/Arch: windows/amd64
15:09:54 [Debug] Trace ID for JFrog Platform logs: 51e6ced806fee300
15:09:54 [Info] Collecting environment variables...
15:09:54 [Debug] Usage Report: Sending info...
15:09:54 [Debug] Saving build general details at: C:\Users<account>\AppData\Local\Temp\jfrog\builds\45ca32374079e40bb2434ba2b26d256aff68625fbc3a0cc26c58f5daa884d1e4\partials
15:09:54 [Debug] Creating temp build file at: C:\Users<account>\AppData\Local\Temp\jfrog\builds\45ca32374079e40bb2434ba2b26d256aff68625fbc3a0cc26c58f5daa884d1e4\partials
15:09:54 [Info] Collected environment variables for test-build/2024121001.
15:09:54 [Debug] Sending HTTP GET request to: https://artifactory./artifactory/api/system/version
15:09:55 [Debug] Artifactory response: 200
15:09:55 [Debug] JFrog Artifactory version is: 7.90.13
15:09:55 [Debug] Sending HTTP POST request to: https://artifactory./artifactory/api/system/usage
jf rt bp test-build 2024121001 --project=
15:10:05 [Debug] JFrog CLI version: 2.72.2
15:10:05 [Debug] OS/Arch: windows/amd64
15:10:05 [Debug] Trace ID for JFrog Platform logs: 5a52971716596c4d
15:10:05 [Debug] Using server-id configuration
15:10:05 [Debug] Usage Report: Sending info...
15:10:05 [Debug] Reading build general details from: C:\Users<account>\AppData\Local\Temp\jfrog\builds\45ca32374079e40bb2434ba2b26d256aff68625fbc3a0cc26c58f5daa884d1e4\partials
15:10:05 [Debug] Sending HTTP GET request to: https://artifactory./artifactory/api/system/version
15:10:05 [Info] Publishing build info for /<2024121001>...
15:10:05 [Debug] Sending HTTP PUT request to: https://artifactory./artifactory/api/build?project=
15:10:05 [Debug] Artifactory response: 200
15:10:05 [Debug] JFrog Artifactory version is: 7.90.13
15:10:05 [Debug] Sending HTTP POST request to: https://artifactory./artifactory/api/system/usage
15:10:05 [Debug] Artifactory response: 204
15:10:05 [Debug] Sending HTTP GET request to: https://artifactory./artifactory/api/system/version
15:10:06 [Debug] Artifactory response: 200
15:10:06 [Info] Build info successfully deployed.
{
"buildInfoUiUrl": "https://artifactory./ui/builds/test-build/2024121001/1733947794874/published?buildRepo=-build-info&projectKey="
}
Reproduction steps
Create monorepo project using yarn 3.x.x and follow https://github.com/jfrog/project-examples/blob/master/yarn-examples/yarn-berry/README.md
Expected behavior
Yarn monorepo supported and 'jf yarn install' command collects all the workspaces dependencies info.
JFrog CLI version
2.72.2
Operating system type and version
Windows 10 Enterprise 22H2
JFrog Artifactory version
7.90.13
JFrog Xray version
No response
The text was updated successfully, but these errors were encountered: