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

henge-ruff-jenkins

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

henge-ruff-jenkins

Ruff Jenkins Plugin for Henge

  • 0.3.6
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
3
Weekly downloads
 
Created
Source

Ruff Jenkins Plugin for Henge

This plugin provides common variables and extensions for Henge on Ruff Jenkins.

Variables

NameDescription
branchCurrent Git branch, defaults to environment variable GIT_BRANCH. For complete resolving logic, please check out the source code.
jenkinsUrlDefaults to environment variable JENKINS_URL, fallbacks to 'http://jenkins.nanchao.org:8080/'.
configUrlBase url or path under which the configuration files are stored. For example "{configUrl}/embedded-platforms.json".

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:

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

Jenkins Artifact Resolving

This plugin adds the ability to resolve Jenkins dependencies to proper artifact URLs.

Some extra options are provided:

  • job: Jenkins job name.
  • singleNode?: - Indicates whether the target multiplatform artifact is built on a single node (usually for embedded cross-compilation configuration) instead of several ones (usually for PCs).
  • branch?: - Resolve this dependency to specific branch (one of "master", "release" and "develop").

GitHub Resolving

GitHub resolving is also provided with following options:

  • github: GitHub project path, in the form of <username>/<project>.
  • branch?: - Branch to resolve, default to "master".

Default Artifact ID

This plugin also provides default artifact ID for artifacts, the ID could look like:

  • "{name}-{version}" (master or local)
  • "{name}-{version}-{platform}" (master or local, multiplatform)
  • "{name}-{version}-SNAPSHOPT-{build}" (other braches on Jenkins)
  • "{name}-{version}-{platform}-SNAPSHOPT-{build}" (other braches on Jenkins, multiplatform)

Build

To build this plugin:

npm install # Install dependencies
npm install henge # Do not need to save
npm run build # Compile TypeScript

Or you can use watch mode for compilation during development:

npm run build -- -w

FAQs

Package last updated on 12 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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