-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
49 lines (47 loc) · 1.62 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
pipeline {
agent {
label "purdue-cluster"
}
options {
disableConcurrentBuilds()
}
stages {
stage('setup-data') {
steps{
sh 'ln -sf /home/tgrogers-raid/a/common/data_dirs ./benchmarks/'
}
}
stage('4.2-simulations-build'){
steps{
sh 'source /home/tgrogers-raid/a/common/gpgpu-sim-setup/4.2_env_setup.sh &&\
source ./benchmarks/src/setup_environment &&\
make -C ./benchmarks/src clean &&\
make -C ./benchmarks/src all'
}
}
stage('9.1-simulations-build'){
steps{
sh 'source /home/tgrogers-raid/a/common/gpgpu-sim-setup/9.1_env_setup.sh &&\
source ./benchmarks/src/setup_environment && \
make -C ./benchmarks/src clean && \
make -C ./benchmarks/src all'
}
}
}
post {
success {
emailext body: "See ${BUILD_URL}",
recipientProviders: [[$class: 'CulpritsRecipientProvider'],
[$class: 'RequesterRecipientProvider']],
subject: "[AALP Jenkins] Build #${BUILD_NUMBER} - Success!",
to: '[email protected]'
}
failure {
emailext body: "See ${BUILD_URL}",
recipientProviders: [[$class: 'CulpritsRecipientProvider'],
[$class: 'RequesterRecipientProvider']],
subject: "[AALP Jenkins] Build #${BUILD_NUMBER} - ${currentBuild.result}",
to: '[email protected]'
}
}
}