-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make maven sonatype plugin work also with Java 17, and publish for 17…
… only (#58) * Make maven sonatype plugin work also with Java 17 Signed-off-by: see-quick <maros.orsak159@gmail.com> * remove flakiness of test cases Signed-off-by: see-quick <maros.orsak159@gmail.com> * add conditional to push only in Java 17 Signed-off-by: see-quick <maros.orsak159@gmail.com> --------- Signed-off-by: see-quick <maros.orsak159@gmail.com>
- Loading branch information
Showing
3 changed files
with
27 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
parameters: | ||
- name: JDK_VERSION | ||
type: string | ||
default: '17' | ||
steps: | ||
- bash: ".azure/scripts/push_to_nexus.sh" | ||
env: | ||
GPG_PASSPHRASE: $(GPG_PASSPHRASE) | ||
GPG_SIGNING_KEY: $(GPG_SIGNING_KEY) | ||
NEXUS_USERNAME: $(NEXUS_USERNAME) | ||
NEXUS_PASSWORD: $(NEXUS_PASSWORD) | ||
displayName: "Push artifacts to Nexus repository" | ||
condition: and(succeeded(), or(eq(variables.isMain, true), eq(variables.isTagBranch, true)), eq(${{ parameters.JDK_VERSION }}, '17')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters