Skip to content

Commit

Permalink
Update build-info to 2.26.1 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi authored Dec 7, 2021
1 parent f13b5b4 commit 9480c78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 5 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,21 @@ compileJava {

repositories {
mavenLocal()
mavenCentral()
maven {
url "https://oss.jfrog.org/artifactory/libs-snapshot"
url "https://releases.jfrog.io/artifactory/libs-snapshot"
mavenContent {
snapshotsOnly()
}
}
maven {
url "https://oss.jfrog.org/artifactory/libs-release"
url "https://releases.jfrog.io/artifactory/libs-release"
}
}

dependencies {
implementation group: 'org.jfrog.buildinfo', name: 'build-info-extractor', version: '2.21.0'
implementation group: 'org.jfrog.buildinfo', name: 'build-info-api', version: '2.26.1'
implementation group: 'org.jfrog.buildinfo', name: 'build-info-extractor', version: '2.26.1'
implementation group: 'org.jfrog.artifactory.client', name: 'artifactory-java-client-services', version: '2.8.6'
implementation group: 'org.apache.commons', name: 'commons-collections4', version: '4.4'
implementation group: 'junit', name: 'junit', version: '4.13.1'
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/com/jfrog/testing/IntegrationTestsHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,12 @@ public void uploadFile(Path source, String repoKey) {
*
* @param buildName - Build name
* @param buildNumber - Build number
* @param project - Build project
* @return build info for the specified build name and number
* @throws IOException if failed to get the build info.
*/
public Build getBuildInfo(String buildName, String buildNumber) throws IOException {
return buildInfoClient.getBuildInfo(buildName, buildNumber);
public Build getBuildInfo(String buildName, String buildNumber, String project) throws IOException {
return buildInfoClient.getBuildInfo(buildName, buildNumber, project);
}

/**
Expand Down

0 comments on commit 9480c78

Please sign in to comment.