Skip to content

Commit 888ebb5

Browse files
author
SadiJr
committed
Merge branch 'ci-update' into '4.20.0.0-scclouds'
Try to increase speed of CI See merge request scclouds/scclouds!1319
2 parents a178ff1 + deebaab commit 888ebb5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ build-backend-skip-tests:
151151
- cloudstack
152152
script:
153153
- echo "Building backend with 'mvn clean install -DskipTests -Dnoredist'..."
154-
- mvn clean install -DskipTests -Dnoredist
154+
- mvn clean install -DskipTests -Dnoredist -T $(nproc)
155155
- echo "Done building backend with 'mvn clean install -DskipTests -Dnoredist'."
156156

157157
build-backend-combined:
@@ -164,7 +164,7 @@ build-backend-combined:
164164
- cloudstack
165165
script:
166166
- echo "Building backend with 'mvn clean install -Dnoredist -Psystemvm,developer -Dsystemvm'..."
167-
- mvn clean install -Dnoredist -Psystemvm,developer -Dsystemvm
167+
- mvn clean install -Dnoredist -Psystemvm,developer -Dsystemvm -T $(nproc)
168168
- echo "Done building backend with 'mvn clean install -Dnoredist -Psystemvm,developer -Dsystemvm'"
169169

170170
#####################
@@ -178,7 +178,7 @@ generate-deb-packages:
178178
- cloudstack
179179
script:
180180
- echo "Generating .deb Ubuntu Focal Fossa packages..."
181-
- docker run -v $CI_PROJECT_DIR:/mnt/build/cloudstack -v ~/.m2:/root/.m2 -e "USER_ID=$(id -u)" -e "USER_GID=$(id -g)" -e "ACS_BUILD_OPTS=-Dnoredist" scclouds/cloudstack-deb-builder:ubuntu2004-jdk11-python3
181+
- docker run -v $CI_PROJECT_DIR:/mnt/build/cloudstack -v ~/.m2:/root/.m2 -e "USER_ID=$(id -u)" -e "USER_GID=$(id -g)" -e "ACS_BUILD_OPTS=-Dnoredist -T $(nproc)" scclouds/cloudstack-deb-builder:ubuntu2004-jdk11-python3
182182
- echo "Done generating .deb packages."
183183
artifacts:
184184
expire_in: 12h

0 commit comments

Comments
 (0)