Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
[MTM-30857]: Introduce configuration and script for scanning C# SDK 3…
Browse files Browse the repository at this point in the history
…rd parties
  • Loading branch information
c8y-kh4mell committed Sep 30, 2020
1 parent 1a0a617 commit 3371660
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .jenkins/scripts/scan_dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
if [ -z "$TPP_FETCHER_URL" ]; then TPP_FETCHER_URL="http://172.30.0.129:8083"; fi


if [[ -e Tpp.toml ]] ; then
curl -sS -o tpp-scanner ${TPP_FETCHER_URL}/tpp-scanner \
&& chmod +x tpp-scanner \
&& ./tpp-scanner -tpp-fetcher-url ${TPP_FETCHER_URL} \
&& rm tpp-scanner
exit 0
fi
27 changes: 27 additions & 0 deletions Tpp.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{{ $version := env "RELEASE_VERSION" }}

name = "c8y-connection-sdk"
revision = "{{ $version }}"

[[scan]]
type = "VSC#"
path = "MQTT-SDK/src/Cumulocity.SDK.MQTT/Cumulocity.SDK.MQTT.csproj"
excludes = ["com.nsn.cumulocity"]

[[scan]]
type = "VSC#"
path = "MQTT-SDK/src/MQTT.Client.NetStandard/MQTT.NetStandard.csproj"
excludes = ["com.nsn.cumulocity"]

[[scan]]
type = "VSC#"
path = "REST-SDK/src/Cumulocity.SDK.Client/Cumulocity.SDK.Client.csproj"
excludes = ["com.nsn.cumulocity"]

[[scan]]
type = "VSC#"
path = "REST-SDK/src/cometd.NetStandard/Cometd.NetStandard.csproj"
excludes = ["com.nsn.cumulocity"]



0 comments on commit 3371660

Please sign in to comment.