mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-17 17:19:02 +00:00
feat(ci): trigger new E2E run after Linux build
We run `prs` job for PRs and `nightly` for... nightly. Depends on: https://github.com/status-im/desktop-qa-automation/pull/195 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
c0b564e160
commit
6ab2873742
@ -105,6 +105,17 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('E2E') {
|
||||||
|
when { expression { getE2EBuildType() != null } }
|
||||||
|
steps { script {
|
||||||
|
build(
|
||||||
|
job: "status-desktop/e2e/${getE2EBuildType()}",
|
||||||
|
parameters: jenkins.mapToParams([BUILD_SOURCE: JOB_NAME]),
|
||||||
|
wait: false
|
||||||
|
)
|
||||||
|
} }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
success { script { github.notifyPR(true) } }
|
success { script { github.notifyPR(true) } }
|
||||||
@ -114,12 +125,19 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def getArch() {
|
def getArch() {
|
||||||
def tokens = Thread.currentThread().getName().split('/')
|
def tokens = Thread.currentThread().getName().split('/')
|
||||||
for (def arch in ['x86_64', 'aarch64']) {
|
for (def arch in ['x86_64', 'aarch64']) {
|
||||||
if (tokens.contains(arch)) { return arch }
|
if (tokens.contains(arch)) { return arch }
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
def getE2EBuildType() {
|
||||||
|
if (utils.isPRBuild()) { return 'prs' }
|
||||||
|
def parent = parentOrCurrentBuild()
|
||||||
|
if (parent != null && parent.name == 'nightly') { return nightly }
|
||||||
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
def getMockedKeycardLibDefault() {
|
def getMockedKeycardLibDefault() {
|
||||||
return utils.isReleaseBuild() ? 'false' : 'true'
|
return utils.isReleaseBuild() ? 'false' : 'true'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user