Skip to content

a-st/bitbucket-pipelines-pipe-fsrt-reporting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitbucket Pipelines Pipe: ESLint Reporting

This pipe runs the FSRT - Forge Security Requirements Tester in Bitbucket Pipelines

YAML Definition

Add the following snippet to the script section of your bitbucket-pipelines.yml file:

- pipe: docker://astraube/fsrt-report-pipe:latest
  variables:
    FSRT_OPTIONS: "<string>" # Optional options
    FSRT_DIRS: "<string>" # The directory to scan

Variables

Variable Usage
FSRT_OPTIONS Optional options
FSRT_DIRS The directory to scan. Assumes there is a manifest.yaml file in the top level directory, and that the source code is located in src/

(*) = required variable.

Examples

Basic example

pipelines:
  default:
    - step:
        name: Run NPM
        script:
          - npm install
          - forge lint
    - step:
        name: FSRT Reporting
        script:
          - pipe: docker://astraube/fsrt-report-pipe:latest
            variables:
              FSRT_OPTIONS: "--out fsrt-report.json"
              FSRT_DIRS: $BITBUCKET_CLONE_DIR

References