Add npmrc and pipconf to Config File Provider 08/9808/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 6 Apr 2018 23:41:13 +0000 (16:41 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 6 Apr 2018 23:41:13 +0000 (16:41 -0700)
global-jjb requires these file exist in order to run successfully. For
now the don't include any specific content.

Change-Id: I06a037b0ba449fae7a3fc492f5f2f9ae3c40403e
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
jenkins/scripts/create-jjbini.groovy

index b1f8f11..33293d0 100644 (file)
@@ -31,4 +31,12 @@ user=sandbox
 password=sandbox
 query_plugins_info=True""");
     store.save(config);
+
+    println "--> Creating the NPM RC File"
+    CustomConfig npm_config = new CustomConfig("npmrc", "npmrc-file", "NPM RC File","")
+    store.save(npm_config);
+
+    println "--> Creating the Pip Conf File"
+    CustomConfig pip_config = new CustomConfig("pipconf", "pipconf-file", "Pip Conf","")
+    store.save(pip_config);
 }