Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:

env:
GH_USER_NAME: github.actor
SCRIPTS_VERSION: 5.12.0
BOM_VERSION: 5.13.0
SCRIPTS_VERSION: 5.14.0
BOM_VERSION: 5.14.2

jobs:
release:
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=1.1.0
version=1.1.1
description=EPAM Report Portal. Slack plugin.
pluginId = slack
lombokVersion=1.18.36
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ private void addFieldsInfo(IntegrationType integrationType) {
ruleField.put("required", true);
Map<String, Object> validation = new HashMap<>();
validation.put("type", "url");
validation.put("regex", "^https:\\/\\/hooks\\.slack\\.com\\/services\\/T[A-Z0-9]{10}\\/B[A-Z0-9]{10}\\/[a-zA-Z0-9]{24}$");
validation.put("errorMessage", "Field is Required. Please provide valid URL");
ruleField.put("validation", validation);
details.put(FIELDS_KEY, List.of(ruleField));
Expand Down
Loading