Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71603

Please add commit message to the return array from checking out code

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • p4-plugin
    • None

      It is really stupid that we have to install p4 on the jenkins nodes to get the commit message from the changelist number

      Comment message should be return as part of the array from the groovy call

       example

       
      P4_DATA = p4sync (
                               charset: 'none',
                               credential: 'jenkins,
                               format: "jenkins-${NODE_NAME}-${JOB_NAME}",
                               populate: autoClean(
                               delete: true,
                               modtime: true,
                               parallel: [enable: false, minbytes: '1024', minfiles: '1', threads: '12'],
                               pin: '',
                               quiet: true,
                               replace: true,
                               tidy: false
                               ),
                               source: streamSource('//foo/config')
                               )
      P4_DATA.P4_COMMIT_MESSAGE. or what every variable name you want it should contain the commit message as part of the return array

       

            Unassigned Unassigned
            renthippie Steven
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: