Skip to content

Commit 42d03a3

Browse files
committed
Add github action
1 parent 46a84c3 commit 42d03a3

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

.github/workflows/main.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Flowable Main Build
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
MAVEN_ARGS: >-
7+
-B -V --no-transfer-progress
8+
-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
9+
10+
jobs:
11+
test_jdk:
12+
name: Linux (JDK ${{ matrix.java }})
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
java: [17, 21]
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-java@v3
21+
with:
22+
distribution: 'zulu'
23+
java-version: ${{ matrix.java }}
24+
- name: Cache Maven Repository
25+
uses: actions/cache@v3
26+
with:
27+
path: ~/.m2
28+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
29+
restore-keys: ${{ runner.os }}-m2
30+
- name: Test
31+
run: ./mvnw verify -Pdistro, ${MAVEN_ARGS} -Dmaven.test.redirectTestOutputToFile=false

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ The following properties are for advanced usage. Only change these if you unders
109109
* `flowable.external.worker.workerId` : gives the external worker a custom identifier, which is used to identify which external worker has locked an external worker job.
110110
* `flowable.external.worker.concurrency` : The amount of threads available to poll and execute external worker jobs. By default `1`.
111111
* `flowable.external.worker.lock-duration` : The amount of time an external job will be locked when acquired. If this time limit is reached, other external workers will be able to acquire the same job. By default 5 minutes.
112-
* `flowable.external.worker.number-of-retries` : The number of times to retry acquiring new jobs on the Floable server-side before giving up. By default 5.
112+
* `flowable.external.worker.number-of-retries` : The number of times to retry acquiring new jobs on the Flowable server-side before giving up. By default, 5.
113113
* `flowable.external.worker.number-of-tasks` : The amount of external worker tasks to acquire and lock in one go. The default is `1`.
114-
* `flowable.external.worker.polling-interval` : The amount of time between polling for new external worker jobs. By default 5 seconds.
114+
* `flowable.external.worker.polling-interval` : The amount of time between polling for new external worker jobs. By default, 10 seconds.
115115

0 commit comments

Comments
 (0)