fix PATH for the compile step so we can use qmak

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
2018-12-07 15:04:23 +01:00
parent 922caf168b
commit 65826b178f
3 changed files with 9 additions and 4 deletions
+4 -4
View File
@@ -51,14 +51,14 @@ pipeline {
} }
}
stage('Compile') {
steps { nvm(env.NODE_VERSION) {
steps {
script { desktop.compile() }
} }
}
}
stage('Bundle') {
steps {
steps { nvm(env.NODE_VERSION) {
script { dmg = desktop.bundleMacOS(cmn.getBuildType()) }
}
} }
}
stage('Archive') {
steps { archiveArtifacts dmg }
+4
View File
@@ -57,6 +57,10 @@ def prepDeps() {
}
def compile() {
/* since QT is in a custom path we need to add it to PATH */
if (env.QT_PATH) {
env.PATH = "${env.QT_PATH}:${env.PATH}"
}
sh './scripts/build-desktop.sh compile'
}
@@ -40,6 +40,7 @@ ExternalProject_Add(StatusGo_ep
SOURCE_DIR ${StatusGo_SOURCE_DIR}
GIT_REPOSITORY https://github.com/status-im/status-go.git
GIT_TAG ${STATUS_GO_TAG}
GIT_SHALLOW true
URL https://status-go.ams3.digitaloceanspaces.com/status-go-desktop-${STATUS_GO_VERSION}.zip
https://github.com/status-im/status-go/archive/${STATUS_GO_VERSION}.zip
BUILD_BYPRODUCTS ${StatusGo_STATIC_LIB}