Skip to content

BNDY-NET/docker.jenkins

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Jenkins Docker image

Jenkins with nvm wrapper plugin, and integrated chrome, xvfb, nodejs, nvm, yarn and Microsoft .Net. You can build Maven projects, frontend applications, Node.js applications and .NET Core applications.

How to use this image

Get docker image

docker pull bndynet/jenkins

Start a container

Below will store the workspace in /var/jenkins_home. All Jenkins data lives in there - including plugins and configuration. You will probably want to make that a persistent volume (recommended):

docker run --name my-jenkins -p 8080:8080 -p 50000:50000 [-v /your/home:/var/jenkins_home] bndynet/jenkins

Run bash

docker exec -it my-jenkins bash

Misc

  • Initial Admin Password: /var/jenkins_home/secrets/initialAdminPassword

  • Forgot Password or Reset:

  1. Stop the Jenkins service
  2. Open the config.xml file
  3. Find this <useSecurity>true</useSecurity> and change it to <useSecurity>false</useSecurity>
  4. Start Jenkins service
  • Microsoft .NET App

    • dotnet clean - Clean build outputs.
    • dotnet test - Runs tests using a test runner.
    • dotnet build - Builds a .NET Core application.
    • dotnet publish - Publishes a .NET framework-dependent or self-contained application.

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%