Open StephenOTT opened 6 years ago
https://jenkins.io/doc/book/pipeline/shared-libraries/#using-third-party-libraries
@Grab('org.apache.commons:commons-math3:3.4.1') import org.apache.commons.math3.primes.Primes void parallelize(int count) { if (!Primes.isPrime(count)) { error "${count} was not prime" } // … }
https://jenkins.io/doc/book/pipeline/shared-libraries/#using-third-party-libraries