Changeset e9ea53d for Jenkins/FullBuild


Ignore:
Timestamp:
Jun 2, 2021, 5:21:26 PM (18 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
ab5baab
Parents:
6da81c7
Message:

Full build now promotes to GitHub?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/FullBuild

    r6da81c7 re9ea53d  
    3232                        stage('Package') {
    3333                                trigger_dist( commitId, currentBuild.number.toString() )
     34                        }
     35
     36                        stage('Promote') {
     37                                trigger_prom()
    3438                        }
    3539                }
     
    123127}
    124128
     129def trigger_prom() {
     130        def result = build job: 'Cforall_Promote_Ref', propagate: false
     131
     132        echo(result.result)
     133
     134        if(result.result != 'SUCCESS') {
     135                sh("wget -q -O - https://cforall.uwaterloo.ca/jenkins/job/Cforall_Promote_Ref/${result.number}/consoleText")
     136                error(result.result)
     137        }
     138}
     139
    125140//===========================================================================================================
    126141//Routine responsible of sending the email notification once the build is completed
Note: See TracChangeset for help on using the changeset viewer.