This commit is contained in:
ajgeiss0702
2021-05-22 10:16:57 -07:00
parent 0aeb06ab68
commit e061fecd1f
+6 -1
View File
@@ -59,11 +59,16 @@ publishing {
maven { maven {
url = uri(mavenUrl) url = uri(mavenUrl)
name = "Gitlab" name = "GitLab"
credentials(HttpHeaderCredentials::class.java) { credentials(HttpHeaderCredentials::class.java) {
name = "Job-Token" name = "Job-Token"
value = System.getenv("CI_JOB_TOKEN") value = System.getenv("CI_JOB_TOKEN")
} }
authentication {
HttpHeaderAuthentication::class.java
}
} }
} }
} }