Skip to content

sashawins/calculator-pipeline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

$ git clone https://github.com/sashawins/calculator-pipeline.git
$ cd calculator-pipeline

$ docker build -t myjenkins .
$ docker run -d -v jenkins_home:/var/jenkins_home -p 8080:8080 -p 50000:50000 --name jenkins-alpine myjenkins

Launching Jenkins

Use http://localhost:8080 or http://0.0.0.0:8080 on your host machine browser.
Login via admin as a login and %/var/lib/jenkins/secrets/initialAdminPassword% as a password.

Creating Pipeline

Via creating new item named CalculatorMicroservice as a Multibranch Pipeline and saving it with default settings.

Configurung Pipeline

Add your credentials choosing Username with password kind containing login and password from your GitHub using Credentials tab inside your Multibranch Pipeline job, so it could be scoped to our Job only.
Go back to configuring our pipeline. On Branch Sources tab click Add and choose Git. Insert https://github.com/sashawins/calculator-pipeline.git as a Project Repository and your GitHub username with password as Credentials.

Start Building

On your Job's workspace choose Scan Multibranch Pipeline Log and then Multibranch Pipeline Events.
It should now start a build which will appear in Build Queue.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 64.3%
  • Dockerfile 35.7%