Skip to content

Cleanup Errors even with disable-auto-build-publish set to true #196

@JackCoplandGranta

Description

@JackCoplandGranta

Describe the bug

#185 added an automatic build-add-git and build-publish in the post step. This started failing some of our builds (mostly because it assumes the root of your workspace is a git repo which is another issue if you care about using the auto-publish). we've disabled everywhere by using:

disable-auto-build-publish: true

but we still see cleanup failures in some builds

Current behavior

image

image

Reproduction steps

name: jfrog test
on:
  workflow_dispatch:

jobs:

  jfrog_test:
    name: jfrog test
    runs-on: [<Tags-For-Self-Hosted-Machine-That-Can-Reach-Artifactory>]
    steps:

      - uses: jfrog/setup-jfrog-cli@v4
        with:
          disable-auto-build-publish: true
        env:
          JF_URL: <URL>
          JF_USER: <USER>
          JF_PASSWORD: <PASSWORD>

      - name: download
        env:
          JFROG_CLI_OFFER_CONFIG: "false"
        run: |
          jfrog rt dl <Path>/artifact.txt
        shell: pwsh

Expected behavior

No response

Setup JFrog CLI version

4.3.1

JFrog CLI version

2.66.0

Workflow operating system type and version

Windows

JFrog Artifactory version (if relevant)

No response

JFrog Xray version (if relevant)

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