Skip to content

jenkinsci/ecs-publisher-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrustSource Plugin 4 Jenkins

Jenkins plugin to transfer dependency information to TrustSource service (OpenSource Compliance & Vulnerabilities). It does not only allow transferring the dependencies and automated vulnerability assessment but also to warn or break builds depending on legal status. Find more about trustSource at https://app.trustsource.io

some screenshot

Requirements

  • Chart.js >= 2.6.0
  • org.apache.httpcomponents.httpclient >=4.5.3
  • org.apache.httpcomponents.fluent-hc >=4.5.3

Supported plugins

Installation

There are two ways to install that plugin.

1) installation through jenkins

To do that go to plugin manager page on jenkins and click on "available" tab(/pluginManager/available). Then find plugin by name "ecs-publisher", toggle checkbox and click install.

2) install from source Run the following commands:

# Clone source code
git clone git@github.com:jenkinsci/ecs-publisher-plugin
# Generate *.hpi package
mvn package
# package will be located at target/ecspublisher.hpi

Then go to plugin manager page on jenkins and click on "advanced" tab(/pluginManager/advanced).

Then find upload plugin block and choose *.hpi package and click upload. jenkins-upload-plugin

Usage

  • First you need to setup global configuration for this plugin.

You can skip that step if you want to save configuration under step definition.

Go to "Manage Jenkins" and click "Configure System" configure(/configure).

jenkins-global-config

Then find block called "TrustSource publisher", change configuration and click "save"

  • Secondly you need go to project configuration
    • Add post-build action called "ecspublisher"
    • Type project name jenkins-post-build-action-closed
    • If your project has different structure you can specify paths to plugins
    • You can override global configuration just toggle checkboxes jenkins-post-build-action-open
    • Click "save"

After you add post-build action it will automatically create two pages ECS analysis for build and project. jenkins-ecs-analysis

Development

This plugin can be built and started with maven and Jenkins hpi plugin: Just run command:

./run

Jenkins will be available on port 8089

Deploy

mvn release:prepare release:perform

Changelog

1.1.0

  • Added maven and gradle support
  • Added branch, tag sending support

1.0.1

  • Updated default url to app.trustsource.io
  • Security changes

About

Integrates TrustSource scan capability with Jenkins

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 93.2%
  • HTML 3.4%
  • JavaScript 2.5%
  • Other 0.9%