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:
aleksandr.vodyanov
2023-09-25 12:01:22 +00:00
committed by Aleksandr Vodyanov
parent 70e286b008
commit 9046f994f1
9 changed files with 301 additions and 28 deletions

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