Changeset d3a4564


Ignore:
Timestamp:
Aug 17, 2018, 3:24:18 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
2469a6e
Parents:
1947795
Message:

Trying to parse the changesets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r1947795 rd3a4564  
    9595                checkout scm
    9696
    97                 echo "${currentBuild.changeSets}"
     97
     98                for (int i = 0; i < changeLogSets.size(); i++) {
     99                        def entries = changeLogSets[i].items
     100                        for (int j = 0; j < entries.length; j++) {
     101                                def entry = entries[j]
     102                                echo "${entry.commitId} by ${entry.author} on ${new Date(entry.timestamp)}: ${entry.msg}"
     103                                def files = new ArrayList(entry.affectedFiles)
     104                                for (int k = 0; k < files.size(); k++) {
     105                                        def file = files[k]
     106                                        echo "  ${file.editType.name} ${file.path}"
     107                                }
     108                        }
     109                }
     110
     111                echo """This is an automated email from the Jenkins build machine. It was
     112generated because of a git hooks/post-receive script following
     113a ref change was pushed to the repository containing
     114the project "UNNAMED PROJECT".
     115
     116The branch ${env.BRANCH_NAME} has been updated.
     117
     118
     119Check console output at ${env.BUILD_URL} to view the results.
     120
     121- Status --------------------------------------------------------------
     122
     123BUILD# ${env.BUILD_NUMBER} - ${status}
     124
     125- Log -----------------------------------------------------------------
     126
     127-----------------------------------------------------------------------
     128Summary of changes:
     129
     130"""
    98131        }
    99132}
Note: See TracChangeset for help on using the changeset viewer.