Skip to content

parseOriginPipelineUrl

parseOriginPipelineUrl(pipelineUrl): ResolvedOriginProject | undefined

Defined in: packages/simply-cicd-core/src/happySoup/resolveOriginProject.ts:39

Parses a CI pipeline URL — as stored in sf package version report’s Description field by createPackageVersion at build time — into the VCS project that built it. Recognizes GitLab pipeline URLs and GitHub Actions run URLs. Returns undefined if the URL doesn’t match either shape (or isn’t a URL at all), e.g. for a package version created outside this pipeline.

string

ResolvedOriginProject | undefined