Code Monkey home page Code Monkey logo

Comments (7)

f-meloni avatar f-meloni commented on July 28, 2024

It seems that the bitBucketServer object in your DSL is null.

What is the output of danger-kotlin pr $YOUR_PR_LINK --json?

from kotlin.

vchernyshov avatar vchernyshov commented on July 28, 2024

@f-meloni here is the json structure:
Screenshot 2022-04-10 at 09 04 14

according to source code _bitBucketServer is serialised with key bitbucket_server so looks like danger-kotlin doesn't support bitbucket_cloud

from kotlin.

f-meloni avatar f-meloni commented on July 28, 2024

Yes, it should be simple to fix that, but it seems that Danger Kotlin is not supporting bitbucket_cloud at the moment, let me see what I can do to fix it

from kotlin.

vchernyshov avatar vchernyshov commented on July 28, 2024

@f-meloni it's simple but time consuming, bitbucket_cloud has different API response so it's not possible just to add new property to Danger with bitbucket_cloud, I had to modify several DTOs to make it work. Currently it's enough for me to test Danger-Kotlin, if it will cover all our needs we age going to add support of bitbucket_cloud by ourself and create PR to Danger-Kotlin

from kotlin.

f-meloni avatar f-meloni commented on July 28, 2024

Yeah, Danger Swift has already that DSL built, so we might just try to copy it here https://github.com/danger/swift/blob/master/Sources/Danger/BitBucketCloud.swift

from kotlin.

vchernyshov avatar vchernyshov commented on July 28, 2024

Thanks, it will help me.

from kotlin.

vchernyshov avatar vchernyshov commented on July 28, 2024

@f-meloni I have checked cloud support for swift and looks like the models are outdated.
I have extra question: is it possible to use pull request model inside plugin?

from kotlin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.