Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LOG-7384] Include repo to ws scan #4

Merged
merged 3 commits into from Jan 9, 2020
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

add cci config

  • Loading branch information
ondrejrozsypal committed Jan 8, 2020
commit d2805b59a2c0bd9992fb1cc45d42a64a2de76007
@@ -0,0 +1,46 @@
version: 2.1

executors:
java:
description: "A regular executor based on openjdk image"
docker:
- image: circleci/openjdk:8-jdk

jobs:
whitesource-scan:
executor: java

steps:
- checkout

- run:
name: Install pip
command: |
sudo apt-get update
sudo apt-get install -y python-pip
- run:
name: Download latest WhiteSource Unified Agent
command: curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
- run:
name: Run WhiteSource scan
command: java -jar wss-unified-agent.jar -d ~/project -c ~/project/wss-unified-agent.config -apiKey ${API_KEY}
- store_artifacts:
path: ~/project/whitesource

workflows:
version: 2
commit:
jobs:
- whitesource-scan:
context: whitesource
security-scan:
triggers:
- schedule:
cron: "0 1 * * 0"
filters:
branches:
only:
master
jobs:
- whitesource-scan:
context: whitesource
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.