Skip to content

Commit

Permalink
Merge pull request deegree#111 from deegree/removeBuildStepFromJenkin…
Browse files Browse the repository at this point in the history
…sfile

Removed deploy step from pipeline
  • Loading branch information
stephanr authored Dec 1, 2023
2 parents 4039e48 + 0c5c3d7 commit 18ecfc5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 0 additions & 10 deletions jenkinsfiles/build/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,6 @@ pipeline {
}
}
}
stage('Deploy') {
when {
branch 'main'
}
steps {
withCredentials([usernamePassword(credentialsId: 'nexus-deploy', passwordVariable: 'PASSWORD_VAR', usernameVariable: 'USERNAME_VAR')]) {
sh 'mvn -B deploy -Dskip.unit.tests=true -s ${WORKSPACE}/settings.xml -Drepo.username=${USERNAME_VAR} -Drepo.password=${PASSWORD_VAR} -pl :deegree-ogcapi-webapp-postgres,:deegree-ogcapi-webapp-oracle,:deegree-ogcapi-documentation,:deegree-ogcapi-schema'
}
}
}
stage ('Release') {
when {
allOf {
Expand Down
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,13 @@
<!-- Travis build workaround -->
<argLine>-Xms1024m -Xmx2048m</argLine>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>3.2.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit 18ecfc5

Please sign in to comment.