Merge "[Gerrit] Adding a new label - 'Workflow'"
This commit is contained in:
commit
034028ab3e
@ -196,13 +196,13 @@ Methods:
|
||||
name => $name))
|
||||
- $.instance.agent.call($template, $resources)
|
||||
|
||||
createLabelVerified:
|
||||
createLabels:
|
||||
Body:
|
||||
- $._environment.reporter.report($this, 'Creating label "Verified" in Gerrit...')
|
||||
- $linux: new(conf:Linux)
|
||||
- $resource: new(sys:Resources)
|
||||
|
||||
- $script: $resource.string('create_verified.sh')
|
||||
- $script: $resource.string('create_gerrit_labels.sh')
|
||||
- $linux.runCommand($.instance.agent, $script)
|
||||
- $._environment.reporter.report($this, 'Label "Verified" is successfully created.')
|
||||
|
||||
|
@ -25,10 +25,18 @@ fi
|
||||
|
||||
cat >> project.config << CONFIG
|
||||
[label "Verified"]
|
||||
function = MaxWithBlock
|
||||
value = -1 Fails
|
||||
value = 0 No score
|
||||
value = +1 Verified
|
||||
function = MaxWithBlock
|
||||
value = -2 Fails
|
||||
value = -1 Doesn't seem to work
|
||||
value = 0 No score
|
||||
value = +1 Works for me
|
||||
value = +2 Verified
|
||||
[label "Workflow"]
|
||||
function = MaxWithBlock
|
||||
value = -1 Work in progress
|
||||
value = 0 Ready for reviews
|
||||
value = +1 Approved
|
||||
|
||||
CONFIG
|
||||
|
||||
git commit -am "Adding label 'Verified' to All-projects"
|
@ -99,7 +99,7 @@ Methods:
|
||||
- $._environment.reporter.report($this, 'Creating "jenkins" account in Gerrit...')
|
||||
- $.createGerritAccount()
|
||||
- $.configureGerritPlugin()
|
||||
- $.gerrit.createLabelVerified()
|
||||
- $.gerrit.createLabels()
|
||||
- $._upgradeGitPlugin()
|
||||
|
||||
- $.configureUser()
|
||||
|
Loading…
x
Reference in New Issue
Block a user