Chúng ta học cách import Library.

Nhưng các bài viết trước thì đây là nơi lưu các file groovy.

File sẽ có phần package nó giống thư mục mà file đang ở.
như golang. tại mình biết golang ko biết java hihi
@Library("pipeline-shared-lib")
import com.acceleratedskillup.*;
pipeline{
agent any
stages{
stage("Build"){
steps{
script{
def calculator = new Calculator()
println calculator.add(1,2)
}
}
}
}
}

