Fix to avoid using gitweb plugin.
Some jobs which perform tests against salt-formulas fails as the gitweb plugin of gerrit was disabled.
Curl request re-wrote to avoid using the gitweb plugin.
Closes-bug: PROD-36139
Change-Id: Ife014df34c0ea7b1d08011eaea9b2afce7f9f51c
diff --git a/test-salt-formulas-env.groovy b/test-salt-formulas-env.groovy
index c526a51..5c3b894 100644
--- a/test-salt-formulas-env.groovy
+++ b/test-salt-formulas-env.groovy
@@ -143,7 +143,7 @@
if (kitchenFileName) {
ruby.ensureRubyEnv()
if (!fileExists("Gemfile")) {
- sh("curl -s -o ./Gemfile 'https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas/salt-formulas-scripts.git;a=blob_plain;f=Gemfile;hb=refs/heads/master'")
+ sh("curl -s 'https://gerrit.mcp.mirantis.com/projects/salt-formulas%2Fsalt-formulas-scripts/branches/master/files/Gemfile/content' | base64 -d > ./Gemfile")
ruby.installKitchen()
} else {
common.infoMsg("Override Gemfile found in the kitchen directory, using it.")