Refactor formula refspec template
- remove custom result messages
- make trigger event the same as kitchen job has
Now kitchen tests and deploy tests are triggered by the same
gerrit event - 'recheck' comment.
Change-Id: I3ca84291e4930ae4b1e8b94dc72742b4fcb8fa21
diff --git a/jenkins/client/job/oscore/tests.yml b/jenkins/client/job/oscore/tests.yml
index a751935..bab8804 100644
--- a/jenkins/client/job/oscore/tests.yml
+++ b/jenkins/client/job/oscore/tests.yml
@@ -657,19 +657,10 @@
- failed
- unstable
- not_built
- message:
- build_successful: "Build successful"
- build_unstable: "Build unstable"
- build_failure: "Build failed"
event:
comment:
- addedContains:
- commentAddedCommentContains: 'deploy'
- patchset:
- - created:
- excludeDrafts: true
- excludeTrivialRebase: true
- excludeNoCodeChange: true
+ commentAddedCommentContains: '^(?s:Patch Set \d+:.*(test|recheck|reverify)\s*)$'
param:
SOURCE_CREDENTIALS:
type: string