Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: CI - MAIN

env:
JAVA_VERSION: '21'
MAVEN_VERSION: "3.9.16"

on:
Expand All @@ -22,11 +23,14 @@ jobs:
- name: Scan With Black Duck
uses: cap-java/.github/actions/scan-with-blackduck@main
with:
blackduck_token: ${{ secrets.BLACK_DUCK_TOKEN }}
maven-version: ${{ env.MAVEN_VERSION }}
project-name: com.sap.cds.feature.ord
included-modules: cds-feature-ord
scan_mode: FULL
included-modules: cds-feature-ord
project-name: com.sap.cds.feature.ord
excluded-dirs: '**/*test*,**/target/site'
java-version: ${{ env.JAVA_VERSION }}
maven-version: ${{ env.MAVEN_VERSION }}
github_token: ${{ secrets.GITHUB_TOKEN }}
blackduck_token: ${{ secrets.BLACK_DUCK_TOKEN }}

build-and-test:
uses: ./.github/workflows/pipeline.yml
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: CI - PR

env:
JAVA_VERSION: '21'
MAVEN_VERSION: "3.9.16"

on:
Expand All @@ -23,14 +24,14 @@ jobs:
- name: Scan With Black Duck
uses: cap-java/.github/actions/scan-with-blackduck@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
blackduck_token: ${{ secrets.BLACK_DUCK_TOKEN }}
java-version: 21
maven-version: ${{ env.MAVEN_VERSION }}
project-name: com.sap.cds.feature.ord
included-modules: cds-feature-ord
scan_mode: RAPID
included-modules: cds-feature-ord
project-name: com.sap.cds.feature.ord
excluded-dirs: '**/*test*,**/target/site'
java-version: ${{ env.JAVA_VERSION }}
maven-version: ${{ env.MAVEN_VERSION }}
github_token: ${{ secrets.GITHUB_TOKEN }}
blackduck_token: ${{ secrets.BLACK_DUCK_TOKEN }}
# rapid_compare_mode: BOM_COMPARE # PRs might only be blocked by things they introduce, not by pre-existing issues that could have appeared in the main branch in the meantime

build-and-test:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,14 @@ jobs:
- name: Scan With Black Duck
uses: cap-java/.github/actions/scan-with-blackduck@main
with:
blackduck_token: ${{ secrets.BLACK_DUCK_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
maven-version: ${{ env.MAVEN_VERSION }}
project-name: com.sap.cds.feature.ord
included-modules: cds-feature-ord
project-name: com.sap.cds.feature.ord
excluded-dirs: '**/*test*,**/target/site'
java-version: ${{ env.JAVA_VERSION }}
maven-version: ${{ env.MAVEN_VERSION }}
github_token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ github.event.release.tag_name }}
blackduck_token: ${{ secrets.BLACK_DUCK_TOKEN }}

build:
name: Build
Expand Down
Loading