-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass Artifactory details to Test jobs #3114
Pass Artifactory details to Test jobs #3114
Conversation
- Minimally we need to pass ARTIFACTORY_SERVER to the test jobs in order for them to upload test artifacts to Artifactory. - Write the rest of the Artifactory variables to the build env for future use. - We have the option to pass more of these variables in the future if we wish. See - adoptium/aqa-tests#591 - adoptium/aqa-tests#561 - eclipse-openj9#1017 [skip ci] Signed-off-by: Adam Brousseau <[email protected]>
@jdekonin and @smlambert for review |
ARTIFACTORY_SERVER = VARIABLES.artifactory_server | ||
ARTIFACTORY_REPO = VARIABLES.artifactory_repo | ||
env.ARTIFACTORY_SERVER = VARIABLES.artifactory_server | ||
env.ARTIFACTORY_REPO = VARIABLES.artifactory_repo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because these are set in the Build job, in order to sniff it in the upstream pipeline it has to be written to the environment. The only one we need for this change is the server but the test code will accept repo, num artifacts as well. See PR in description.
Pretty sure this broke the builds. Adding
Previously this would not print because we didn't enter the |
[skip ci] Fixes eclipse-openj9#3114 Signed-off-by: Adam Brousseau <[email protected]>
eclipse-openj9#3129 eclipse-openj9#3114 [skip ci] Signed-off-by: Adam Brousseau <[email protected]>
to the test jobs in order for them to upload
test artifacts to Artifactory.
to the build env for future use.
variables in the future if we wish.
See
[skip ci]
Signed-off-by: Adam Brousseau [email protected]