Skip to content

Commit df7be3d

Browse files
authored
Fixed credentials handling to push to Sonatype Central Portal (#143)
Signed-off-by: Paolo Patierno <[email protected]>
1 parent 8787b29 commit df7be3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.azure/templates/steps/push_artifacts.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ steps:
77
env:
88
GPG_PASSPHRASE: $(GPG_PASSPHRASE)
99
GPG_SIGNING_KEY: $(GPG_SIGNING_KEY)
10-
NEXUS_USERNAME: $(CENTRAL_USERNAME)
11-
NEXUS_PASSWORD: $(CENTRAL_PASSWORD)
10+
CENTRAL_USERNAME: $(CENTRAL_USERNAME)
11+
CENTRAL_PASSWORD: $(CENTRAL_PASSWORD)
1212
displayName: "Push artifacts to Nexus repository"
1313
condition: and(succeeded(), or(eq(variables.isMain, true), eq(variables.isTagBranch, true)), eq(${{ parameters.JDK_VERSION }}, '17'))

0 commit comments

Comments
 (0)