-
Notifications
You must be signed in to change notification settings - Fork 174
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
Feature/get build actions #29
Merged
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
a6b2659
Added actions api to BuildInfo for retrieving build parameters
richabindra 6c87f66
Added Action class to provide parameters and causes api
richabindra 419d91a
Class added to get "causes" values in build info
richabindra c000735
Class added to get "parameters" values in build info
richabindra 77c31ad
test resource file added - build info with no parameters
richabindra c2a1468
Mock tests for get build parameters and causes
richabindra 265566c
Nullable annotation added to userName field
richabindra ef62f58
Added live test for getting build parameters of a job
richabindra 529386b
Added live test for getting build causes of a job
richabindra f02e443
Added serialized "_class" item to Cause class
richabindra 733dde3
Added serialized "_class" item to Parameter class
richabindra 89f5ae9
Made method parameters final
richabindra ba324d7
Made method params final
richabindra ba92bf2
Test resource for build info when empty and null params
richabindra ac9e189
Added test for get params when empty or null params
richabindra 22c630b
Redo test for get params when empty or null for simpler check
richabindra af01590
Removed unused import
richabindra c75a699
Check for potential null value in parameters map and convert to an em…
richabindra ffd3dbd
Resource build info json returns null string
richabindra c82f329
Add config xml with no default parameters to test empty and null params
richabindra f563208
Check for null string
richabindra 5c6adbc
Test for parameters when no build parameters present
richabindra 3295870
Test for empty or null build parameters
richabindra c2552c4
Move getRunningQueueItem method in a base class
richabindra a66ba2e
Removed getRunningQueueItem as it is moved to the base class
richabindra 59dd3f3
Ensure queue item is running after build is triggered
richabindra 06f4974
getBuildCauses test made user name independent
richabindra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I intentionally added the test like this to provide an alternative to get(0) etc for getting params. I can change it if suggested otherwise.
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.
Well, thanks for the tip, but I don't think it is necessary. In fact it makes the test slightly harder to read.
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. Makes it harder to read. Lets just use what comes OOTB and iterate over that.