Giter Club home page Giter Club logo

Comments (5)

lemeurherve avatar lemeurherve commented on September 16, 2024 1

Found the culprit, docker-compose config ignores the --format=json argument:

The fix is simple, add --no-interpolate argument, PR incoming.

from docker-agent.

lemeurherve avatar lemeurherve commented on September 16, 2024

Same error on trusted.ci.jenkins.io and on jenkinsci/docker 😓

I tried a replay with the JSON content generated locally, ConvertFrom-Json works correctly:
https://ci.jenkins.io/job/Packaging/job/docker-agent/job/master/534/console
https://ci.jenkins.io/job/Packaging/job/docker-agent/job/master/534/replay/diff

It might be a change in docker compose output, looking into it.

from docker-agent.

lemeurherve avatar lemeurherve commented on September 16, 2024

ConvertFrom-Json is also more strict since the last version of PowerShell:

EDIT: unrelated.

from docker-agent.

gounthar avatar gounthar commented on September 16, 2024

Good news, thanks for your research. 👍

from docker-agent.

lemeurherve avatar lemeurherve commented on September 16, 2024

The fix is simple, add --no-interpolate argument, PR incoming.

Scratch that, passing the non-interpolated content of the docker compose build file to tests breaks them.

Working on another solution.

from docker-agent.

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.