diff --git a/build.gradle b/build.gradle index aa31bf6..bbfd79a 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ buildscript { group = "com.electriccloud" description = "Plugins : EC-S3" -version = "1.1.1" +version = "1.1.2" apply plugin: 'flow-gradle-plugin' apply plugin: 'license' diff --git a/src/main/resources/project/postp_matchers.pl b/src/main/resources/project/postp_matchers.pl index ba9fd11..99ca2b4 100644 --- a/src/main/resources/project/postp_matchers.pl +++ b/src/main/resources/project/postp_matchers.pl @@ -19,11 +19,11 @@ id => "createBucket", pattern => q{^Bucket\s(.+)\screated\ssuccessfully}, action => q{ - + my $desc = ((defined $::gProperties{"summary"}) ? $::gProperties{"summary"} : ''); $desc .= "Bucket $1 created successfully."; - + setProperty("summary", $desc . "\n"); }, }, @@ -31,11 +31,11 @@ id => "listBucket", pattern => q{^Listed\s(.+)\sbuckets}, action => q{ - + my $desc = ((defined $::gProperties{"summary"}) ? $::gProperties{"summary"} : ''); $desc .= "Listed $1 buckets."; - + setProperty("summary", $desc . "\n"); }, }, @@ -43,11 +43,11 @@ id => "listFolder", pattern => q{^Listed\s(.+)\sobjects}, action => q{ - + my $desc = ((defined $::gProperties{"summary"}) ? $::gProperties{"summary"} : ''); $desc .= "Listed $1 objects."; - + setProperty("summary", $desc . "\n"); }, }, @@ -55,11 +55,11 @@ id => "createFolder", pattern => q{^Folder\s(.+)\screated\ssuccessfully}, action => q{ - + my $desc = ((defined $::gProperties{"summary"}) ? $::gProperties{"summary"} : ''); $desc .= "Folder $1 created successfully."; - + setProperty("summary", $desc . "\n"); }, }, @@ -67,11 +67,11 @@ id => "deleteObject", pattern => q{^Object\s(.+)\sdeleted\ssuccessfully}, action => q{ - + my $desc = ((defined $::gProperties{"summary"}) ? $::gProperties{"summary"} : ''); $desc .= "Object $1 deleted successfully."; - + setProperty("summary", $desc . "\n"); }, }, @@ -147,18 +147,5 @@ setProperty("summary", $desc . "\n"); }, }, - { - id => "error2", - pattern => q{ERROR\s:|[Ee]rror\s:|[Ee]xception}, - action => q{ - my $description = ((defined $::gProperties{"summary"}) ? - $::gProperties{"summary"} : ''); - - $description .= "$1"; - - setProperty("summary", $description . "\n"); - incValue("errors"); diagnostic("", "error", -1); - } - } );