Jakub Sokołowski
e11d522e8e
A potential partial fix found for an issue found in: https://github.com/status-im/status-desktop/pull/7789 Where an incomplete broken checkout of a `vendor` module which crated a `.git` file instead of a directory in `vendor/nimPNG` caused the error: ``` $ git submodule update --init --recursive vendor/nimPNG fatal: Needed a single revision Unable to find current revision in submodule path '../nimPNG' ``` Which then was not correctly cleaned up and in turn caused error: ``` org.jenkinsci.plugins.workflow.steps.MissingContextVariableException: Required context class hudson.FilePath is missing Perhaps you forgot to surround the code with a step that provides this, such as: node, dockerNode ... ``` The last known successful CI build for that PR showed in logs: ``` 00:05:13 [WS-CLEANUP] Deleting project workspace... 00:05:13 [WS-CLEANUP] Deferred wipeout is used... 00:05:13 [WS-CLEANUP] done ``` Which means the `Workspace Cleanup` plugin uses the `Resource Disposer` plugin to wipe the workspaace in the background, which could potentially fail: https://plugins.jenkins.io/ws-cleanup/#plugin-content-deferred-wipeout Signed-off-by: Jakub Sokołowski <jakub@status.im> |
||
---|---|---|
.. | ||
cpp | ||
mailserver | ||
Dockerfile | ||
Jenkinsfile | ||
Jenkinsfile.combined | ||
Jenkinsfile.linux | ||
Jenkinsfile.linux-cpp | ||
Jenkinsfile.macos | ||
Jenkinsfile.macos-cpp.todo | ||
Jenkinsfile.uitests | ||
Jenkinsfile.windows | ||
Jenkinsfile.windows-cpp.todo | ||
README.md |
README.md
Description
These Jenkinsfile
s 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.