[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:
aleksandr.vodyanov
2024-01-10 17:15:16 +03:00
committed by Aleksandr Vodyanov
parent 4a54b6de6b
commit 5d6e266419
3 changed files with 153 additions and 60 deletions

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