Skip to content

Adapt parsing of execution report to new regex#108

Merged
Steffengreiner merged 1 commit into
masterfrom
fix/execution-report-regex
Aug 29, 2022
Merged

Adapt parsing of execution report to new regex#108
Steffengreiner merged 1 commit into
masterfrom
fix/execution-report-regex

Conversation

@Steffengreiner
Copy link
Copy Markdown
Contributor

What was changed
Fix parsing of execution_report.html parsing to allow for timestamps in the filename

@Steffengreiner Steffengreiner requested a review from a team August 29, 2022 08:21
@github-actions github-actions Bot added the fix label Aug 29, 2022
if(filename.equals("software_versions.yml")){
insertAsProperty(pipelineInformation, child, RequiredPipelineFileKeys.SOFTWARE_VERSIONS.getKeyName())
}
else if(filename.matches("^execution_report.*")) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting i didn't know groovy could do that since java does not have the same functionality 😓

Copy link
Copy Markdown
Contributor

@sven1103 sven1103 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: if you want to remain with the switch case, you can do so in Groovy

@Steffengreiner Steffengreiner merged commit 0f13b01 into master Aug 29, 2022
@Steffengreiner Steffengreiner deleted the fix/execution-report-regex branch August 29, 2022 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants