status-desktop/ci
Jakub Sokołowski 38f0973dc3
ci: use git clean instead of cleanWs() function
This is a continuation of attempts to fix provlems with Windows CI hosts
getting into a broken state due to `.git` directory becoming a file for
random submodules for unknown reason.

Instead of relying on Jenkins functionality of `cleanWs()` function
provided by the [Workspace Cleanup Plugin](https://plugins.jenkins.io/ws-cleanup)
we use Git which should be more reliable, and possibly also speed up the
initial checkout of the repo and submodules.

A nice side-effect is that the repo checkout on all builds after the first
one takes ~1 minute instead of ~5 minutes.

Previous issues:
- https://github.com/status-im/status-desktop/pull/7968
- https://github.com/status-im/status-desktop/pull/8046

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-06 20:20:54 +01:00
..
cpp fix(CPP): fix linux compiling issues 2022-08-23 19:38:23 +02:00
mailserver chore: setup a mailserver as part of UI tests run in CI 2022-10-03 16:31:23 -04:00
Dockerfile chore: update go version in dockerfile 2022-08-03 09:40:47 -04:00
Jenkinsfile ci: add a combined Jenkinsfile for releases 2021-04-14 15:36:00 -04:00
Jenkinsfile.combined ci: fix upload speeds on Windows 2022-09-15 11:41:12 +02:00
Jenkinsfile.imports ci: fix TARGET value in imports Jenkinsfile 2022-11-04 16:20:47 +01:00
Jenkinsfile.linux ci: use git clean instead of cleanWs() function 2022-11-06 20:20:54 +01:00
Jenkinsfile.linux-cpp ci: use git clean instead of cleanWs() function 2022-11-06 20:20:54 +01:00
Jenkinsfile.macos ci: use git clean instead of cleanWs() function 2022-11-06 20:20:54 +01:00
Jenkinsfile.macos-cpp.todo ci: use git clean instead of cleanWs() function 2022-11-06 20:20:54 +01:00
Jenkinsfile.uitests ci: use git clean instead of cleanWs() function 2022-11-06 20:20:54 +01:00
Jenkinsfile.windows ci: use git clean instead of cleanWs() function 2022-11-06 20:20:54 +01:00
Jenkinsfile.windows-cpp.todo ci: use git clean instead of cleanWs() function 2022-11-06 20:20:54 +01:00
README.md add Jenkinsfiles and Dockerfile for CI 2020-07-01 22:06:37 +02:00

README.md

Description

These Jenkinsfiles are used to run CI jobs in Jenkins. You can find them here: https://ci.status.im/job/nim-status-client/

Builds

Linux

In order to build the Linux version of the application we use a modified a12e/docker-qt:5.14-gcc_64 Docker image with the addition of Git and Golang.

The image is built with Dockerfile using:

docker build -t statusteam/nim-status-client-build:latest .

And pushed to: https://hub.docker.com/r/statusteam/nim-status-client-build

MacOS

The MacOS builds are run on MacOS hosts and expect Command Line Toold and XCode to be installed, as well as QT being available under /usr/local/qt.

It also expects the presence of the following credentials:

  • macos-keychain-identity - ID of used signing certificate.
  • macos-keychain-pass - Password to unlock the keychain.
  • macos-keychain-file - Keychain file with the MacOS signing certificate.

You can read about how to create such a keychain here.