blueocean-plugin

(★ 2,881)

Blue Ocean is a reboot of the Jenkins CI/CD User Experience

File Explorer

Showing a partial file list — download the zip above to see everything.

  • .dockerignore
  • .editorconfig
  • .eslintrc
  • .gitignore
  • .npmignore
  • .prettierrc.yaml
  • ANALYTICS_EVENTS.md
  • CHANGELOG.md
  • CODEOWNERS
  • CONTRIBUTING.md
  • Dockerfile
  • Dockerfile.build
  • Dockerfile.sc
  • Jenkinsfile
  • Jenkinsfile-build-image
  • LICENSE.txt
  • PULL_REQUEST_TEMPLATE
  • README.md

# Installation Guide

java
Prerequisites

Setup Steps

mvn clean install

Build all maven modules and install them locally.

mvn -f blueocean/pom.xml hpi:run

Run Jenkins instance with Blue Ocean locally.

Key Commands

mvn clean install

Clean and build all modules in the multi-module maven project.

mvn clean install -DskipTests

Build the project skipping tests, often required on Windows.

mvn -f blueocean/pom.xml hpi:run

Run the Jenkins development server with Blue Ocean using the aggregator pom.

macOS users must use JDK 1.8 to avoid build failures. Access http://localhost:8080/jenkins/blue after starting.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Showing a partial file list.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

mvn

View Details ▼

Apache Maven: build and manage Java-based projects.

mvn compile

Compile a project:

mvn package

Compile and package the compiled code in its distributable format, such as a `jar`:

mvn package {{[-D|--define]}} skipTests

Compile and package, skipping unit tests:

🔍

ncu

View Details ▼

Find newer versions of package dependencies and check outdated npm packages locally or globally.
`ncu` only updates dependency versions in `package.json`. To install the new versions, run `npm install` afterwards.

ncu

List outdated dependencies in the current directory:

ncu --global

List outdated global `npm` packages:

ncu --upgrade

Upgrade all dependencies in the current directory:

🔍

npm install

View Details ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

🔍

npm shrinkwrap

View Details ▼

Lock down the dependencies of a package, creating a `npm-shrinkwrap.json` file.
Similar to `package-lock.json` but intended for published packages.

npm shrinkwrap

Generate a `npm-shrinkwrap.json` file from the current `package-lock.json`:

npm shrinkwrap --production

Run in production mode (excludes devDependencies):

npm shrinkwrap --force

Force recreate the shrinkwrap file even if it already exists:

🔍

npm uninstall

View Details ▼

Remove a package.

npm {{[r|uninstall]}} {{package_name}}

Remove a package from the current project:

npm {{[r|uninstall]}} {{package_name}} {{[-g|--global]}}

Remove a package globally:

npm {{[r|uninstall]}} {{package_name1 package_name2 ...}}

Remove multiple packages at once:

🔍

npm

View Details ▼

JavaScript and Node.js package manager.
Manage Node.js projects and their module dependencies.
Some subcommands such as `install`, `run`, etc. have their own usage documentation.

npm init {{[-y|--yes]}}

Create a `package.json` file with default values (omit `--yes` to do it interactively):

npm {{[i|install]}}

Download all the packages listed as dependencies in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

// repository documentation