-
Notifications
You must be signed in to change notification settings - Fork 0
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 #29 from opengeospatial/java17Tomcat101Teamengine6
Closes #28
- Loading branch information
Showing
42 changed files
with
2,131 additions
and
2,128 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
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 |
---|---|---|
@@ -1,34 +1,35 @@ | ||
pipeline { | ||
agent any | ||
tools { | ||
maven 'mvn' | ||
jdk 'JDK 8' | ||
maven 'mvn396' | ||
jdk 'temurin-jdk17' | ||
} | ||
stages { | ||
stage('Preparation') { | ||
stage('Initialize') { | ||
steps{ | ||
deleteDir() | ||
sh 'git clone [email protected]:opengeospatial/ets-swecommon20.git .' | ||
sh ''' | ||
echo "PATH = ${PATH}" | ||
echo "M2_HOME = ${M2_HOME}" | ||
''' | ||
sh 'mvn --version' | ||
} | ||
} | ||
stage('Release') { | ||
steps{ | ||
sh 'mvn --version' | ||
sh 'mvn -Dresume=false -DdryRun=true release:prepare -Psign-artifacts-with-ogc,integration-tests,docker -DreleaseVersion=${releaseVersion} -DdevelopmentVersion=${developmentVersion}' | ||
sh 'mvn -Dresume=false release:prepare release:perform -Psign-artifacts-with-ogc,integration-tests,docker -DreleaseVersion=${releaseVersion} -DdevelopmentVersion=${developmentVersion}' | ||
} | ||
} | ||
stage('Publication of site') { | ||
steps{ | ||
sh 'mvn --version' | ||
sh 'git checkout ${releaseVersion}' | ||
sh 'mvn clean install site site:stage scm-publish:publish-scm' | ||
} | ||
} | ||
stage('Results') { | ||
steps{ | ||
junit '**/target/surefire-reports/TEST-*.xml' | ||
archive 'target/*' | ||
archiveArtifacts artifacts: 'target/*', allowEmptyArchive: true | ||
deleteDir() | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.