[DO-103] Add eva link with pr (#13)
Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/13 Reviewed-by: Denis Patrakeev <denis.patrakeev@avroid.tech> Reviewed-by: Andrey Danin <andrey.danin@avroid.tech> Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Co-committed-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech>
This commit is contained in:
committed by
Aleksandr Vodyanov
parent
4a54b6de6b
commit
5d6e266419
24
jobs-dsl/jobs/gitea_events/eva_pr_link_webhook.groovy
Normal file
24
jobs-dsl/jobs/gitea_events/eva_pr_link_webhook.groovy
Normal file
@@ -0,0 +1,24 @@
|
||||
pipelineJob('gitea-events/eva-pr-link-webhook') {
|
||||
parameters {
|
||||
string {
|
||||
description('Data from webhook JSON')
|
||||
name('DATA_JSON')
|
||||
defaultValue('')
|
||||
}
|
||||
}
|
||||
|
||||
definition {
|
||||
cpsScm {
|
||||
scm {
|
||||
git {
|
||||
remote {
|
||||
url("${JENKINS_GIT_REPOSITORY_URL}/DevOps/jenkins-pipelines.git")
|
||||
credentials("${JENKINS_GIT_CREDENTIALS_HTTP}")
|
||||
}
|
||||
branch('master')
|
||||
}
|
||||
}
|
||||
scriptPath('pipelines/gitea-events/eva-pr-link-webhook.groovy')
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user