SAP-archive / cloud-s4-sdk-pipeline

The Cloud SDK pipeline uses the Cloud SDK continuous delivery server for building, checking, and deploying extension applications. Projects based on the SAP Cloud SDK archetype will automatically use this pipeline.
Apache License 2.0
65 stars 25 forks source link

java.lang.NoSuchMethodError: No such DSL method 'gatlingArchive' found among steps #50

Closed dayofmythology closed 4 years ago

dayofmythology commented 4 years ago

Issue Description (Mandatory)

The pipeline is failing in the stage: Performance Tests

The pipeline is failing in the Performance Tests face with the error below.

in the config.yml I have the following:

`checkGatling: enabled: True appUrls:

` performanceTests: cfTargets:

In the console output log, the performance project is built successfully. however it looks like gatlingArchive() in checkGatling.groovy is not defined.

Log Output (Mandatory)

2:07:19  info  mavenExecute - [INFO] ------------------------------------------------------------------------
12:07:19  info  mavenExecute - [INFO] BUILD SUCCESS
12:07:19  info  mavenExecute - [INFO] ------------------------------------------------------------------------
12:07:19  info  mavenExecute - [INFO] Total time: 27.353 s
12:07:19  info  mavenExecute - [INFO] Finished at: 2020-10-06T11:07:19+00:00
12:07:20  info  mavenExecute - [INFO] Final Memory: 20M/676M
12:07:20  info  mavenExecute - [INFO] ------------------------------------------------------------------------
12:07:21  info  mavenExecute - SUCCESS
12:07:21  [Pipeline] fileExists
12:07:21  [Pipeline] fileExists
12:07:21  [Pipeline] fileExists
12:07:21  [Pipeline] fileExists
12:07:21  [Pipeline] fileExists
12:07:21  [Pipeline] fileExists
12:07:21  [Pipeline] fileExists
12:07:21  [Pipeline] fileExists
12:07:21  [Pipeline] readFile
12:07:21  [Pipeline] fileExists
12:07:22  [Pipeline] fileExists
12:07:22  [Pipeline] readFile
12:07:22  [Pipeline] findFiles
12:07:22  [Pipeline] sh
12:07:24  + chown -R 1000:1000 .
12:07:24  [Pipeline] }
12:07:24  [Pipeline] // withEnv
12:07:24  [Pipeline] }
12:07:24  [Pipeline] // container
12:07:24  [Pipeline] echo
12:07:24  --- End library step of: dockerExecute ---
12:07:24  [Pipeline] }
12:07:24  [Pipeline] // withEnv
12:07:24  [Pipeline] echo
12:07:24  --- End library step of: mavenExecute ---
12:07:24  [Pipeline] echo
12:07:24  
12:07:24  ----------------------------------------------------------
12:07:24      ERROR OCCURRED IN LIBRARY STEP: checkGatling
12:07:24  ----------------------------------------------------------
12:07:24  
12:07:24  Error Details:
12:07:24  **********************************************************
12:07:24      java.lang.NoSuchMethodError: No such DSL method 'gatlingArchive' found among steps [addBadge, addEmbeddableBadgeConfiguration, addErrorBadge, addHtmlBadge, addInfoBadge, addShortText, addWarningBadge, ansiColor,

Link to Jenkins Job (if it can be shared)

Reproduce the Issue Locally (Mandatory)

In case a maven/npm command or similar failed: