-
Notifications
You must be signed in to change notification settings - Fork 232
Fixed path issue for summary table #492
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
Conversation
|
Looking at the summary_table related functions, I think thee is no need for them to be in |
7ff08df to
8597283
Compare
|
@dinogun Thanks for your review. Earlier I have added summary table related functions in |
build_all.sh
Outdated
| } | ||
|
|
||
| function remove_summary_table_file() { | ||
| rm -rf ${summary_table_file} |
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'd suggest rm -f as it is just a file
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.
Aah! I shouldn't have added a recursive option. Changed it to rm -f
build_all.sh
Outdated
| source ./common_functions.sh | ||
|
|
||
| # summary table array | ||
| summary_table_file="./.summary_table" |
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.
You can define it here and export it so that you dont have to redefine in build_latest.sh. In build_latest.sh you can check if it is not set and set it only if needed.
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.
Made changes accordingly. Had also exported root_dir in build_all.sh
8597283 to
e2359a7
Compare
Signed-off-by: bharathappali <[email protected]>
e2359a7 to
5797947
Compare
dinogun
left a comment
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.
lgtm
Earlier the path was incorrect and as a result the jenkins job log was missing the summary table. The file is now created at the root dir (i.e openjdk-docker) and will be updated by the
build_imagefunction to log the docker build status. In the end the table is displayed and the temporary file.summary_tableis deleted.@dinogun Can i please have it reviewed ? Thanks in advance.
Signed-off-by: bharathappali [email protected]