Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

henge-ruff-jenkins

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

henge-ruff-jenkins - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

README.md

20

bld/index.js

@@ -12,4 +12,4 @@ "use strict";

const dotgit_1 = require('dotgit');
const BRANCH = process.env['GIT_BRANCH'];
const JENKINS_URL = process.env['JENKINS_URL'] || 'http://jenkins.nanchao.org:8080/';
const BRANCH = process.env['GIT_BRANCH'];
const henge_1 = require('henge');

@@ -35,7 +35,9 @@ class default_1 {

let configJobName = this.getFullJobName('config');
let configUrl = this.project.local ?
process.env['HENGE_RUFF_LOCAL_CONFIG'] || '.' :
URL.resolve(JENKINS_URL, `/job/${configJobName}/lastSuccessfulBuild/artifact`);
return {
branch: this.branch,
build: process.env['BUILD_NUMBER'] || 'local',
jenkinsUrl: JENKINS_URL,
embeddedPlatformsConfigurationUrl: URL.resolve(JENKINS_URL, `/job/${configJobName}/lastSuccessfulBuild/artifact/embedded-platforms.json`)
configUrl
};

@@ -59,2 +61,14 @@ }

}
getDefaultArtifactId(platform) {
let project = this.project;
let id = `${project.name}-${project.version}`;
if (platform) {
id += `-${platform.name}`;
}
let build = process.env['BUILD_NUMBER'];
if (build && this.branch !== 'master') {
id += `-SNAPSHOT-${build}`;
}
return id;
}
}

@@ -61,0 +75,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

4

package.json
{
"name": "henge-ruff-jenkins",
"description": "Ruff Jenkins Plugin for Henge",
"version": "0.2.1",
"version": "0.2.2",
"main": "bld/index.js",

@@ -12,3 +12,3 @@ "dependencies": {

"peerDependencies": {
"henge": "^0.2.0"
"henge": "^0.2.4"
},

@@ -15,0 +15,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc