Skip to content

Feat add jenkins repo mapping#2769

Merged
abeizn merged 1 commit into
apache:mainfrom
merico-ai:feat-add-jenkins-repo-mapping
Aug 19, 2022
Merged

Feat add jenkins repo mapping#2769
abeizn merged 1 commit into
apache:mainfrom
merico-ai:feat-add-jenkins-repo-mapping

Conversation

@warren830
Copy link
Copy Markdown
Contributor

Summary

  1. add build_origin_triggger_enricher.go to find ancestor build
  2. convert build_repo mapping to domain

Does this close any open issues?

closes #2768

Screenshots

image

Other Information

Any other information that is important to this PR.

@warren830 warren830 force-pushed the feat-add-jenkins-repo-mapping branch from ca62ed6 to 5dbdf21 Compare August 18, 2022 09:41
Comment thread plugins/azure/models/build.go Outdated
return "_tool_azure_builds"
}

type AutoGenerated struct {
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.

change name?

tasks.ExtractApiBuildsMeta,
tasks.CollectApiStagesMeta,
tasks.ExtractApiStagesMeta,
tasks.EnrichApiBuildsMeta,
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.

Do you really want to annotate?

dal.From("_tool_jenkins_builds tjb"),
dal.Join("left join _tool_jenkins_build_repos tjbr on tjbr.build_name = tjb.display_name"),
dal.Where("tjb.connection_id = ?", data.Options.ConnectionId),
dal.Select(`*`),
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.

Is it possible not to use * here?

@warren830 warren830 force-pushed the feat-add-jenkins-repo-mapping branch from 5dbdf21 to 767cc42 Compare August 19, 2022 02:28
Copy link
Copy Markdown
Contributor

@abeizn abeizn left a comment

Choose a reason for hiding this comment

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

LGTM

@abeizn abeizn merged commit f50da97 into apache:main Aug 19, 2022
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.

[Feature][Jenkins] CI/CD models and tasks need to be modified

2 participants