X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=README.md;h=4c21ec69626b5e80117777d0bc29b6d35dac46e2;hb=afb0041408b64e20cbf63ad8e0b78cf238979644;hp=3bad6b0fc198074ba095012cc621b6f2b93c0ebf;hpb=0912741cdcac047d4ef2e0d689a0260debc92b32;p=releng%2Fglobal-jjb.git diff --git a/README.md b/README.md index 3bad6b0f..4c21ec69 100644 --- a/README.md +++ b/README.md @@ -132,3 +132,18 @@ Optional parameters: **branch**: is the git branch to build from. **jjb-version**: is the version of JJB to install in the build minion. + +## Archiving logs in Jobs + +There are 2 ways supported for archiving log information: + +1) Job creates $WORKSPACE/archives directory and places logs there + +In this method the entire archives directory will be pushed to the log server +in the same structure as configured in the archives directory. + +2) Via job variable ARCHIVE_ARTIFACTS using globstar patterns. + +In this method a job can define a globstar for example ``**/*.log`` which then +causes the archive script to do a globstar search for that pattern and archives +any files it finds matching.