Add a snapshot mode to the deploy-nexus command 21/7221/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 1 Nov 2017 18:28:03 +0000 (14:28 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 1 Nov 2017 18:39:50 +0000 (14:39 -0400)
commite396384d1a62b66ccf4308b1d0a2fa1e714508b3
treedb9271b0793b1667bca98cf388e5285cdc11e2f7
parent78cd27df781aa5eba37fc6d215c389a59979eadd
Add a snapshot mode to the deploy-nexus command

This is necessary for RELENG-61 in order to allow pushing
maven-metadata.xml files which in the case of release jobs should not be
allowed. So add an option to the deploy-nexus command to allow an
exception for snapshot artifacts.

Issue: RELENG-173
Change-Id: I6f086bd0987502c5a967ab0b6f313ac405ceabc5
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
lftools/cli/deploy.py
shell/deploy