Skip to content

Commit

Permalink
fix: remove dead code with an undefined variable (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuisathaverat authored Jul 4, 2019
1 parent 6183903 commit a2442b3
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -194,20 +194,6 @@ pipeline {
}
post {
cleanup {
script{
if(pythonTasksGen?.results){
writeJSON(file: 'results.json', json: toJSON(pythonTasksGen.results), pretty: 2)
def mapResults = ["${params.agent_integration_test}": pythonTasksGen.results]
def processor = new ResultsProcessor()
processor.processResults(mapResults)
archiveArtifacts allowEmptyArchive: true, artifacts: 'results.json,results.html', defaultExcludes: false
catchError(buildResult: 'SUCCESS') {
def datafile = readFile(file: "results.json")
def json = getVaultSecret(secret: 'secret/apm-team/ci/apm-server-benchmark-cloud')
sendDataToElasticsearch(es: json.data.url, data: datafile, restCall: '/jenkins-builds-test-results/_doc/')
}
}
}
notifyBuildResult()
}
}
Expand Down

0 comments on commit a2442b3

Please sign in to comment.