diff --git a/build.gradle b/build.gradle
index 5c6ed5850a199e9dd88211732f8dd218355b552c..c71c8c273e765e2321e86201e2cf98274e1ac4de 100644
--- a/build.gradle
+++ b/build.gradle
@@ -409,12 +409,11 @@ if (project.hasProperty('ossrhUsername')) {
 	}
 }
 
-version = fullVersion + "-dresden"
-//187
+version = fullVersion + "-dresden" + "-$System.env.CI_PIPELINE_IID"
+
 publishing {
     publications {
         maven(MavenPublication) {
-            // artifactId = 'ragconnect'
             artifact("jastadd2.jar") {
                 extension 'jar'
             }
@@ -422,12 +421,7 @@ publishing {
     }
     repositories {
         maven {
-            url "https://git-st.inf.tu-dresden.de/api/v4/projects/187/packages/maven"
-            // Uncomment the following lines to publish manually (and comment out the other credentials section)
-//            credentials(HttpHeaderCredentials) {
-//                name = "Private-Token"
-//                value = gitLabPrivateToken // the variable resides in ~/.gradle/gradle.properties
-//            }
+            url "https://git-st.inf.tu-dresden.de/api/v4/projects/$System.env.CI_PROJECT_ID/packages/maven"
             credentials(HttpHeaderCredentials) {
                 name = 'Job-Token'
                 value = System.getenv("CI_JOB_TOKEN")