2.0.0 • Published 1 year ago

screwdriver-artifact-bookend v2.0.0

Weekly downloads
48
License
BSD-3-Clause
Repository
github
Last release
1 year ago

Artifact Bookend

Version Downloads Build Status Open Issues License

sd.cd bookend for uploading artifacts

Usage

npm install screwdriver-artifact-bookend

Functionality

Store all the artifacts saved in the Artifacts Directory to the build folder in the Store, so we can make sure they're not all erased when the build is complete. This bookend currently acts only as a teardown plugin. All artifacts files/folders are written to Store on teardown.

If $SD_ZIP_ARTIFACTS is set to true, it compresses all artifacts under $SD_ARTIFACTS_DIR into a zip file and uploads the zip file to the store.

This is a default plugin that is set in the default.yaml (https://github.com/screwdriver-cd/screwdriver/blob/master/config/default.yaml) under the bookends section.

For example, if $SD_ARTIFACTS_DIR is set as /sd/workspace/artifacts and the user creates within that directory:

/sd/workspace/artifacts
--first_dir
----first_file.txt
----second_file.txt
--second_dir
----third_file.txt
----fourth_file.txt
--fifth_file.txt

Then in Store:

https://{store-uri}/logs.screwdriver.cd/builds/<BUILD_ID>-ARTIFACTS
--first_dir
----first_file.txt
----second_file.txt
--second_dir
----third_file.txt
----fourth_file.txt
--fifth_file.txt

Uploading

Testing

npm test

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.

1.4.0

2 years ago

2.0.0

1 year ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.2.0

3 years ago

1.1.27

3 years ago

1.1.26

5 years ago

1.1.25

5 years ago

1.1.24

5 years ago

1.1.23

6 years ago

1.1.22

6 years ago

1.1.21

6 years ago

1.1.20

6 years ago

1.1.19

6 years ago

1.1.18

6 years ago

1.1.17

6 years ago

1.1.16

6 years ago

1.1.15

6 years ago

1.1.14

6 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago