Skip to content
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

Make DSL generation to store jobs generated in a log file #985

Merged
merged 7 commits into from
Sep 12, 2023

Conversation

j-rivero
Copy link
Contributor

@j-rivero j-rivero commented Aug 4, 2023

An attempt to store generated job names into a variable and a save that variable to a file. This tries to help different tools that consume the names of the jobs generated by the DSL, mainly the buildfarmer dashboard and the different Jenkins views.

The code uses the enviroment variable WRITE_JOB_LOG to active the mechanism of storing the job names into a file called jobs.txt. It can be invoked by WRITE_JOB_LOG=1 java -jar tools/jobdsl.jar *.dsl. The format of the file generated is (space separated):

job_type collection job_name

The PR uses the approach is GitHub action for also testing the generation and control the contents of the file generated.

@j-rivero j-rivero marked this pull request as ready for review August 28, 2023 18:52
@j-rivero j-rivero merged commit 7918006 into master Sep 12, 2023
1 check passed
@j-rivero j-rivero deleted the jrivero/generate_logs_jobs branch September 12, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant