Added pipelines previously defined in mk-ci-salt-model

Change-Id: Id759cf59d029b3d7d9e1fbd13abf875b6737ebc4
diff --git a/release-salt-formulas-pipeline.groovy b/release-salt-formulas-pipeline.groovy
new file mode 100644
index 0000000..90ce9ef
--- /dev/null
+++ b/release-salt-formulas-pipeline.groovy
@@ -0,0 +1,30 @@
+def common = new com.mirantis.mk.Common()
+node() {
+  try{
+    stage("checkout") {
+      dir("src") {
+        common.prepareSshAgentKey(CREDENTIALS_ID)
+        common.ensureKnownHosts(SOURCE_URL)
+        git url: SOURCE_URL, branch: "master", credentialsId: CREDENTIALS_ID, poll: false
+        sh("git branch --set-upstream-to=origin/master")
+        common.agentSh("make update")
+      }
+    }
+    stage("tag") {
+      dir("src/formulas") {
+        sh("for i in *; do cd \$i; git remote | grep gerrit || git remote add gerrit $GERRIT_BASE/\$i; git config user.name Jenkins; git config user.email autobuild@mirantis.com; git tag -m $TAG $TAG; cd ..; done")
+      }
+    }
+    stage("push") {
+      dir("src/formulas") {
+        common.agentSh("mr --trust-all -j4 --force run git push gerrit $TAG")
+      }
+    }
+  } catch (Throwable e) {
+     // If there was an error or exception thrown, the build failed
+     currentBuild.result = "FAILURE"
+     throw e
+  } finally {
+     common.sendNotification(currentBuild.result,"",["slack"])
+  }
+}
\ No newline at end of file