File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,29 @@ build_win_task:
72
72
- git submodule update --init
73
73
- mvn.cmd -s /c/buildTools-docker/settings-public.xml test -DskipTypeshed=true
74
74
cleanup_before_cache_script : cleanup_maven_repository
75
+
76
+ ws_scan_task :
77
+ depends_on :
78
+ - build
79
+ gke_container :
80
+ << : *CONTAINER_DEFINITION
81
+ cpu : 2
82
+ memory : 2G
83
+ # run only on master and long-term branches
84
+ only_if : $CIRRUS_USER_COLLABORATOR == 'true' && ($CIRRUS_BRANCH == "master" || $CIRRUS_BRANCH =~ "branch-.*")
85
+ env :
86
+ WS_APIKEY : ENCRYPTED[!3929c6148b9dfc751a2d17c590b15d755f82cd9c108f2de5f24a5b32f2a0c26144e921fab7e2c959fc2824d6d6d1550d!]
87
+ maven_cache :
88
+ folder : ${CIRRUS_WORKING_DIR}/.m2/repository
89
+ whitesource_script :
90
+ - source cirrus-env QA
91
+ - source set_maven_build_version $BUILD_NUMBER
92
+ - mvn clean install -DskipTests
93
+ - source ws_scan.sh
94
+ allow_failures : " true"
95
+ always :
96
+ ws_artifacts :
97
+ path : " whitesource/**/*"
75
98
76
99
plugin_qa_task :
77
100
depends_on :
@@ -123,6 +146,7 @@ promote_task:
123
146
depends_on :
124
147
- ruling
125
148
- plugin_qa
149
+ - ws_scan
126
150
only_if : $CIRRUS_PR != "" || $CIRRUS_BRANCH == "master" || $CIRRUS_BRANCH =~ "branch-.*"
127
151
gke_container :
128
152
<< : *CONTAINER_DEFINITION
Original file line number Diff line number Diff line change
1
+ # WhiteSource documentation https://whitesource.atlassian.net/wiki/spaces/WD/pages/1544880156/Unified+Agent+Configuration+Parameters
2
+
3
+ excludes=**/*sources.jar **/*javadoc.jar its/sources/** its/plugin/it-python-plugin-test/projects/**
4
+ fileSystemScan=False
5
+ resolveAllDependencies=False
6
+
7
+ maven.aggregateModules=True
8
+ maven.downloadMissingDependencies=False
9
+ maven.m2RepositoryPath=.m2/repository
10
+ maven.resolveDependencies=True
11
+ maven.runPreStep=False
12
+
13
+ wss.url=https://saas-eu.whitesourcesoftware.com/agent
14
+
15
+ forceUpdate=true
16
+ checkPolicies=true
17
+ forceUpdate.failBuildOnPolicyViolation=true
You can’t perform that action at this time.
0 commit comments