add function to run tox
Related-prod: PROD-31485

Change-Id: I2d2e3b31a6f540ad487ce39bc24187c3630e3508
diff --git a/src/com/mirantis/mk/Tox.groovy b/src/com/mirantis/mk/Tox.groovy
new file mode 100644
index 0000000..43f30fb
--- /dev/null
+++ b/src/com/mirantis/mk/Tox.groovy
@@ -0,0 +1,17 @@
+package com.mirantis.mk
+/**
+ * Tox functions
+ */
+
+/**
+ * Run tox
+ *
+ * @param args string with tox arguments
+ * @param returnStdout return stdout from tox
+ */
+
+def runTox(String args, boolean returnStdout = true){
+    return docker.image('docker-prod-local.docker.mirantis.net/mirantis/external/tox').inside {
+        sh(script: "tox ${args}", returnStdout: returnStdout)
+    }
+}
\ No newline at end of file