DO-63/Waydroid_build (#1)
+ Added jobs-dsl and gitea events 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
70e286b008
commit
9046f994f1
36
jobs-dsl/jobs/gitea_events/jobs_runner.groovy
Normal file
36
jobs-dsl/jobs/gitea_events/jobs_runner.groovy
Normal file
@@ -0,0 +1,36 @@
|
||||
pipelineJob('gitea-events/jobs-runner') {
|
||||
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/jobs-runner.groovy')
|
||||
}
|
||||
}
|
||||
|
||||
properties {
|
||||
pipelineTriggers {
|
||||
triggers {
|
||||
GenericTrigger {
|
||||
allowSeveralTriggersPerBuild(false)
|
||||
token('gitea-events/jobs-runner')
|
||||
genericVariables {
|
||||
genericVariable{
|
||||
expressionType('JSONPath')
|
||||
regexpFilterText('')
|
||||
regexpFilterExpression('')
|
||||
key('jsonEvent')
|
||||
value('\$')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user