Skip to content

Commit 11dd364

Browse files
committed
add project support for build info maven
1 parent 3956d25 commit 11dd364

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

build-info-api/src/main/java/org/jfrog/build/api/builder/BuildInfoBuilder.java

-1
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,5 @@ public BuildInfoBuilder issues(Issues issues) {
414414
public BuildInfoBuilder setProject(String project) {
415415
this.project = project;
416416
return this;
417-
418417
}
419418
}

build-info-api/src/main/java/org/jfrog/build/api/builder/BuildInfoMavenBuilder.java

+10
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ public BuildInfoMavenBuilder number(String number) {
6565
return this;
6666
}
6767

68+
/**
69+
* Sets the project of the build
70+
*
71+
* @param project Build project
72+
*/
73+
public BuildInfoMavenBuilder setProject(String project) {
74+
super.setProject(project);
75+
return this;
76+
}
77+
6878
/**
6979
* Sets the agent of the build
7080
*

0 commit comments

Comments
 (0)