Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

vbotay/jenkins-job-builder-nodejs-executor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jenkins-job-builder-nodejs-executor

NB

This plugin can be useless if this request is merged Starting with 2.0.0.0b3.dev334 you are not able to use this plugin. This functionality is presented in core of JJB

Installation

Install it in additional to installed Jenkins Job Builder

pip install -e git+git://github.com/vbotay/jenkins-job-builder-nodejs-executor.git#egg=jjb-nodejs-executor

Or specify the package in requirements.txt if you install JJB from sources

Usage

Describe nodejs step under builders step in job definition.

  • name(optional) - name of preconfigured NodeJS installation
  • script(mandatory) - NodeJS script or you can use'!include-raw-escape: some-script.js'
  • config-id(optional) - ID of npmrc config file, which is the last field (a 32-digit hexadecimal code) of the path of URL visible after you clicked the file under Jenkins Managed Files.

Example:

builders:
  - nodejs:
      name: "NodeJS_8.1"
      script: "console.log('Some output');"
      config-id: "e3757442-7c21-4a65-a1ff-6c70f5c6df34"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages