[DO-1617] add_terraform_checker (!85)
Co-authored-by: Rustam Tagaev <rustam.tagaev@avroid.tech> Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/85 Reviewed-by: Vasiliy Chipizhin <vasiliy.chipizhin@avroid.team> Reviewed-by: Aleksandr Vodyanov <aleksandr.vodyanov@avroid.team> Reviewed-by: Denis Patrakeev <denis.patrakeev@avroid.team>
This commit is contained in:
28
jobs-dsl/jobs/Automation/DevOps/terraform_checker.groovy
Normal file
28
jobs-dsl/jobs/Automation/DevOps/terraform_checker.groovy
Normal file
@@ -0,0 +1,28 @@
|
||||
pipelineJob('Automation/DevOps/terraform-checker') {
|
||||
description("Terraform checker")
|
||||
definition {
|
||||
cpsScm {
|
||||
scm {
|
||||
git {
|
||||
remote {
|
||||
url("${JENKINS_GIT_REPOSITORY_URL}/DevOps/jenkins-pipelines.git")
|
||||
credentials("${JENKINS_GIT_CREDENTIALS_HTTP}")
|
||||
}
|
||||
branch('master')
|
||||
}
|
||||
}
|
||||
scriptPath('pipelines/Automation/DevOps/terraform_checker.groovy')
|
||||
}
|
||||
}
|
||||
|
||||
properties {
|
||||
disableConcurrentBuilds()
|
||||
pipelineTriggers {
|
||||
triggers {
|
||||
cron {
|
||||
spec('H 2 * * *')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user