This is an automated email from the ASF dual-hosted git repository. abeizn pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 403f24a2c45f40d1151fe32abb90fb571645b180 Author: linyh <[email protected]> AuthorDate: Thu Sep 15 17:30:15 2022 +0800 fix: fix for e2e test 2 --- .../{cicd_pipeline_repos.csv => cicd_pipeline_commits.csv} | 2 +- plugins/jenkins/e2e/builds_test.go | 1 + plugins/jenkins/e2e/snapshot_tables/cicd_pipeline_commits.csv | 1 + plugins/jenkins/e2e/snapshot_tables/cicd_pipeline_repos.csv | 1 - 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/github/e2e/snapshot_tables/cicd_pipeline_repos.csv b/plugins/github/e2e/snapshot_tables/cicd_pipeline_commits.csv similarity index 99% rename from plugins/github/e2e/snapshot_tables/cicd_pipeline_repos.csv rename to plugins/github/e2e/snapshot_tables/cicd_pipeline_commits.csv index 2511f040..6b1463f1 100644 --- a/plugins/github/e2e/snapshot_tables/cicd_pipeline_repos.csv +++ b/plugins/github/e2e/snapshot_tables/cicd_pipeline_commits.csv @@ -1,4 +1,4 @@ -id,commit_sha,branch,repo +pipeline_id,commit_sha,branch,repo github:GithubRun:1:1510490015,1e897421860606afc3d1304cafe5cd187cee13e9,master,github:GithubRepo:1:134018330 github:GithubRun:1:1510490016,1e897421860606afc3d1304cafe5cd187cee13e9,master,github:GithubRepo:1:134018330 github:GithubRun:1:1510490017,1e897421860606afc3d1304cafe5cd187cee13e9,master,github:GithubRepo:1:134018330 diff --git a/plugins/jenkins/e2e/builds_test.go b/plugins/jenkins/e2e/builds_test.go index 0880a36b..04757946 100644 --- a/plugins/jenkins/e2e/builds_test.go +++ b/plugins/jenkins/e2e/builds_test.go @@ -45,6 +45,7 @@ func TestJenkinsBuildsDataFlow(t *testing.T) { // verify extraction dataflowTester.FlushTabler(&models.JenkinsBuild{}) dataflowTester.FlushTabler(&models.JenkinsBuildRepo{}) + dataflowTester.FlushTabler(&models.JenkinsStage{}) dataflowTester.Subtask(tasks.ExtractApiBuildsMeta, taskData) dataflowTester.VerifyTable( diff --git a/plugins/jenkins/e2e/snapshot_tables/cicd_pipeline_commits.csv b/plugins/jenkins/e2e/snapshot_tables/cicd_pipeline_commits.csv new file mode 100644 index 00000000..61561829 --- /dev/null +++ b/plugins/jenkins/e2e/snapshot_tables/cicd_pipeline_commits.csv @@ -0,0 +1 @@ +pipeline_id,commit_sha,repo,branch diff --git a/plugins/jenkins/e2e/snapshot_tables/cicd_pipeline_repos.csv b/plugins/jenkins/e2e/snapshot_tables/cicd_pipeline_repos.csv deleted file mode 100644 index 9e98c01a..00000000 --- a/plugins/jenkins/e2e/snapshot_tables/cicd_pipeline_repos.csv +++ /dev/null @@ -1 +0,0 @@ -id,commit_sha,repo,branch
