Skip to content

Commit

Permalink
Merge pull request #21 from reportportal/rc/5.11.0
Browse files Browse the repository at this point in the history
Release 5.11.0
  • Loading branch information
pbortnik authored Dec 15, 2023
2 parents 70a95de + f65c5de commit 1e015da
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
env:
GH_USER_NAME: github.actor
SCRIPTS_VERSION: 5.10.0
BOM_VERSION: 5.10.0
BOM_VERSION: 5.11.0

jobs:
release:
Expand Down
19 changes: 5 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,9 @@ apply from: scriptsUrl + '/build-quality.gradle'


repositories {
mavenCentral()
if (releaseMode) {
dependencyRepos.forEach { path ->
maven {
setUrl("https://maven.pkg.github.com/reportportal/${path}")
credentials {
username = findProperty("githubUserName")
password = findProperty("githubToken")
}
}
}
} else {
mavenCentral { url "https://repo1.maven.org/maven2" }

if (!releaseMode) {
maven { url 'https://jitpack.io' }
}
}
Expand All @@ -42,15 +33,15 @@ repositories {
dependencyManagement {
imports {
mavenBom 'org.springframework.boot:spring-boot-dependencies:2.1.5.RELEASE'
mavenBom(releaseMode ? 'com.epam.reportportal:commons-bom:' + getProperty('bom.version') : 'com.github.reportportal:commons-bom:6aa55fc0')
mavenBom(releaseMode ? 'com.epam.reportportal:commons-bom:' + getProperty('bom.version') : 'com.github.reportportal:commons-bom:b7acb00')
}
}

dependencies {
if (releaseMode) {
compile 'com.epam.reportportal:commons-model'
} else {
compile 'com.github.reportportal:commons-model:232e69a5'
compile 'com.github.reportportal:commons-model:83f012f'
}

compile 'org.slf4j:slf4j-api'
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=5.10.1
version=5.11.0
description=EPAM Report portal. Report Portal Validation and Error Handling Commons
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ private StatusCodeMapping() {
private static final long serialVersionUID = 1L;

{
put(ErrorType.NOT_FOUND, HttpStatus.NOT_FOUND);
put(ErrorType.PROJECT_NOT_FOUND, HttpStatus.NOT_FOUND);
put(ErrorType.LAUNCH_NOT_FOUND, HttpStatus.NOT_FOUND);
put(ErrorType.TEST_ITEM_NOT_FOUND, HttpStatus.NOT_FOUND);
Expand Down

0 comments on commit 1e015da

Please sign in to comment.