Initial commit
Add infrastructure jobs for sandbox
Related-PROD: RE-336
Change-Id: I2140d47e3fc360ab05f92175b29b31e69b2ec10b
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..57b794a
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,28 @@
+apply plugin: 'groovy'
+apply plugin: 'codenarc'
+
+String jcenterRepo = System.getenv('ARTIFACTORY_URL') ?: 'https://artifactory.mcp.mirantis.net/jcenter'
+String rulesFile = 'codenarcRules.groovy'
+
+repositories {
+ maven {
+ url jcenterRepo
+ }
+}
+
+
+sourceSets {
+ main {
+ groovy {
+ exclude rulesFile
+ srcDir '.'
+ }
+ }
+}
+
+compileGroovy.enabled = false
+
+codenarc {
+ configFile = new File(rulesFile)
+ reportFormat = 'console'
+}