Skip to main content

Jenkins pipeline

TO-DO list for setting-up Datree in your CI

CI config example

pipeline{
agent any
stages{
stage('indentifying misconfigs using datree'){
steps{
script{
withEnv(['DATREE_TOKEN=<your-account-token>']) {
sh 'datree test *.yaml --only-k8s-files'
}

}
}
}
}

}