-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
WIP: Issue #700 - Not working in Bitbucket pipeline: "authorization denied… #704
Conversation
…ization denied by plugin pipelines: Command not supported." Detecting Bitbucket build and creating temporary files/dirs within BITBUCKET_CLONE_DIR.
@@ -241,8 +243,23 @@ private String extractClassPathResourceToTempLocation(final String hostPath) { | |||
return tmpLocation.getAbsolutePath(); | |||
} | |||
|
|||
private boolean isOnBitbucket() { | |||
final String bbCloneDir = System.getenv(BITBUCKET_CLONE_DIR_ENV); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
call getBitbucketCloneDir() here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably some other vars will be required so i'd prefer not to join BB checking and getting some BB variable
Tested on bitbucket (building my fork of testcontainers in the very same pipeline to install it to maven local and then require it while building my module). Still not workingdue to the same error output ... To be continued. |
Just to add more light to this issue, I think that the problem still continues because it is related to the ryuk container used to "handle" all other containers. Take a look at ResourceReaper.class:
and this is forbidden by BBPipelines. I tried to update it to use the |
Any update on this? |
AFAIK BitBucket implemented a solution on their side and this PR is obsolete. |
… by plugin pipelines: Command not supported."
Detecting Bitbucket build and creating temporary files/dirs within BITBUCKET_CLONE_DIR.