Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RM: missing property exception: hasFailingTests in project ´- master #678

Closed
clemensutschig opened this issue Jun 23, 2021 · 1 comment · Fixed by #679
Closed

RM: missing property exception: hasFailingTests in project ´- master #678

clemensutschig opened this issue Jun 23, 2021 · 1 comment · Fixed by #679
Labels
bug Something isn't working

Comments

@clemensutschig
Copy link
Member

Describe the bug
after refactoring, and with #675 I removed the get from getHasFailingTests - and now its breaking early . and I am very confused - I caused this, clearly ...

To Reproduce
see latest master build logs on ods-core/readme

Affected version (please complete the following information):

  • OpenShift: [3.11]
  • OpenDevStack [master]

Log Output (ensure to remove any confidential information like tokens, project names, etc.

�[0;32m    amazon-ebs: groovy.lang.MissingPropertyException: No such property: hasFailingTests for class: org.ods.orchestration.util.Project�[0m
�[0;32m    amazon-ebs: Possible solutions: hasFailingTests�[0m
�[0;32m    amazon-ebs: 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53)�[0m
�[0;32m    amazon-ebs: 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getProperty(ScriptBytecodeAdapter.java:458)�[0m
�[0;32m    amazon-ebs: 	at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.getProperty(DefaultInvoker.java:39)�[0m
�[0;32m    amazon-ebs: 	at com.cloudbees.groovy.cps.impl.PropertyAccessBlock.rawGet(PropertyAccessBlock.java:20)�[0m
�[0;32m    amazon-ebs: 	at org.ods.orchestration.BuildStage.run(BuildStage.groovy:90)�[0m
�[0;32m    amazon-ebs: 	at org.ods.orchestration.Stage.execute(Stage.groovy:40)�[0m
�[0;32m    amazon-ebs: 	at ___cps.transform___(Native Method)�[0m

@metmajer @s2oBCN

@clemensutschig clemensutschig added the bug Something isn't working label Jun 23, 2021
@clemensutschig clemensutschig added this to To Do in OpenDevStack 4.0.0 via automation Jun 23, 2021
@clemensutschig
Copy link
Member Author

is for the CPS annotion both needed? get and just has ...
reference: https://github.com/opendevstack/ods-jenkins-shared-library/blob/master/src/org/ods/orchestration/util/Project.groovy#L956

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant