-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Once the libraries have been installed, you can access the TestUtils
object to call into the automated scripts. There are three basic functions: getProvisioningConfig
, runTest
, and runParallelMultiArchTest
.
In your Jenkinsfile, you'll want to add the following block
library(
changelog: false,
identifier: "multiarch-ci-libraries@${params.LIBRARIES_REF}",
retriever: modernSCM([$class: 'GitSCMSource',remote: "${params.LIBRARIES_REPO}"])
)
This assumes you'll be supplying the repository name and URL via the job parameters.
Now that you've installed the libraries, the first thing you'll want to do is fetch the ProvioningConfig object. This object and its options are described in the Provisioning Configuration page.
The multiarch-ci-libraries provide an API for running your tests through the MAQEAPI variable and its static functions.
Beyond the API for running your tests, the multiarch-ci-libraries also provide users with additional Pipeline Steps that may be useful for a variety of jobs.