commit | 66976f6ba002617fd3d8f70a773f7d6a6ba1233e | [log] [tgz] |
---|---|---|
author | Jakub Josef <jakub.josef@gmail.com> | Mon Apr 24 16:32:23 2017 +0200 |
committer | Jakub Josef <jakub.josef@gmail.com> | Mon Apr 24 16:32:23 2017 +0200 |
tree | a77bc169e6733bddea641f73825e66be2ce48be1 | |
parent | ce2c244a2a8802495f19267e4f076ff445fe1979 [diff] [blame] |
Fixed debugging output Change-Id: I0a4e7c73561c95345cb30031aab7b441aea42f00
diff --git a/src/com/mirantis/mk/Common.groovy b/src/com/mirantis/mk/Common.groovy index 1c958b5..daf9f38 100644 --- a/src/com/mirantis/mk/Common.groovy +++ b/src/com/mirantis/mk/Common.groovy
@@ -145,7 +145,7 @@ */ def debugMsg(msg, color = true){ // if debug property exists on env, debug is enabled - if(env.getEnvironment().containsKey('DEBUG')){ + if(env.getEnvironment().containsKey('DEBUG') && env['DEBUG'] == "true"){ printMsg("[DEBUG] ${msg}", "red") } }