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

NullPointerException if error occurs during prepare stage #68

Closed
michaelsauter opened this issue Mar 5, 2019 · 2 comments · Fixed by #80
Closed

NullPointerException if error occurs during prepare stage #68

michaelsauter opened this issue Mar 5, 2019 · 2 comments · Fixed by #80
Assignees
Labels
bug Something isn't working

Comments

@michaelsauter
Copy link
Member

If an error occurs during the prepare stage, then the call to set the build status in BitBucket might throw a NPE. We should figure out if we are able to set the build status, and if not, we should not even attempt to set the status. This affects 1.0.x and master.

@michaelsauter michaelsauter added the bug Something isn't working label Mar 5, 2019
@michaelsauter michaelsauter self-assigned this Mar 5, 2019
@clemensutschig
Copy link
Member

We have to provide much better err messages ;-)
Eg branch2env missing

@michaelsauter
Copy link
Member Author

@clemensutschig Oh the error message is actually there:

ERROR: Param 'branchToEnvironmentMapping' is required

It's just that the NullPointer is printed before that so one thinks that the pipeline is totally broken :)

@clemensutschig clemensutschig moved this from To do to In progress in OpenDevStack 1.0.2 Mar 19, 2019
@clemensutschig clemensutschig moved this from In progress to Done in OpenDevStack 1.0.2 Apr 1, 2019
@clemensutschig clemensutschig moved this from To Do to Done in OpenDevStack 1.1.0 May 6, 2019
sino92 pushed a commit that referenced this issue Apr 16, 2020
…m fix/jobs-fails-when-using-custom-test-reports-location to production

* commit '6fdcdf90831382101481302939738ad46fc666a9':
  Fix cmd that copy files to default test location
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
2 participants