Changeset f78ead5 for Jenkins


Ignore:
Timestamp:
Dec 3, 2020, 8:43:24 PM (4 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:
c3d3c22
Parents:
782d479
Message:

Getting last successful Full Build by default

Location:
Jenkins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/Distribute

    r782d479 rf78ead5  
    2626                wrap([$class: 'TimestamperBuildWrapper']) {
    2727
    28                         (build_no, ref) = prepare_build()
     28                        build_id = prepare_build()
    2929
    3030                        node('x64') {
     
    3232                                SrcDir    = pwd tmp: false
    3333
    34                                 clean()
     34                                Tools.clean()
    3535
    3636                                // checkout()
     
    7474// Main compilation routines
    7575//===========================================================================================================
    76 def clean() {
    77         build_stage('Cleanup', true) {
    78                 // clean the build by wipping the build directory
    79                 dir(BuildDir) {
    80                         deleteDir()
    81                 }
    82         }
    83 }
     76
    8477
    8578//Compilation script is done here but environnement set-up and error handling is done in main loop
     
    125118
    126119        currentBuild.description = "Distributing Binaries"
     120
     121        if (!params.Build) {
     122                params.Build = Jenkins.instance.getItem('Cforall Full Build').lastSuccessfulBuild.number
     123        }
     124
    127125        echo "Distributing build ${params.Build}"
    128126
  • Jenkins/tools.groovy

    r782d479 rf78ead5  
    2424//===========================================================================================================
    2525def clean() {
    26         Tools.BuildStage('Cleanup', true) {
     26        BuildStage('Cleanup', true) {
    2727                // clean the build by wipping the build directory
    2828                dir(BuildDir) {
Note: See TracChangeset for help on using the changeset viewer.