title: Jenkins shared library: what is the difference between functions in /vars folder and /src folders?
body: <p>I have followed jenkins <a href="https://jenkins.io/doc/book/pipeline/shared-libraries/" rel="noreferrer">extending pipeline with shared libraries</a><br>
  it was mentioned that </p>
  
  <blockquote>
    <p>The src directory should look like standard Java source directory
    structure. This directory is added to the classpath when executing
    Pipelines.</p>
    
    <p>while the vars directory hosts scripts that define global variables
    accessible from Pipeline</p>
  </blockquote>
  
  <p>Note: I am more curious about the difference in usage not in implementation.</p>