Skip to content

Build Promote --include-dependencies doesnt honour --source-repo #3219

@Dominic4D

Description

@Dominic4D

Describe the bug

Running the following command promotes all build dependencies to the target repo, not just the ones from source-repo:

jf rt bpr --copy --include-dependencies --source-repo devops-generic-scratch-local devops-generic-stable-local

Current behavior

Dependencies from all repos are promoted/copied into the target repository.

Reproduction steps

export JFROG_CLI_BUILD_NAME=dep-test-build JFROG_CLI_BUILD_NUMBER="$(date)"

jf rt bce

jf rt dl --flat test-generic-scratch-local/promo-tests/1746573545/file-a.txt /dev/null
jf rt dl --flat devops-generic-scratch-local/v2.0.3.tar.gz /dev/null

jf rt bp

jf rt bpr --copy --include-dependencies --source-repo devops-generic-scratch-local  devops-generic-stable-local

Expected behavior

Only dependencies from source-repo are copied into target repository.

JFrog CLI version

jf version 2.82.0

Operating system type and version

Linux - OpenSuse Leap 15.6

JFrog Artifactory version

7.111.7

JFrog Xray version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions