Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.63 KB

pipeline_with_jenkins.md

File metadata and controls

44 lines (31 loc) · 1.63 KB

Pipeline with Jenkins

In Development mode.

  1. Install Jenkins by instruction:

  2. Create new pipeline:

2.1. Add new item: pipeline step 1

2.2. Fill field 'Item name', select 'multibranch pipeline' and press ok: pipeline step 2

2.3. Fill 'Display Name', 'Description' fields and press 'Add source' in 'Branch Sources block': pipeline step 3

2.4. Select type 'GitHub' and fill username of your github account and fill 'Password' field with personal access token, created only for access jenkins to this repo: pipeline step 4 Press button 'Add' and select type of branches, used in pipeline:

pipeline step 5

2.5. Press 'Save' button in bottom of page. All is ready:

  1. Visit dashboard page: http://0.0.0.0:8080 You'll see created pipeline, named 'smlp': dashboard

  2. Visit pipeline page (click on it link): pipeline

  3. See the stages: stages

  4. All stages placed in Jenkinsfile in root of repository.

  5. To see the logs, press here: logs1 and press 'Console output': logs2 You would see logs of each stage: logs3 logs4 logs5