Building an app using gradle with jenkins in docker

I want to build my project with gradle.
To achieve this I have a docker file with installation details of Gradle and Java and I am trying to run it as a Jenkins job.
I have the docker file in the root of my project and I have configured Jenkins to pull code from git.
I have installed Jenkins in docker too..

But I am not sure hot to run the docker file as a Jenkins Job and then run Gradle as a Jenkins Job.

  • External access to Node.JS app, within Docker container
  • In Docker tomcat container tomcat is not running
  • Docker: How to run cython_extensions?
  • Finding Containers Using Docker VirtualBox
  • how to redirect http to https in nginx docker elastic beanstalk
  • How to extend an existing docker image?
  • Send mails from redmine container
  • How to allow a range of ports in Kubernetes in containerPort variable?
  • Using dotnet from docker to power Visual Studio C# extension (OmniSharp)
  • docker with bower, grunt
  • Why are large files in my Docker image getting pushed each time even when no changes have been made to them?
  • Docker CMD with envsubst and tee
  • One Solution collect form web for “Building an app using gradle with jenkins in docker”

    These would be a checking list you would need to follow:

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.