-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
The command:
C:\SoftwareArchitecture> docker run --rm --entrypoint /bin/bash -it -v ${PWD}:/project doctoolchain/doctoolchain-azure-devops-pipeline:v3.4.1 -c "doctoolchain . generateDocbook -PmainConfigFile=config/docToolchainConfig.groovy --warning-mode=none --no-daemon && exit"The error:
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/8.1.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :
>>>>>>>>> fix grolifant
>>>>>>>>> fix okhttp-digest
> Task :generateDocbook FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':generateDocbook'.
> Could not resolve all files for configuration ':detachedConfiguration2'.
> Could not resolve org.asciidoctor:asciidoctorj:2.5.7.
Required by:
project :
> Could not resolve org.asciidoctor:asciidoctorj:2.5.7.
> Could not get resource 'https://plugins.gradle.org/m2/org/asciidoctor/asciidoctorj/2.5.7/asciidoctorj-2.5.7.pom'.
> Could not GET 'https://plugins.gradle.org/m2/org/asciidoctor/asciidoctorj/2.5.7/asciidoctorj-2.5.7.pom'.
> plugins.gradle.org
> Could not resolve org.asciidoctor:asciidoctorj:2.5.7.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/asciidoctor/asciidoctorj/2.5.7/asciidoctorj-2.5.7.pom'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/asciidoctor/asciidoctorj/2.5.7/asciidoctorj-2.5.7.pom'.
> repo.maven.apache.org: Name does not resolve
> Could not resolve org.asciidoctor:asciidoctorj:2.5.7.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/asciidoctor/asciidoctorj/2.5.7/asciidoctorj-2.5.7.pom'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/asciidoctor/asciidoctorj/2.5.7/asciidoctorj-2.5.7.pom'.
> repo.maven.apache.org
Note that the local proxy server (https://github.com/genotrance/px) is running on localhost:3128.
And I tried passing the proxy server as environment variables, but that does not solve it.
--env http_proxy="host.docker.internal:3128" --env https_proxy="host.docker.internal:3128"
Is there a way to fix this?
Metadata
Metadata
Assignees
Labels
No labels