Skip to content
Snippets Groups Projects
Commit b0bb818e authored by erbel's avatar erbel
Browse files

Adjust uploadArchives task

parent 09143d65
No related branches found
No related tags found
No related merge requests found
Pipeline #119955 running
......@@ -44,7 +44,10 @@ uploadArchives {
repository(url: "https://nexus.informatik.uni-goettingen.de/content/repositories/rwm/") {
authentication(userName: System.getenv('NEXUSUSER'), password: System.getenv('NEXUSPASSWORD'))
}
pom.version = System.getenv('VERSION')
if (System.getenv('VERSION') != null) {
pom.version = System.getenv('VERSION')
println "Version is set to: " + System.getenv('VERSION')
}
pom.artifactId = "connector"
pom.groupId = "de.ugoe.cs.rwm.mocci"
}
......
......@@ -39,7 +39,10 @@ uploadArchives {
repository(url: "https://nexus.informatik.uni-goettingen.de/content/repositories/rwm/") {
authentication(userName: System.getenv('NEXUSUSER'), password: System.getenv('NEXUSPASSWORD'))
}
pom.version = System.getenv('VERSION')
if (System.getenv('VERSION') != null) {
pom.version = System.getenv('VERSION')
println "Version is set to: " + System.getenv('VERSION')
}
pom.artifactId = "connector"
pom.groupId = "de.ugoe.cs.rwm.mocci"
}
......
......@@ -43,7 +43,10 @@ uploadArchives {
repository(url: "https://nexus.informatik.uni-goettingen.de/content/repositories/rwm/") {
authentication(userName: System.getenv('NEXUSUSER'), password: System.getenv('NEXUSPASSWORD'))
}
pom.version = System.getenv('VERSION')
if (System.getenv('VERSION') != null) {
pom.version = System.getenv('VERSION')
println "Version is set to: " + System.getenv('VERSION')
}
pom.artifactId = "edit"
pom.groupId = "de.ugoe.cs.rwm.mocci.model"
}
......
......@@ -73,7 +73,10 @@ uploadArchives {
repository(url: "https://nexus.informatik.uni-goettingen.de/content/repositories/rwm/") {
authentication(userName: System.getenv('NEXUSUSER'), password: System.getenv('NEXUSPASSWORD'))
}
pom.version = System.getenv('VERSION')
if (System.getenv('VERSION') != null) {
pom.version = System.getenv('VERSION')
println "Version is set to: " + System.getenv('VERSION')
}
pom.artifactId = "model"
pom.groupId = "de.ugoe.cs.rwm.mocci"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment