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>
37 lines
1.1 KiB
Groovy
37 lines
1.1 KiB
Groovy
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('\$')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|