Ignore:
Timestamp:
Dec 4, 2020, 1:05:09 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:
6cdec7e
Parents:
6a531ab
Message:

Update tools.groovy checkout for specific hash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/tools.groovy

    r6a531ab r143cbf1  
    3737                //checkout the source code and clean the repo
    3838                if(commitHash) {
    39                         final scmVars = checkout([$class: 'GitSCM', branches: [[name: commitHash ]]])
     39                        echo "Checking out commit <${commitHash}>"
     40                        final scmVars = checkout([$class: 'GitSCM', branches: [[name: commitHash ]], userRemoteConfigs: [[url: 'cforall@plg.uwaterloo.ca:software/cfa/cfa-cc']]])
    4041                        echo GitLogMessage(scmVars.GIT_COMMIT, scmVars.GIT_PREVIOUS_COMMIT)
    4142                } else {
    42 
    4343                        final scmVars = checkout scm
    4444                        echo GitLogMessage(scmVars.GIT_COMMIT, scmVars.GIT_PREVIOUS_COMMIT)
Note: See TracChangeset for help on using the changeset viewer.