Skip to content
Snippets Groups Projects
Commit e74c4f30 authored by Felix Reichenbach's avatar Felix Reichenbach
Browse files

OZG-7906 fix typo in pom, check versions in Jenkinsfile

parent f0624d97
No related branches found
No related tags found
1 merge request!15Ozg 7906 aggregation manager server
......@@ -49,7 +49,11 @@ pipeline {
script {
FAILED_STAGE = env.STAGE_NAME
def rootVersion = getPomVersion('pom.xml')
def jobVersion = getPomVersion('pom.xml')
if(rootVersion != jobVersion) {
error("Version in aggregation-manager-job stimmt nicht mit parent überein.")
}
if(isReleaseBranch()){
if ( !(rootVersion ==~ RELEASE_REGEX)) {
error("Keine Release Version für Branch ${env.BRANCH_NAME}.")
......
......@@ -49,7 +49,7 @@
<jslt.version>0.1.14</jslt.version>
<hibernate-validator.version>8.0.2.Final</hibernate-validator.version>
</properties>
<dependencyManagment>
<dependencyManagement>
<dependencies>
<dependency>
<artifactId>ozg-cloud-spring-boot-starter</artifactId>
......@@ -76,5 +76,5 @@
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagment>
</dependencyManagement>
</project>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment