What is a `.txt` file in `vars/` for?
BeginnerConceptShared libraries
Answer
vars/kanikoBuild.txt (HTML or Markdown depending on the markup formatter) is the documentation shown in Pipeline Syntax > Global Variables Reference for jobs that load the library. Document required arguments, defaults and an example. It is the closest thing to API docs your developers will read.
More on Shared libraries
What is the directory structure of a shared library?BeginnerHow does a `vars/` global step work?BeginnerWhat goes in `src/` and how is it used?IntermediateHow do classes in `src/` call pipeline steps?IntermediateWhat is `libraryResource` used for?IntermediateWhat are the ways to load a library in a Jenkinsfile?Intermediate