Complete the code to define the root directory for shared libraries in Jenkins.
library {
rootDir = '[1]'
}The root directory for shared libraries in Jenkins is usually named libs.
Complete the code to specify the directory for global variables in a Jenkins shared library.
library {
varsDir = '[1]'
}The vars directory holds global variables and scripts accessible in Jenkins pipelines.
Fix the error in the directory structure declaration for Jenkins shared libraries.
library {
resourcesDir = '[1]'
}The resources directory is used to store non-code files like configuration or templates.
Fill both blanks to complete the Jenkins shared library directory structure.
library {
rootDir = '[1]'
varsDir = '[2]'
}The root directory is libs and the global variables directory is vars.
Fill all three blanks to define a complete Jenkins shared library directory structure.
library {
rootDir = '[1]'
varsDir = '[2]'
resourcesDir = '[3]'
}The standard Jenkins shared library directories are libs for root, vars for global variables, and resources for supporting files.