-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile
51 lines (45 loc) · 1.71 KB
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
@Library("islog-helper") _
pipeline {
agent none
options {
gitLabConnection('Gitlab Pontos')
disableConcurrentBuilds()
}
environment {
ANDROID_DOCKER_IMAGE_NAME = 'docker-registry.islog.com:5000/conan-recipes-support-android:latest'
PACKAGE_NAME = "LogicalAccessAndroid/2.3.0@islog/${BRANCH_NAME}"
CONAN_REVISIONS_ENABLED = 1
}
stages {
stage('Android') {
steps {
script {
lla.startJobForProfiles(['lla/arm_clang_android_21_debug',
'lla/arm_clang_android_21',
'lla/x86_clang_android_21',
'lla/x64_clang_android_21',
'lla/arm64_clang_android_21'])
}
}
}
}
post {
changed {
script {
if (currentBuild.currentResult == 'FAILURE') {
// Other values: SUCCESS, UNSTABLE
// Send an email only if the build status has changed from green/unstable to red
emailext subject: '$DEFAULT_SUBJECT',
body: '$DEFAULT_CONTENT',
recipientProviders: [
[$class: 'CulpritsRecipientProvider'],
[$class: 'DevelopersRecipientProvider'],
[$class: 'RequesterRecipientProvider']
],
replyTo: 'cis@islog.com',
to: 'reports@islog.com'
}
}
}
}
}