Skip to content

Commit 0f1daf5

Browse files
testing build
1 parent 82eb939 commit 0f1daf5

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

Jenkinsfile

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,36 @@
1-
library 'sp-jenkins'
2-
31
pipeline {
42
agent any
5-
environment {
6-
BUILD_WORKDIR = "/tmp/${env.BUILD_TAG}/"
7-
}
83
stages {
94
stage('build') {
105
when {
116
anyOf {
127
branch 'master'
138
branch 'production'
149
branch 'release_candidate'
15-
changeRequest title: ".*JENKINSFILE_TESTING.*", comparator: 'REGEXP'
1610
buildingTag()
11+
changeRequest title: ".*JENKINSFILE_TESTING.*", comparator: 'REGEXP'
1712
}
1813
}
14+
parallel {
15+
stage('build_trusty') {
1916
steps {
20-
publishWheels codeBuildEnv: '[ { RUN_TESTS, false },{ pip_version, pip3.8 }, { CREATE_SDIST, true } ]'
17+
awsCodeBuild projectName: 'build_trusty_python_library',
18+
envVariables: '[ { RUN_TESTS, false }, { CREATE_SDIST, true }, {pip_version, pip3.8} ]',
19+
region: 'us-east-1',
20+
sourceControlType: 'jenkins',
21+
credentialsType: 'keys'
2122
}
22-
}
23-
}
24-
post {
25-
cleanup {
26-
echo "Deleting working directory ${env.BUILD_WORKDIR}"
27-
sh 'rm -rf $BUILD_WORKDIR'
28-
}
29-
always {
30-
buildNotification()
23+
}
24+
stage('build_bionic') {
25+
steps {
26+
awsCodeBuild projectName: 'build_bionic_python_library',
27+
envVariables: '[ { RUN_TESTS, false }, {pip_version, pip3.8}, { CREATE_SDIST, true } ]',
28+
region: 'us-east-1',
29+
sourceControlType: 'jenkins',
30+
credentialsType: 'keys'
31+
}
32+
}
33+
}
3134
}
3235
}
3336
}

0 commit comments

Comments
 (0)