This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from B3Partners/geotools21
update GeoTools 20.x -> 21.0
- Loading branch information
Showing
4 changed files
with
82 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.2.xsd"> | ||
<suppress> | ||
<notes><![CDATA[ | ||
Negeer melding mbt gt-main jar, false positive mbt integer overflow in data-tools | ||
]]></notes> | ||
<gav regex="true">^org\.geotools:gt-main:.*$</gav> | ||
<cpe>cpe:/a:data-tools_project:data_tools</cpe> | ||
</suppress> | ||
</suppressions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
timestamps { | ||
|
||
properties([ | ||
[$class: 'jenkins.model.BuildDiscarderProperty', strategy: [$class: 'LogRotator', | ||
artifactDaysToKeepStr: '8', | ||
artifactNumToKeepStr: '3', | ||
daysToKeepStr: '15', | ||
numToKeepStr: '5'] | ||
]]); | ||
|
||
node { | ||
withEnv(["JAVA_HOME=${ tool 'JDK8' }", "PATH+MAVEN=${tool 'Maven 3.6.0'}/bin:${env.JAVA_HOME}/bin"]) { | ||
|
||
stage('Prepare') { | ||
sh "ulimit -a" | ||
sh "free -m" | ||
checkout scm | ||
} | ||
|
||
stage('Build') { | ||
echo "Building branch: ${env.BRANCH_NAME}" | ||
sh "mvn install -Dmaven.test.skip=true -B -V -e -fae -q" | ||
} | ||
|
||
stage('Test') { | ||
echo "Running unit tests" | ||
sh "mvn -e test -B" | ||
} | ||
|
||
stage('Check Javadocs') { | ||
sh "mvn javadoc:javadoc" | ||
} | ||
|
||
stage('Check Test Javadocs') { | ||
sh "mvn javadoc:test-javadoc" | ||
} | ||
|
||
stage('Publish Test Results') { | ||
junit allowEmptyResults: true, testResults: '**/target/surefire-reports/TEST-*.xml, **/target/failsafe-reports/TEST-*.xml' | ||
} | ||
|
||
stage('OWASP Dependency Check') { | ||
echo "Uitvoeren OWASP dependency check" | ||
sh "mvn org.owasp:dependency-check-maven:check -DskipSystemScope=true -DnodeAuditAnalyzerEnabled=false -DnodeAnalyzerEnabled=false -Dformat=XML -DsuppressionFile=./.mvn/owasp-suppression.xml" | ||
|
||
dependencyCheckPublisher canComputeNew: false, defaultEncoding: '', healthy: '85', pattern: '**/dependency-check-report.xml', shouldDetectModules: true, unHealthy: '' | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters