From 26e38322a56aec790db8c622fe78afa30fc32916 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Fri, 6 Apr 2018 16:41:13 -0700 Subject: [PATCH] Add npmrc and pipconf to Config File Provider 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 --- jenkins/scripts/create-jjbini.groovy | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jenkins/scripts/create-jjbini.groovy b/jenkins/scripts/create-jjbini.groovy index b1f8f11..33293d0 100644 --- a/jenkins/scripts/create-jjbini.groovy +++ b/jenkins/scripts/create-jjbini.groovy @@ -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); } -- 2.16.6