Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporary directory is not present. #105

Open
StevenRoodhorst opened this issue Nov 25, 2022 · 0 comments
Open

Temporary directory is not present. #105

StevenRoodhorst opened this issue Nov 25, 2022 · 0 comments

Comments

@StevenRoodhorst
Copy link

StevenRoodhorst commented Nov 25, 2022

When using the orb with a custom save-to-directory, the /tmp/swissknife/ directory is not created and it fails with
environment: line 26: /tmp/swissknife/artifacts.json: No such file or directory

I think the script needs to be updated to create the /tmp/swissknife/ first.
This on version v0.69.0.

Example:

- swissknife/get_job_artifacts:
    file-name-pattern: "artifact.tar.gz"
    job-number: LAST_SUCCESFUL_BUILD_NUMBER
    repo-name: REPO_NAME
    vcs-type: bitbucket
    save-to-directory: ${CIRCLE_WORKING_DIRECTORY}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant