Git Product home page Git Product logo

Comments (3)

IanVS avatar IanVS commented on June 22, 2024 1

Hm, but the point of the command is to perform a build and snapshot it, so how is failing to perform a build a successful outcome? :-/

The use case I really want to enable is to fail my CI when my snapshots run out or there's another problem. How would you suggest handling it? Does Build not created get logged out in all situations, and I should fail my CI based on that?

from cli.

itsjwala avatar itsjwala commented on June 22, 2024

Hi @IanVS 👋

  • I could see the build was not created, and thus build "fails" won't be correct.
    • If a build was created then you can use build:wait ref, it outputs useful information which you may process further.
  • Currently, it's by design that exit codes are managed this way, we'll evaluate the need for this in the future.
  • Though as a workaround, for this issue you may parse this log message and handle exits on your end.

from cli.

itsjwala avatar itsjwala commented on June 22, 2024

@IanVS

  • In current terminologies, the build is generally not created when PERCY_TOKEN is not passed, or the API has failed to acknowledge the request.
    • so Build not created log line can be used for this scenario.
  • for other scenarios where the build was created and for any reason didn't succeed can be evaluated usingbuild:wait ref.

from cli.

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.