Changeset 6b6c26e for Jenkinsfile
- Timestamp:
- Sep 10, 2019, 11:04:46 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- aa8e8301
- Parents:
- fdb6ac6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
rfdb6ac6 r6b6c26e 224 224 //Routine responsible of sending the email notification once the build is completed 225 225 //=========================================================================================================== 226 @NonCPS 227 def SplitLines(String text) { 228 def list = [] 229 230 text.eachLine { 231 list += it 232 } 233 234 return list 235 } 236 226 237 def GitLogMessage() { 227 238 if (!Settings || !Settings.GitOldRef || !Settings.GitNewRef) return "\nERROR retrieveing git information!\n" … … 231 242 232 243 def revText = sh(returnStdout: true, script: "git rev-list ${oldRef}..${newRef}").trim() 233 def revList = [] 234 revText.eachLine { 235 revList += it 236 } 244 def revList = SplitLines( revText ) 237 245 238 246 def gitUpdate = ""
Note: See TracChangeset
for help on using the changeset viewer.