diff --git a/jobs/pipelines/run-test-scenarios.groovy b/jobs/pipelines/run-test-scenarios.groovy
index 31aff06..76d5cb2 100644
--- a/jobs/pipelines/run-test-scenarios.groovy
+++ b/jobs/pipelines/run-test-scenarios.groovy
@@ -44,10 +44,10 @@
                     if (env.RUN_TEST_OPTS) {
                         shared.swarm_run_pytest(steps, "${PARENT_NODE_NAME}", make_snapshot_stages)
                     } else {
-                        common.printMsg("RUN_TEST_OPTS is empty, skipping 'swarm-run-pytest' job", "green")
+                        common.infoMsg("RUN_TEST_OPTS is empty, skipping 'swarm-run-pytest' job", "green")
                     }
                 } catch (e) {
-                    common.printMsg("Tests are failed: " + e.message, "purple")
+                    common.infoMsg("Tests are failed: " + e.message, "purple")
                     currentBuild.result = 'FAILURE'
                 }
             } // stage("Run tests")
@@ -60,14 +60,14 @@
 
             stage("report results to testrail from jenkins master") {
                 if ("${env.REPORT_TO_TESTRAIL}" != "false") {
-                    common.printMsg("Running on: " + env.PARENT_NODE_NAME, "blue")
+                    common.infoMsg("Running on: " + env.PARENT_NODE_NAME, "blue")
                     shared.verbose_sh("""\
                            [ -d /home/jenkins/venv_testrail_reporter ] || virtualenv --python=python3.7 /home/jenkins/venv_testrail_reporter""", true, false, true)
                     shared.run_cmd("""\
                             . /home/jenkins/venv_testrail_reporter/bin/activate; pip install git+https://github.com/dis-xcom/testrail_reporter -U""")
                     shared.swarm_testrail_report(steps, env.PARENT_NODE_NAME)
                 } else {
-                    common.printMsg("REPORT_TO_TESTRAIL is set to FALSE. Skipped this step ")
+                    common.infoMsg("REPORT_TO_TESTRAIL is set to FALSE. Skipped this step ")
                 }
             } // stage("report results to testrail from jenkins master")
             stage("Store TestRail reports to job description") {
@@ -77,7 +77,7 @@
                         currentBuild.description += "${description}"
                     }
                 } else {
-                    common.printMsg("REPORT_TO_TESTRAIL is set to FALSE. Skipped this step ")
+                    common.infoMsg("REPORT_TO_TESTRAIL is set to FALSE. Skipped this step ")
                 }
             } // stage("Store TestRail reports to job description")
         } // dir
