Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@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
The npm package @jenkins-cd/blueocean-core-js receives a total of 639 weekly downloads. As such, @jenkins-cd/blueocean-core-js popularity was classified as not popular.
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.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.