Changeset e034675 for Jenkinsfile
- Timestamp:
- Jun 8, 2016, 2:59:23 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, 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:
- ddf377e
- Parents:
- 2aaabbd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r2aaabbd re034675 38 38 build_stage 'Push' 39 39 40 sh 'git remote add DoLang git@gitlab.do-lang.org:internal/cfa-cc.git' 40 def out_dir = pwd tmp: true 41 sh "mkdir -p ${out_dir}" 42 43 //parse git logs to find what changed 44 sh "git remote > ${out_dir}/GIT_REMOTE" 45 git_remote = readFile("${out_dir}/GIT_REMOTE") 46 remoteDoLangExists = git_remote.contains("DoLang") 47 48 if( !remoteDoLangExists ) { 49 sh 'git remote add DoLang git@gitlab.do-lang.org:internal/cfa-cc.git' 50 } 51 41 52 sh 'git push DoLang master' 42 53 } … … 131 142 cfa_build() 132 143 133 if( promoteBuild2DoLang) {144 if( promoteBuild2DoLang == true ) { 134 145 push_build() 135 146 }
Note: See TracChangeset
for help on using the changeset viewer.