File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 8282 - INFLUXDB3_NODE_IDENTIFIER_PREFIX=node01
8383 - INFLUXDB3_OBJECT_STORE=file
8484 - INFLUXDB3_DB_DIR=/var/lib/influxdb3/data
85+ steps :
86+ - checkout
87+ - restore_cache :
88+ name : Restoring Maven Cache
89+ keys :
90+ - &cache-key maven-cache_v1-<< parameters.maven-image >>-{{ checksum "pom.xml" }}
91+ - maven-cache_v3-<< parameters.maven-image >>-
92+ - run :
93+ name : Setup InfluxDB service
94+ command : |
95+ ./scripts/influxdb-setup.sh \
96+ --export-url-as TESTING_INFLUXDB_URL \
97+ --export-db-as TESTING_INFLUXDB_DATABASE \
98+ --export-token-as TESTING_INFLUXDB_TOKEN
99+ - run :
100+ name : " Running tests"
101+ command : |
102+ mvn -B -U clean install -DargLine="@{argLine} << parameters.arg-line >>"
103+ - save_cache :
104+ name : Saving Maven Cache
105+ key : *cache-key
106+ paths :
107+ - ~/.m2
108+ - run :
109+ name : " Copying test results"
110+ when : always
111+ command : |
112+ mkdir test-results
113+ cp target/surefire-reports/*.xml test-results/ || true
114+ - store_test_results :
115+ path : test-results
116+ - run :
117+ name : " Copying artifacts"
118+ command : |
119+ mkdir artifacts
120+ cp -r target/*.jar artifacts/
121+ - store_artifacts :
122+ path : artifacts
123+ - run :
124+ name : Collecting coverage reports
125+ command : |
126+ curl -Os https://uploader.codecov.io/latest/linux/codecov
127+ curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
128+ curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
129+ curl -s https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import
130+ gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
131+ shasum -a 256 -c codecov.SHA256SUM
132+ chmod +x ./codecov
133+ ./codecov
134+
85135 check-dependencies :
86136 parameters :
87137 maven-image :
You can’t perform that action at this time.
0 commit comments