Skip to content

Commit

Permalink
Merge pull request #43 from reportportal/rc/5.10.0
Browse files Browse the repository at this point in the history
Release 5.10.0
  • Loading branch information
IvanKustau authored Aug 28, 2023
2 parents 7fff1a7 + fb8845f commit d5b9eea
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 14 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ jobs:
runs-on: ubuntu-latest

steps:

- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'

- name: Get variables
run: |
echo "ARTIFACT=`echo ${{ github.repository }} | cut -d/ -f2- | awk '{print tolower($0)}'`" >> $GITHUB_ENV
Expand All @@ -58,7 +51,7 @@ jobs:
export BUNDLE_FILE="bundle.jar"
jar -cvf ${BUNDLE_FILE} "${files[@]}"
echo 'Bundle upload'
curl -u ${{ secrets.SONATYPE_USER }}:${{ secrets.SONATYPE_PASSWORD }} -L \
curl -f -u ${{ secrets.SONATYPE_USER }}:${{ secrets.SONATYPE_PASSWORD }} -L \
--request POST '${{ env.UPSTREAM_REPOSITORY_URL }}/service/local/staging/bundle_upload' \
--form "file=@${BUNDLE_FILE}" >response.json
response_type=`jq type response.json || echo ''`
Expand Down Expand Up @@ -105,4 +98,4 @@ jobs:
else
echo 'Verification failed, please check the bundle' 1>&2
exit 1
fi
fi
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ on:

env:
GH_USER_NAME: github.actor
SCRIPTS_VERSION: 5.7.0
BOM_VERSION: 5.7.0
RELEASE_VERSION: 5.7.0
SCRIPTS_VERSION: 5.10.0
BOM_VERSION: 5.10.0
RELEASE_VERSION: 5.10.0

jobs:
release:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies {
compile 'com.epam.reportportal:commons-rules'
compile 'com.epam.reportportal:commons-dao'
} else {
compile 'com.github.reportportal:commons-dao:72fb7f1'
compile 'com.github.reportportal:commons-dao:59bed64'
compile 'com.github.reportportal:commons-model:e8ca9fb'
compile 'com.github.reportportal:commons-rules:2fe7a4b'
}
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.7.1
version=5.10.0
description=EPAM Report portal. Plugin extension APIs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.epam.reportportal.extension.event;

/**
* @author <a href="mailto:pavel_bortnik@epam.com">Pavel Bortnik</a>
*/
public class LaunchDeletedPluginEvent extends LaunchEvent<Long> {

private final Long projectId;

public LaunchDeletedPluginEvent(Long source, Long projectId) {
super(source);
this.projectId = projectId;
}

public Long getProjectId() {
return projectId;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.epam.reportportal.extension.event;

/**
* @author <a href="mailto:pavel_bortnik@epam.com">Pavel Bortnik</a>
*/
public class LaunchFinishedPluginEvent extends LaunchEvent<Long> {

private final Long projectId;

public LaunchFinishedPluginEvent(Long source, Long projectId) {
super(source);
this.projectId = projectId;
}

public Long getProjectId() {
return projectId;
}
}

0 comments on commit d5b9eea

Please sign in to comment.