Changeset df57a84 for Jenkinsfile


Ignore:
Timestamp:
Apr 26, 2019, 11:26:48 AM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
e2862d3
Parents:
47bfefd
Message:

Some more fidling with the jenkins plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r47bfefd rdf57a84  
    329329
    330330                def full = param.RunAllTests ? " (Full)" : ""
    331                 this.DescShort = "${ this.Compiler.name }:${ this.Architecture.name }${full}"
     331                this.DescShort = "${env.BUILD_NUMBER} - ${ this.Compiler.name }:${ this.Architecture.name }${full}"
    332332
    333333                this.DescLong = """Compiler              : ${ this.Compiler.name } (${ this.Compiler.CXX }/${ this.Compiler.CC })
     
    424424
    425425def do_plot(String file, String group, String title) {
    426         def data = readFile "${BuildDir}/benchmark/${file}.csv"
    427         echo data
    428         writeFile file: 'data.csv', text: data
    429 
     426        echo "file is ${BuildDir}/benchmark/${file}.csv, group ${group}, title ${title}"
     427        dir("${BuildDir}/benchmark/") {
    430428                plot csvFileName: "cforall-${env.BRANCH_NAME}-${file}.csv",
    431429                        csvSeries: [[
    432                                 file: 'data.csv',
     430                                file: "${file}.csv",
    433431                                exclusionValues: '',
    434432                                displayTableFlag: false,
     
    441439                        exclZero: false,
    442440                        keepRecords: false,
    443                         logarithmic: false,
     441                        logarithmic: true,
    444442                        numBuilds: '120',
    445443                        useDescr: true,
     
    447445                        yaxisMaximum: '',
    448446                        yaxisMinimum: ''
    449 }
     447        }
     448}
Note: See TracChangeset for help on using the changeset viewer.