- Timestamp:
 - Jul 16, 2016, 10:47:36 AM (9 years ago)
 - Branches:
 - ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
 - Children:
 - ef7219c
 - Parents:
 - 20340c2
 - File:
 - 
      
- 1 edited
 
- 
          
  Jenkins/FullBuild (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
Jenkins/FullBuild
r20340c2 r920725d 32 32 checkout scm 33 33 34 collect_git_info() 35 34 36 //parse git logs to find what changed 35 37 sh "git remote > ${out_dir}/GIT_REMOTE" … … 42 44 43 45 sh "git push DoLang ${gitRefNewValue}:master" 46 } 47 48 //Helper routine to collect information about the git history 49 def collect_git_info() { 50 51 //create the temporary output directory in case it doesn't already exist 52 def out_dir = pwd tmp: true 53 sh "mkdir -p ${out_dir}" 54 55 //parse git logs to find what changed 56 gitRefName = env.BRANCH_NAME 57 dir("../${gitRefName}@script") { 58 sh "git reflog > ${out_dir}/GIT_COMMIT" 59 } 60 git_reflog = readFile("${out_dir}/GIT_COMMIT") 61 gitRefOldValue = (git_reflog =~ /moving from (.+) to (.+)/)[0][1] 62 gitRefNewValue = (git_reflog =~ /moving from (.+) to (.+)/)[0][2] 44 63 } 45 64  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.