Comments (7)
@noisyscanner what version of jq are you using? Because I know this command is being used by at least 4 company's pipelines with no issues. Maybe I should also check for versions in the beginning part of the script
from orbs.
Hmm we are on the same version of jq jq-1.5-1-a5b5cbe
Could you paste a code snippet of how you are calling the orb. I remember running into this myself. It was weirdness with jq I think.
Here is the sample monorepo: https://github.com/swissknife/circle-monorepo
the recent pipelines seem to work.
Also here is how the jq -cr
is supposed to work in your case. My guess is that some invalid js or is the case. The reason we don't need ''
to -cr is that the input is coming from the piped command. But maybe there is some weird case I haven't encountered yet :D
Also I'm glad you are trying the orb out :) It has saved us a TON of time.
from orbs.
That was a quick response! Locally I installed the same version as you mention, and dry-ran it through as you see in the commands echoed above, and got the same issue. Adding the quote after like jq -cr ''
fixed it for me:
from orbs.
@roopakv the command you posted also worked fine for me, but try appending > file
to the end - then I get the error
from orbs.
@noisyscanner all right lets give it a shot, send me a PR.
I'll have to make sure it works on the sample repo and some internal repos. as long it does we should be good :)
from orbs.
you are right, the command files when adding > file
. However im so confused. We are using this daily, and no pipelines are failing 🤷
oh wells! thanks for the catch
from orbs.
@noisyscanner published. you should be able to use version 0.44.0
with the fix.
You should see the latest version at https://orb.swissknife.dev
thanks for the fix :)
from orbs.
Related Issues (17)
- Failed job only runs failed tests on `Rerun workflow from start` HOT 2
- Temporary directory is not present.
- Support all branches for the `wait_for_workflows` command HOT 10
- Wait for jobs
- Getting "project not found" error HOT 5
- Git diff dots, compare from where it diverged HOT 2
- grep needs -P to accept regex with lookahead HOT 4
- Run if modified: Check all commits since last build HOT 7
- Run if modified: continuing the job, not halt it
- Control the start order of parallel jobs - possible? HOT 2
- Add support Perl regexp instead of grep extended HOT 6
- Triggering Forked Pull Requests Pipeline HOT 1
- Wait for specified job to get in running status HOT 1
- queue_up_workflow and wait_for_workflow not working HOT 12
- trigger-pipeline command doesn't work for tags HOT 3
- Authentication via `circle-token` query parameter is deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orbs.