Commit
… the npmrc user config file to handle NPM registries, scope and credentials. Builder generate the configuration file and delete it when finish.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,11 @@ | |
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>config-file-provider</artifactId> | ||
<version>2.13</version> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
nfalco79
Author
Member
|
||
</dependency> | ||
</dependencies> | ||
|
||
<repositories> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package jenkins.plugins.nodejs; | ||
|
||
public final class NodeJSConstants { | ||
|
||
/** | ||
* Default extension for javascript file. | ||
*/ | ||
public static final String JAVASRIPT_EXT = ".js"; | ||
|
||
/** | ||
* The location of user-level configuration settings. | ||
*/ | ||
public static final String NPM_USERCONFIG = "npm_config_userconfig"; | ||
|
||
private NodeJSConstants() { | ||
// constructor | ||
} | ||
} |
this version of the config-file-provider is not a good base to start a new integration, you must use the newest one
2.15.4
. A lot of the API got changed and no backward compatibility is provided...