jx step unstash

list of jx commands

jx step unstash

Unstashes files generated as part of a pipeline to a local file or directory or displays on the console

Synopsis

This pipeline step unstashes the files in storage to a local file or the console

Currently Jenkins X supports storing files into a branch of a git repository or in cloud blob storage like S3, GCS, Azure blobs etc.

When using Cloud Storage we use URLs like ‘s3://nameOfBucket’ on AWS, ‘gs://anotherBucket’ on GCP or on Azure ‘azblob://thatBucket’

See Also:

jx step unstash [flags]

Examples

  # unstash a file to the reports directory
  jx step unstash --url s3://mybucket/tests/myOrg/myRepo/mybranch/3/junit.xml -o reports
  
  # unstash the file to the from GCS to the console
  jx step unstash -u gs://mybucket/foo/bar/output.log

Options

  -h, --help               help for unstash
  -o, --output string      The output file or directory
  -t, --timeout duration   The timeout period before we should fail unstashing the entry (default 30s)
  -u, --url string         The fully qualified URL to the file to unstash including the storage host, path and file name

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input
      --verbose      Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace

SEE ALSO

Auto generated by spf13/cobra on 2-Sep-2020

Last modified September 21, 2020: release 0.0.1895 (3145738)