-
Notifications
You must be signed in to change notification settings - Fork 278
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
Add TEST_MANIFEST param to check-for-build jenkins job #1585
Conversation
Signed-off-by: Tyler Ohlsen <[email protected]>
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.
Wondering if we can pass null or none instead of if else block. won't matter as param will not be used anywhere and will be consistent
@gaiksaya we can, but then it will show up in Jenkins UI with an extra |
build job: "${TARGET_JOB_NAME}", parameters: [ | ||
string(name: 'INPUT_MANIFEST', value: "${INPUT_MANIFEST}") | ||
], wait: true | ||
} |
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.
This is a hack, but at least it should have else error
, otherwise if this is ever passed to a job that's not distribution-build-... there's no failure and nothing is kicked off.
Then, does passing TEST_MANIFEST into distribution-build-opensearch-dashboards
that doesn't expect it actually fails?
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.
Agreed, there should be an else
branch - this was reviewed and merged in a short time. I'll follow up on that.
Regarding passing TEST_MANIFEST
, it won't fail but could add confusion, see comment above.
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.
It's NBD, but maybe a comment would suffice.
…oject#1585) Signed-off-by: Tyler Ohlsen <[email protected]>
Signed-off-by: Tyler Ohlsen [email protected]
Description
Currently distribution builds are broken due to a missing
TEST_MANIFEST
parameter in the check-for-build jenkins job, which was introduced in thedistribution-build-opensearch
job as part of #1517. This PR adds that.Note that only
distribution-build-opensearch
is using a test manifest, so there's separate logic for thedistribution-build-opensearch-dashboards
job to exclude that parameter for know. In the future these may get merged back, once Dashboards supports integ tests and using a test manifest.Issues Resolved
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.