Crate buildinfy

Crate buildinfy 

Source

Functions§

build_job_name
‘package-debian-amd64’, … (CI job name, CI_JOB_NAME/GITHUB_JOB)
build_pipeline_id
‘123’, … (CI pipeline id, CI_PIPELINE_ID/GITHUB_RUN_NUMBER)
build_pipeline_id_per_project
‘123’, … (CI pipeline id per project (if available), CI_PIPELINE_IID/GITHUB_RUN_NUMBER)
build_project
project owner and repository name, from build variable CI_PROJECT_NAME/GITHUB_REPOSITORY. Can contain multiple slashes (2 if GitLab subgroeps are used). Fallback to Rust package name
build_reference
‘main’, … (git branches or tags, CI_COMMIT_REF_NAME/GITHUB_REF_NAME)
build_revision
Git revision if available, from build variable CI_COMMIT_SHA/GITHUB_SHA
build_sentry_dsn
Sentry error reporting DSN, from build variable SENTRY_DSN.
build_target