Jakub Sokołowski
44ed858363
By default these settings are disable: ```java /** Let Xvfb pick display number */ private boolean autoDisplayName = false; ``` https://github.com/jenkinsci/xvfb-plugin/blob/88cb84e0/src/main/java/org/jenkinsci/plugins/xvfb/Xvfb.java#L434-L435 ```java /** Run on same node in parallel */ private boolean parallelBuild = false; ``` https://github.com/jenkinsci/xvfb-plugin/blob/88cb84e0/src/main/java/org/jenkinsci/plugins/xvfb/Xvfb.java#L440-L441 Which means that this code doesn't have an effect by default: ```java final int executorNumber= executor.getNumber(); if (parallelBuild) { final Computer[] computers = Jenkins.get().getComputers(); final int nodeIndex = Arrays.binarySearch(computers, currentComputer, ComputerNameComparator.INSTANCE); return nodeIndex * 100 + executorNumber + displayNameOffset; } else { return executorNumber + displayNameOffset; } ``` https://github.com/jenkinsci/xvfb-plugin/blob/88cb84e0/src/main/java/org/jenkinsci/plugins/xvfb/Xvfb.java#L637-L647 And causes errors like this: ``` $ /usr/bin/Xvfb :0 -screen 0 1024x768x24 -fbdir /home/jenkins/workspace/desktop_branches_uitests_PR-6952/.xvfb-3-..fbdir7194278924155710961 Xvfb starting(EE) Fatal server error: (EE) Server is already active for display 0 ``` Signed-off-by: Jakub Sokołowski <jakub@status.im> |
||
---|---|---|
.. | ||
cpp | ||
Dockerfile | ||
Jenkinsfile | ||
Jenkinsfile.combined | ||
Jenkinsfile.linux | ||
Jenkinsfile.linux-cpp.todo | ||
Jenkinsfile.mac-cpp.todo | ||
Jenkinsfile.macos | ||
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.