aboutsummaryrefslogtreecommitdiff
path: root/Jenkinsfile
blob: 43f44d97851f1406800a7551bc7b79a4faa5b672 (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
pipeline {
    agent {
        label "purdue-cluster"
    }

    stages {
        stage('set-env') {
            sh 'source /home/tgrogers-raid/a/common/gpgpu-sim-setup/4.2_env_setup.sh &&\
            source `pwd`/setup_environment
        }

        stage('4.2 simulator-build') {
            steps {
                sh 'make -j'
            }
        }
        stage('4.2-simulations-build'){
            steps{
                sh '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 './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]'

        }
    }
}