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

    stages {
        stage('4.2-regress') {
            steps {
                sh 'source /home/tgrogers-raid/a/common/gpgpu-sim-setup/4.2_env_setup.sh &&\
                source `pwd`/setup_environment && \
                make -j && \
                rm -rf gpgpu-sim_simulations && \
                git clone https://github.com/tgrogers/gpgpu-sim_simulations.git && \
                cd gpgpu-sim_simulations && \
                git checkout purdue-cluster && \
                make -j -C ./benchmarks/src all && \
                ./util/job_launching/run_simulations.py -N regress && \
                ./util/job_launching/monitor_func_test.py -v -N regress'


                def to = emailextrecipients([
                    [$class: 'CulpritsRecipientProvider'],
                    [$class: 'DevelopersRecipientProvider'],
                    [$class: 'RequesterRecipientProvider']
                ])

                if(to != null && !to.isEmpty()) {
                        mail to: to, subject: "[AALP Jenkins] Build ${currentBuild.result}!",
                                    body: "See ${env.BUILD_URL}"
                }
            }
        }
    }



}