-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix: [CI-15499]: Add build tool and lang for telemetry #114
base: master
Are you sure you want to change the base?
Conversation
fi | ||
|
||
|
||
#!/bin/bash |
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.
why are we changing it to bash?
*.kt|*.kts) found_lang="Kotlin" ;; | ||
*) found_lang="" ;; | ||
esac | ||
echo "$found_lang" |
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.
Add more known languages:
https://survey.stackoverflow.co/2024/technology#most-popular-technologies
json_content=$(cat <<EOF | ||
{ | ||
"harness_lang": "$HARNESS_LANG", | ||
"harness_build_tool": "$HARNESS_BUILD_TOOL" |
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.
Just making sure these are lists. Repo can contain more than one language and build tool.
Add logic for parsing language and build tool after cloning codebase.
check if env var PLUGIN_BUILD_TOOL_FILE is set then write the content to that file
Parse metrics as separate file to be parsed and sent as telemetry details in step response.