Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

jenkinsci/skip-notifications-trait-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

574 Commits

Skip notifications trait plugin

Build Status Coverage LOC Jenkins Plugin GitHub release GitHub license Jenkins Plugin Installs

This is an extension plugin which adds custom feature to the Bitbucket and GitHub Branch Source plugins, allowing to disable build status notifications.

Similar to the Disable GitHub Multibranch Status plugin.

Usage

BitBucket

 checkout resolveScm(
 source: bitbucket(
 repoOwner: 'example-owner',
 repository: 'example-repository',
 traits: [
 bitbucketSkipNotifications(),
 ...,
 ]
 )
 )

Github

 checkout resolveScm(
 source: github(
 repoOwner: 'example-owner',
 repository: 'example-repository',
 traits: [
 githubSkipNotifications(),
 ...,
 ]
 )
 )

Via Jenkins UI

Edit the configuration of your job under Branch Sources Behaviors → Search for Skip build status notifications:

image

Don't forget to save the changes.

License

MIT License

More information

It was initially submitted as a PR for core plugin PR, but owners suggested to package it as an extension.

About

Add a Jenkins trait to disable build notifications

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 10

AltStyle によって変換されたページ (->オリジナル) /