henge-ruff-jenkins
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -14,2 +14,3 @@ "use strict"; | ||
const JENKINS_URL = process.env['JENKINS_URL'] || 'http://jenkins.nanchao.org:8080/'; | ||
const HENGE_RUFF_CONFIG_DIR = process.env['HENGE_RUFF_CONFIG_DIR'] || '.'; | ||
const henge_1 = require('henge'); | ||
@@ -36,3 +37,3 @@ class default_1 { | ||
let configUrl = this.project.local ? | ||
process.env['HENGE_RUFF_LOCAL_CONFIG'] || '.' : | ||
HENGE_RUFF_CONFIG_DIR : | ||
URL.resolve(JENKINS_URL, `/job/${configJobName}/lastSuccessfulBuild/artifact`); | ||
@@ -39,0 +40,0 @@ return { |
{ | ||
"name": "henge-ruff-jenkins", | ||
"description": "Ruff Jenkins Plugin for Henge", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"main": "bld/index.js", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
@@ -13,2 +13,18 @@ # Ruff Jenkins Plugin for Henge | ||
### Local Configuration URL | ||
If you want to use local configuration files, you may add, for example, a | ||
`embedded-platforms.json` file under your project directory, and distribute with | ||
`--local`: | ||
```sh | ||
henge dist --local | ||
``` | ||
Then the `configUrl` variable will have the value `"."`. | ||
If you want to provide reusable configurations, you can add them into a | ||
directory and set environment variable `HENGE_RUFF_CONFIG_DIR` (which will | ||
update the `configUrl` variable). | ||
## Dependency Resolving | ||
@@ -15,0 +31,0 @@ |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
8062
89
51