Skip to content

Commit ad173ce

Browse files
authored
Merge pull request #53 from AdamBurstynski/master
Commented out the windows stages. Upgraded to dependency-check 5.2.2
2 parents cfa6174 + 634484a commit ad173ce

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

Jenkinsfile

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ pipeline {
9595
}
9696
}
9797
}
98-
stage ('Windows') {
99-
agent { label 'server-2016-small' }
100-
steps {
101-
withMaven(maven: 'Maven 3.5.4', jdk: 'jdk8-latest', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings') {
102-
bat 'mvn install -B -DskipStatic=true -DskipTests=true %DISABLE_DOWNLOAD_PROGRESS_OPTS%'
103-
bat 'mvn clean install -B -Dgib.enabled=true -Dgib.referenceBranch=/refs/remotes/origin/%CHANGE_TARGET% %DISABLE_DOWNLOAD_PROGRESS_OPTS%'
104-
}
105-
}
106-
}
98+
// stage ('Windows') {
99+
// agent { label 'server-2016-small' }
100+
// steps {
101+
// withMaven(maven: 'Maven 3.5.4', jdk: 'jdk8-latest', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings') {
102+
// bat 'mvn install -B -DskipStatic=true -DskipTests=true %DISABLE_DOWNLOAD_PROGRESS_OPTS%'
103+
// bat 'mvn clean install -B -Dgib.enabled=true -Dgib.referenceBranch=/refs/remotes/origin/%CHANGE_TARGET% %DISABLE_DOWNLOAD_PROGRESS_OPTS%'
104+
// }
105+
// }
106+
// }
107107
}
108108
}
109109
stage('Full Build') {
@@ -137,14 +137,14 @@ pipeline {
137137
}
138138
}
139139
}
140-
stage ('Windows') {
141-
agent { label 'server-2016-small'}
142-
steps {
143-
withMaven(maven: 'Maven 3.5.4', jdk: 'jdk8-latest', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings') {
144-
bat 'mvn clean install -B %DISABLE_DOWNLOAD_PROGRESS_OPTS%'
145-
}
146-
}
147-
}
140+
// stage ('Windows') {
141+
// agent { label 'server-2016-small'}
142+
// steps {
143+
// withMaven(maven: 'Maven 3.5.4', jdk: 'jdk8-latest', globalMavenSettingsConfig: 'default-global-settings', mavenSettingsConfig: 'codice-maven-settings') {
144+
// bat 'mvn clean install -B %DISABLE_DOWNLOAD_PROGRESS_OPTS%'
145+
// }
146+
// }
147+
// }
148148
}
149149
}
150150
/*

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
<!-- Maven Plugin Version Properties -->
7272
<directory-maven-plugin.version>0.3.1</directory-maven-plugin.version>
73-
<dependency-check-maven.version>3.1.1</dependency-check-maven.version>
73+
<dependency-check-maven.version>5.2.2</dependency-check-maven.version>
7474
<maven-jacoco-plugin.version>0.8.2</maven-jacoco-plugin.version>
7575
<fabric8.docker.plugin.version>0.27.1</fabric8.docker.plugin.version>
7676
<maven-plugin-plugin.version>3.6.0</maven-plugin-plugin.version>
@@ -256,10 +256,8 @@
256256
<version>${dependency-check-maven.version}</version>
257257
<configuration>
258258
<!-- The following properties enable using a mirror for nist NVD data -->
259-
<cveUrl12Modified>${owasp.cveUrl12Modified}</cveUrl12Modified>
260-
<cveUrl20Modified>${owasp.cveUrl20Modified}</cveUrl20Modified>
261-
<cveUrl12Base>${owasp.cveUrl12Base}</cveUrl12Base>
262-
<cveUrl20Base>${owasp.cveUrl20Base}</cveUrl20Base>
259+
<cveUrlModified>${owasp.cveUrlModified}</cveUrlModified>
260+
<cveUrlBase>${owasp.cveUrlBase}</cveUrlBase>
263261
<!-- End NVD mirror configuration -->
264262
<failBuildOnCVSS>2</failBuildOnCVSS>
265263
<skipTestScope>true</skipTestScope>
@@ -285,6 +283,8 @@
285283
${highest-basedir}/dependency-check-maven-config.xml
286284
</suppressionFile>
287285
</suppressionFiles>
286+
<!-- This prevents a build failure on jdk tools jar -->
287+
<skipSystemScope>true</skipSystemScope>
288288
</configuration>
289289
<executions>
290290
<execution>

0 commit comments

Comments
 (0)