title: How do I import a Java library in Jenkins pipeline
body: <p>I have a Java library pushed on GitHub, and I want to use it in a pipeline.</p>
  
  <p>I tried:</p>
  
  <pre><code>@Library('test') _
  
  @Library('test') _
  import com.bla.bla.Bla
  
  @Library('test') import com.bla.bla.Bla
  </code></pre>
  
  <p>I always get:</p>
  
  <blockquote>
    <p>unable to resolve class Bla.</p>
  </blockquote>