[DO-533] add automation for Eisen (!27)
Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/27 Reviewed-by: Denis Patrakeev <denis.patrakeev@avroid.tech> Co-authored-by: Rustam Tagaev <rustam.tagaev@avroid.tech> Co-committed-by: Rustam Tagaev <rustam.tagaev@avroid.tech>
This commit is contained in:
committed by
Denis Patrakeev
parent
62c1563fb7
commit
91745288a4
8
jobs-dsl/folders/Automation.groovy
Normal file
8
jobs-dsl/folders/Automation.groovy
Normal file
@@ -0,0 +1,8 @@
|
||||
folder('Automation') {
|
||||
displayName('Automation')
|
||||
description('Automation')
|
||||
}
|
||||
|
||||
folder('Automation/Eisen') {
|
||||
description('Automation for Eisen team')
|
||||
}
|
||||
36
jobs-dsl/jobs/Automation/Eisen/notification.groovy
Normal file
36
jobs-dsl/jobs/Automation/Eisen/notification.groovy
Normal file
@@ -0,0 +1,36 @@
|
||||
pipelineJob('Automation/Eisen/notification') {
|
||||
definition {
|
||||
cpsScm {
|
||||
scm {
|
||||
git {
|
||||
remote {
|
||||
url("${JENKINS_GIT_REPOSITORY_URL}/Eisen/OS.git")
|
||||
credentials("${JENKINS_GIT_CREDENTIALS_HTTP}")
|
||||
}
|
||||
branch('master')
|
||||
}
|
||||
}
|
||||
scriptPath('Notifications')
|
||||
}
|
||||
}
|
||||
|
||||
properties {
|
||||
pipelineTriggers {
|
||||
triggers {
|
||||
GenericTrigger {
|
||||
allowSeveralTriggersPerBuild(false)
|
||||
token('Automation/Eisen/notification')
|
||||
genericVariables {
|
||||
genericVariable{
|
||||
expressionType('JSONPath')
|
||||
regexpFilterText('')
|
||||
regexpFilterExpression('')
|
||||
key('jsonEvent')
|
||||
value('\$')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user