Hopefully fix header auth
This commit is contained in:
parent
c1f3f7e57a
commit
66c80af2d7
|
@ -114,7 +114,10 @@ publishing {
|
|||
|
||||
credentials(HttpHeaderCredentials::class) {
|
||||
name = "Job-Token"
|
||||
value = System.getenv().get("CI_JOB_TOKEN")
|
||||
value = System.getenv()["CI_JOB_TOKEN"]
|
||||
}
|
||||
authentication {
|
||||
create<HttpHeaderAuthentication>("header")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -91,7 +91,10 @@ publishing {
|
|||
|
||||
credentials(HttpHeaderCredentials::class) {
|
||||
name = "Job-Token"
|
||||
value = System.getenv().get("CI_JOB_TOKEN")
|
||||
value = System.getenv()["CI_JOB_TOKEN"]
|
||||
}
|
||||
authentication {
|
||||
create<HttpHeaderAuthentication>("header")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue