Skip to content

L0d0c/env-jenkins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

env-jenkins

  • Create SSH key pair (public/private)
  • Add id_rsa and id_rsa.pub in the same path to Dockerfile

Create Docker image on Dockerhub : In docker command and docker-compose.yml replace "repository" by your Dockerhub repository

  • docker build -t jenkins .
  • docker tag jenkins repository/jenkins:latest
  • docker push repository/jenkins:latest

Docker-compose

  • import docker-compose.yml file
  • exec command :

docker-compose up -d

  • For access to Jenkins interface run http://IP:8080 on your Web browser
  • view jenkins default password :

docker exec jenkins cat /var/jenkins_home/secrets/initialAdminPassword

Azure cloud :

Connect to jenkins container :

docker exec -it jenkins bash

Install Azure cli :

curl -sL https://aka.ms/InstallAzureCLIDeb | bash

Connect to Azure account :

az login

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published