Fixed PIT CLI output when setting extended properties.
This commit is contained in:
parent
ae0d782a5b
commit
31b9802477
@ -4,8 +4,8 @@ build.dir=build
|
|||||||
src.dir=src
|
src.dir=src
|
||||||
lib.shared.dir=../shared-libs
|
lib.shared.dir=../shared-libs
|
||||||
test.dir=test
|
test.dir=test
|
||||||
build.number=10
|
build.number=0
|
||||||
version=3.2.0
|
version=3.2.1
|
||||||
name=libpit
|
name=libpit
|
||||||
lib.dir=lib
|
lib.dir=lib
|
||||||
lib.local=true
|
lib.local=true
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
build.dir=build
|
build.dir=build
|
||||||
src.dir=src
|
src.dir=src
|
||||||
build.jar=pit-cli-${application.version}.${build.number}.jar
|
build.jar=pit-cli-${application.version}.${build.number}.jar
|
||||||
build.number=12
|
build.number=0
|
||||||
version=3.2.0
|
version=3.2.1
|
||||||
name=pit-cli
|
name=pit-cli
|
||||||
lib.dir=lib
|
lib.dir=lib
|
||||||
lib.local=true
|
lib.local=true
|
||||||
|
@ -83,7 +83,7 @@ cli._(longOpt: 'version', 'Display PIT version information.')
|
|||||||
// ======== Parse CLI Options ======== //
|
// ======== Parse CLI Options ======== //
|
||||||
// =================================== //
|
// =================================== //
|
||||||
|
|
||||||
def VERSION = "3.2.0"
|
def VERSION = "3.2.1"
|
||||||
def opts = cli.parse(args)
|
def opts = cli.parse(args)
|
||||||
def issuedb = [:]
|
def issuedb = [:]
|
||||||
def workingDir = new File('.')
|
def workingDir = new File('.')
|
||||||
@ -434,6 +434,7 @@ else if (assignOpts.size() > 0) {
|
|||||||
println issue
|
println issue
|
||||||
assignOpts.each { propName, value ->
|
assignOpts.each { propName, value ->
|
||||||
issue[propName] = value
|
issue[propName] = value
|
||||||
println " set ${propName} to ${value}" } }}
|
def formattedValue = ExtendedPropertyHelp.format(value)
|
||||||
|
println " set ${propName} to ${formattedValue}" } }}
|
||||||
|
|
||||||
else { cli.usage(); return -1 }}
|
else { cli.usage(); return -1 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user