In Development mode.
-
Install Jenkins by instruction:
-
Create new pipeline:
2.2. Fill field 'Item name', select 'multibranch pipeline' and press ok:
2.3. Fill 'Display Name', 'Description' fields and press 'Add source' in 'Branch Sources block':
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:
Press button 'Add' and select type of branches, used in pipeline:
2.5. Press 'Save' button in bottom of page. All is ready:
-
Visit dashboard page: http://0.0.0.0:8080 You'll see created pipeline, named 'smlp':
-
All stages placed in Jenkinsfile in root of repository.
-
To see the logs, press here:
and press 'Console output':
You would see logs of each stage: