Build issues - gradlew build - SubWorkflowParamsTest fails, docker build cant find ./gradlew
See original GitHub issueHaving multiple issues with building master branch of Conductor using Windows 10/Gitbash. Just did a clone of the master branch. From the conductor root did a ./gradlew build and it failed on the SubWorkflowParamsTest:
com.netflix.conductor.common.workflow.SubWorkflowParamsTest > testWorkflowDefJson FAILED
org.junit.ComparisonFailure at SubWorkflowParamsTest.java:119
Then I tried to do a docker build from the docker directory with ‘docker build -t conductor:server ./server’ and got this:
---> b2b927953ec5
Step 5/16 : RUN ./gradlew build -x test
---> Running in c49714c655e0
/bin/sh: 1: ./gradlew: not found
The command '/bin/sh -c ./gradlew build -x test' returned a non-zero code: 127
Gist link for the full log: https://gist.github.com/rickfish/fc0961a7fb681a7b5455987f934536eb
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Can't run gradle wrapper with docker build - Stack Overflow
The Gradle wrapper gradlew is a shell script, and if shell scripts get copied in with DOS line endings, you could get a...
Read more >Image-building best practices - Docker Documentation
Tips for building the images for our application. ... Use the docker image history command to see the layers in the getting-started image...
Read more >Topical Guide | Spring Boot Docker
In this guide, we aim to show you some of the choices you can make if you are faced with the prospect of...
Read more >Developing Locally | Airbyte Documentation
gradlew build creates all the necessary artifacts (Webapp, Jars and Docker images) so that you can run Airbyte locally. Since this builds everything, ......
Read more >Gitlab-ci for gradle 7.3.3
I am trying to create ci/cd pipeline as well with gitlab-ci.yml ... gradlew clean build -x test artifacts: paths: - build/libs/*.jar ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Let me disclose steps I’ve executed, which is explained on my first reference.
You didn’t make clear if Repo was cloned again, although you mentioned you saw CRLF… Well I hope that is the difference, otherwise I won’t know what is happening on your case @rickfish .
Nice, it seems I’ve inverted screenshots then. I am glad this is solved for you @rickfish