summaryrefslogtreecommitdiff
path: root/Jenkinsfile
blob: 30730222d6d10905a7b22420d8dfb68d3d8ff7f8 (plain)
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
pipeline {
    agent {
        label "purdue-cluster"
        }

    stages {
        stage('4.2-simulator-build'){
            steps {
                sh 'source /home/tgrogers-raid/a/common/gpgpu-sim-setup/4.2_env_setup.sh &&\
                source `pwd`/setup_environment && \
                make -j'
            }
        }
        stage('4.2-simulations-build'){
            steps{
                sh 'source /home/tgrogers-raid/a/common/gpgpu-sim-setup/4.2_env_setup.sh &&\
                source `pwd`/setup_environment && \
                rm -rf gpgpu-sim_simulations && \
                git clone [email protected]:TimRogersGroup/gpgpu-sim_simulations.git && \
                cd gpgpu-sim_simulations && \
                git checkout purdue-cluster && \
                source ./benchmarks/src/setup_environment && \
                make -j -C ./benchmarks/src all'
            }
        }
        stage('4.2-rodinia-regress'){
            steps {
                sh 'source /home/tgrogers-raid/a/common/gpgpu-sim-setup/4.2_env_setup.sh &&\
                source `pwd`/setup_environment && \
                ./gpgpu-sim_simulations/util/job_launching/run_simulations.py -N regress && \
                ./gpgpu-sim_simulations/util/job_launching/monitor_func_test.py -v -N regress'
            }
        }
    }
    post {
        always{
            emailext body: "See ${BUILD_URL}",
                recipientProviders: [[$class: 'CulpritsRecipientProvider'],
                    [$class: 'RequesterRecipientProvider']],
                subject: "[AALP Jenkins] Build #${BUILD_NUMBER} - ${currentBuild.result}",
                to: '[email protected]'

        }
    }
}