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

Support for multiple Memory Map links/plots from different pipeline stages

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • memory-map-plugin
    • None

      It would be nice to be able to run the analysis in multiple stages for multiple executables, and for the results to all be shown.  Right now the analysis can only be run once.

      For an example of the desired behavior, see the warnings-ng plugin.  There can be multiple sidebar links linking to different plots, and each can be run in a different stage.

      For example, the script doesn't work because the gcc graph is displayed twice, and the TI graph doesn't display at all.

      node()
      {
          stage("gcc")
          {
              sh('wget https://github.com/jenkinsci/memory-map-plugin/raw/master/src/test/resources/net/praqma/jenkins/integration/gcc484.zip')
              sh('unzip gcc484.zip')
              memoryMap(
                  [
                  gccParser(
                      configurationFile: 'link.ld', 
                      graphConfiguration: [
                          [graphCaption: 'Target memory', graphDataList: 'rom,ram']
                      ], 
                      mapFile: 'map.map', 
                      parserTitle: 'GCC memory map', 
                      parserUniqueName: 'Gcc'),
              ])
          }
          stage("ti")
          {
              sh('wget https://github.com/jenkinsci/memory-map-plugin/raw/master/src/test/resources/net/praqma/jenkins/integration/ti.zip')
              sh('unzip ti.zip')
              memoryMap([
                      tiParser(
                      configurationFile: '20869_RAM_lnk.cmd', 
                      graphConfiguration: [
                          [graphCaption: 'Target memory', graphDataList: 'RAMM0']
                      ], 
                      mapFile: 'TexasInstrumentsMapFile.txt', 
                      parserTitle: 'TI memory map', 
                      parserUniqueName: 'ti')
                  ])
          }
      }
      

            praqma Praqma Support
            derrickgw Derrick Gibelyou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: