Add missing 'release' stage for Nexus IQ

The 'release' phase was missed in the development of this feature.

Change-Id: Ia4660d6b8a86bb43e6ea38802e22c6a5ce06834c
Signed-off-by: Thanh Ha <zxiiro@linux.com>
This commit is contained in:
Thanh Ha 2018-11-07 02:48:31 +08:00
parent a8830087db
commit 2854caec9e
No known key found for this signature in database
GPG Key ID: B0CB27E00DA095AA
1 changed files with 2 additions and 1 deletions

View File

@ -4158,6 +4158,7 @@ def nexus_iq_policy_evaluator(registry, xml_parent, data):
:stage values:
* **build**
* **stage-release**
* **release**
* **operate**
:arg dict application-type: Specifies an IQ Application (default manual)
@ -4192,7 +4193,7 @@ def nexus_iq_policy_evaluator(registry, xml_parent, data):
'____failBuildOnNetworkError',
}
valid_stages = ['build', 'stage-release', 'operate']
valid_stages = ['build', 'release', 'stage-release', 'operate']
mapping = [
('stage', format_dict.get('stage'), None, valid_stages),
('fail-build-network-error', format_dict.get('fone'), False),