Step images not able to pick proxy settings

Hi @bradrydzewski, I am trying to build my java project using gradle build system. We are running drone agent behind proxy server, and provided proxy to docker daemon in swarm mode. But no image is able to pick proxy settings. While i debug drone step build it is showing proxy added to environment. For further details i here-by pasting logs from drone step. Can u please help me out .

  • gradle clean build --debug
    21:21:44.961 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Environment for process ‘Gradle build daemon’: {PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin:/usr/local/gradle-5.3.1/bin, DRONE_WORKSPACE_BASE=/drone/src, NO_PROXY=“localhost,127.0.0.1,drone-server,.serviceurl.in,.docker.com”, DRONE_REPO_VISIBILITY=private, DRONE_TARGET_BRANCH=dev, https_proxy=http://172.30.155.180:3128, CI_JOB_FINISHED=1556572903, DRONE_DEPLOY_TO=, DRONE_REPO_OWNER=softcellsoftwaregroup, DRONE_STAGE_NUMBER=1, DRONE_RUNNER_PLATFORM=linux/amd64, [email protected]:softcellsoftwaregroup/mbx-connector.git, DRONE_BRANCH=dev, DRONE_SYSTEM_VERSION=1.1.0, LD_LIBRARY_PATH=/usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64:/usr/lib/jvm/java-1.8-openjdk/jre/…/lib/amd64, DRONE_JOB_FINISHED=1556572903, DRONE_STAGE_VARIANT=, DRONE_WORKSPACE=/drone/src, PWD=/drone/src, DRONE=true, DRONE_STEP_NUMBER=2, DRONE_SYSTEM_HOST=drone.serviceurl.in, CI_BUILD_STARTED=1556572896, DRONE_JOB_STATUS=success, CI_BUILD_FINISHED=1556572903, DRONE_COMMIT_AUTHOR_AVATAR=https://bitbucket.org/account/goelprateek/avatar/, DRONE_RUNNER_HOSTNAME=a3c8b9a9ef61, DRONE_REPO_LINK=https://bitbucket.org/softcellsoftwaregroup/mbx-connector, GRADLE_VERSION=5.3.1, DRONE_COMMIT_AFTER=254f20048d91817cc958e0785816e4835b7baaf0, DRONE_SYSTEM_HOSTNAME=drone.serviceurl.in, OLDPWD=/usr/local/gradle-5.3.1, DRONE_COMMIT_BEFORE=, DRONE_BUILD_LINK=https://drone.serviceurl.in/softcellsoftwaregroup/mbx-connector/125, DRONE_COMMIT_LINK=https://bitbucket.org/softcellsoftwaregroup/mbx-connector/commits/254f20048d91817cc958e0785816e4835b7baaf0, DRONE_REPO_BRANCH=master, DRONE_REPO_NAME=mbx-connector, JAVA_ALPINE_VERSION=8.111.14-r0, DRONE_COMMIT=254f20048d91817cc958e0785816e4835b7baaf0, DRONE_STAGE_ARCH=amd64, DRONE_BUILD_CREATED=1556572860, CI_WORKSPACE_BASE=/drone/src, SHLVL=2, DRONE_BUILD_ACTION=, DRONE_COMMIT_REF=refs/heads/dev, DRONE_STAGE_MACHINE=a3c8b9a9ef61, DRONE_STAGE_STARTED=1556572896, DRONE_COMMIT_BRANCH=dev, CI_JOB_STATUS=success, DRONE_MACHINE=a3c8b9a9ef61, CI_WORKSPACE_PATH=, JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk, HTTP_PROXY=http://172.30.155.180:3120, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, LANG=C.UTF-8, DRONE_BUILD_EVENT=push, DRONE_REMOTE_URL=https://bitbucket.org/softcellsoftwaregroup/mbx-connector.git, DRONE_NETRC_MACHINE=bitbucket.org, DRONE_COMMIT_AUTHOR=goelprateek, CI_BUILD_STATUS=success, DRONE_STAGE_DEPENDS_ON=, DRONE_BUILD_NUMBER=125, DRONE_REPO_NAMESPACE=softcellsoftwaregroup, HTTPS_PROXY=http://172.30.155.180:3128, DRONE_STAGE_OS=linux, DRONE_REPO_PRIVATE=true, JAVA_VERSION=8u111, DRONE_BUILD_FINISHED=1556572903, DRONE_STEP_NAME=build, CI_NETRC_MACHINE=bitbucket.org, DRONE_REPO_SCM=git, DRONE_WORKSPACE_PATH=, DRONE_GIT_HTTP_URL=https://bitbucket.org/softcellsoftwaregroup/mbx-connector.git, DRONE_RUNNER_HOST=a3c8b9a9ef61, no_proxy=“localhost,127.0.0.1,drone-server,.serviceurl.in,.docker.com”, http_proxy=http://172.30.155.180:3120, DRONE_COMMIT_AUTHOR_NAME=prateek goel, CI_JOB_STARTED=1556572896, DRONE_SOURCE_BRANCH=dev, CI=true, DRONE_BUILD_STATUS=success, DRONE_STAGE_FINISHED=1556572903, DRONE_STAGE_STATUS=success, [email protected], DRONE_BUILD_STARTED=1556572896, HOSTNAME=9a1403a5398f, DRONE_COMMIT_MESSAGE=# tweaking drone ci/cd pipeline
    , DRONE_REPO=softcellsoftwaregroup/mbx-connector, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, DRONE_STAGE_KIND=pipeline, DRONE_JOB_STARTED=1556572896, DRONE_COMMIT_SHA=254f20048d91817cc958e0785816e4835b7baaf0, DRONE_SYSTEM_PROTO=https, CI_WORKSPACE=/drone/src, HOME=/root, DRONE_STAGE_NAME=default}

org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve io.spring.gradle:dependency-management-plugin:1.0.6.RELEASE.
Caused by: org.gradle.api.resources.ResourceException: Could not get resource ‘https://repo.maven.apache.org/maven2/io/spring/gradle/dependency-management-plugin/1.0.6.RELEASE/dependency-management-plugin-1.0.6.RELEASE.pom’.

In earlier version (0.8.0) it was working perfectly. So i just want to know whether its gradle problem or drone runner are somehow not able to pass request to proxy. As if i download repo file manually using curl it is working on docker host.