Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@jenkins-cd/blueocean-core-js
Advanced tools
Shared JavaScript libraries for use with Jenkins Blue Ocean
This is an npm module that contains common javascript libraries/utilities that are used across modules and plugins in Blue Ocean.
The blueocean-core-js is not automatically incorporated into full builds of the blueocean-plugin project. It is published as its own npm module which is then referenced in other Blue Ocean plugins, notably:
To test changes in blueocean-core-js, perform the following steps:
npm run gulp
npm publish --tag beta
(the "beta" tag is important)
bin/cleanInstall.js @jenkins-cd/blueocean-core-js@0.0.90-SNAPSHOT-1
npm install @jenkins-cd/blueocean-core-js@0.0.90-SNAPSHOT-1 -S -E
Once the changes to blueocean-core-js are approved via PR, perform the following steps:
npm run gulp
npm publish
bin/cleanInstall.js @jenkins-cd/blueocean-core-js@0.0.90
npm install @jenkins-cd/blueocean-core-js@0.0.90 -S -E
Tests are run via jest using the gulp-jest plugin. Three modes of execution are supported:
npm run test
Runs 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-fast
Runs jest without test reports or coverage. Fastest run, useful for local development.
npm run test-debug
Runs 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
FAQs
Shared JavaScript libraries for use with Jenkins Blue Ocean
We found that @jenkins-cd/blueocean-core-js 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.