Changeset 2b4daf2 for Jenkins/FullBuild


Ignore:
Timestamp:
Jan 7, 2021, 5:06:22 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
5ad381b
Parents:
42f6e07 (diff), 58fe85a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/FullBuild

    r42f6e07 r2b4daf2  
    3232
    3333                        stage('Package') {
    34                                 build job: 'Cforall_Distribute_Ref', parameters: [string(name: 'GitRef', value: commitId), string(name: 'Build', value: currentBuild.number.toString())]
     34                                trigger_dist( commitId, currentBuild.number.toString() )
    3535                        }
    3636                }
     
    103103}
    104104
     105def trigger_dist(String commitId, String buildNum) {
     106        def result = build job: 'Cforall_Distribute_Ref',       \
     107                parameters: [                                           \
     108                        string(name: 'GitRef', value: commitId),        \
     109                        string(name: 'Build' , value: buildNum) \
     110                ],                                                              \
     111                propagate: false
     112
     113        echo(result.result)
     114
     115        if(result.result != 'SUCCESS') {
     116                sh("wget -q -O - https://cforall.uwaterloo.ca/jenkins/job/Cforall_Distribute_Ref/${result.number}/consoleText")
     117                error(result.result)
     118        }
     119}
     120
    105121//===========================================================================================================
    106122//Routine responsible of sending the email notification once the build is completed
Note: See TracChangeset for help on using the changeset viewer.