Skip to content

Temporary directory is not present. #105

@StevenRoodhorst

Description

@StevenRoodhorst

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions