[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:
Rustam Tagaev
2024-06-04 12:29:56 +03:00
committed by Denis Patrakeev
parent 62c1563fb7
commit 91745288a4
2 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
folder('Automation') {
displayName('Automation')
description('Automation')
}
folder('Automation/Eisen') {
description('Automation for Eisen team')
}

View 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('\$')
}
}
}
}
}
}
}