SAP / jenkins-library

Jenkins shared library for Continuous Delivery pipelines.
https://www.project-piper.io
Apache License 2.0
779 stars 590 forks source link

jenksin step detectExecuteScan reports error: java.lang.NoSuchMethodError: No such DSL method 'getDockerOptions' #4827

Closed yingkunhu closed 3 months ago

yingkunhu commented 8 months ago

Hi,

Recently when we use step detectExecuteScan in jenkins to scan with black duck, an error reported:

--- An error occurred in the library step: dockerExecute
....
java.lang.NoSuchMethodError: No such DSL method 'getDockerOptions' found among steps []
...

This error only happens in the recently releases, I tried to change the release to v1.339.0, the error is gone.

Could you pls. check it?

github-actions[bot] commented 6 months ago

Thank you for your contribution! This issue is stale because it has been open 60 days with no activity. In order to keep it open, please remove stale label or add a comment within the next 10 days. If you need a Piper team member to remove the stale label make sure to add @SAP/jenkins-library-team to your comment.

theta682 commented 6 months ago

Fixed and can be closed.

D074360 commented 5 months ago

Fixed and can be closed.

Did you change anything from your end to fix the issue?

github-actions[bot] commented 3 months ago

Thank you for your contribution! This issue is stale because it has been open 60 days with no activity. In order to keep it open, please remove stale label or add a comment within the next 10 days. If you need a Piper team member to remove the stale label make sure to add @SAP/jenkins-library-team to your comment.

github-actions[bot] commented 3 months ago

Issue got stale and no further activity happened. It has automatically been closed. Please re-open in case you still consider it relevant.