
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@jenkins-cd/blueocean-dashboard
Advanced tools
This plugin provides the main Dashboard user interface for Blue Ocean. It has a bunch of GUI components and extension points for other plugins to extend. This is where the fun happens.
blueocean and run mvn hpi:run in a terminal. (mvn clean install from the root of the project is always a good idea regularly!)npm run bundle:watch to watch for JS changes and reload them.mvn hpi:run process.We are supporting React Storybook https://voice.kadira.io/introducing-react-storybook-ec27f28de1e2#.8zsjledjp
npm run storybook
Then it’ll start a webserver on port 9001. Further on any change it will refresh the page for you on the browser. The design is not the same as in blueocean yet but you can fully develop the components without a running jenkins,
Basically, a story is a single view of a component. It's like a test case, but you can preview it (live) from the Storybook UI.
You can write your stories anywhere you want. But keeping them close to your components is a pretty good idea.
Let's write some stories:
// src/main/js/components/stories/button.js
import React from 'react';
import { storiesOf, action } from '@kadira/storybook';
storiesOf('Button', module)
.add('with a text', () => (
<button onClick={action('clicked')}>My First Button</button>
))
.add('with no text', () => (
<button></button>
));
Here, we simply have two stories for the built-in button component. But, you can import any of your components and write stories for them instead.
Now you need to tell Storybook where it should load the stories from. For that, you need to add the new story to the configuration file .storybook/config.js:
// .storybook/config.js
import { configure } from '@kadira/storybook';
function loadStories() {
require('../src/main/js/components/stories/index');
require('../components/stories/button'); // add this line
}
configure(loadStories, module);
or to the src/main/js/components/stories/index.js (this is the preferred way):
// src/main/js/components/stories/index.js
require('./pipelines');
require('./status');
require('./button'); // add this line
That's it. Now simply run “npm run storybook” and start developing your components.
Tests are run via jest using the gulp-jest plugin. Three modes of execution are supported:
npm run testRuns jest and outputs JUnit test reports and code coverage metrics, in the 'reports' and 'coverage' dirs. This is the "full" execution that is run in CI.
npm run test-fastRuns jest without test reports or coverage. Fastest run, useful for local development.
npm run test-debugRuns jest in debug mode listening on localhost:5858. You must attach a debugger for execution to proceed. Test reports and coverage are skipped.
All of the above profiles support executing one or more tests via jest's testPathPattern parameter:
npm run test:fast -- --test test/js/UrlUtils-spec.js # one test
npm run test:fast -- --test /capability/ # any tests in a 'capability' dir
npm run test:fast -- --test Url # any test with 'Url' in the name
ESLint with React linting options have been enabled.
npm run lint
You can use the command lint:fix and it will try to fix all offenses, however there maybe some more that you need to fix manually.
npm run lint:fix
You can use the command lint:watch and it will give rapid feedback (as soon you save, lint will run) while you try to fix all offenses.
gulp lint:watch --continueOnLint
FAQs
Dashboard for Jenkins Blue Ocean
We found that @jenkins-cd/blueocean-dashboard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?

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.

Research
/Security News
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.