Skip to content

Commit

Permalink
Merge pull request #29 from opengeospatial/java17Tomcat101Teamengine6
Browse files Browse the repository at this point in the history
Closes #28
  • Loading branch information
dstenger authored Jan 27, 2025
2 parents a7a6907 + d26d386 commit e74a5e9
Show file tree
Hide file tree
Showing 42 changed files with 2,131 additions and 2,128 deletions.
6 changes: 3 additions & 3 deletions jenkinsfiles/build/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pipeline {
agent any
tools {
maven 'mvn'
jdk 'JDK 8'
maven 'mvn396'
jdk 'temurin-jdk17'
}
stages {
stage('Preparation') {
Expand All @@ -14,7 +14,7 @@ pipeline {
stage('Build') {
steps{
sh 'mvn --version'
sh 'mvn clean install site -Pdocker'
sh 'mvn clean install site -Pintegration-tests,docker -Dsoapui.test.fail.ignore=true'
}
}
stage('Results') {
Expand Down
19 changes: 10 additions & 9 deletions jenkinsfiles/release/Jenkinsfile
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()
}
}
}
Expand Down
Loading

0 comments on commit e74a5e9

Please sign in to comment.