Go to manage Jenkins -> manage plugins -> tab available ->filter Pipeline
Tick pipeline: declarative
tick pipeline: stage view
and press install without restart
Go to New Item
Type a name hello-world-pipeline
Select Pipeline and press ok
set build trigger
Tick Github hook trigger ....
Go to Pipeline
Definition Select Pipeline script from SCM
SCM git
Enter the hello-world github repo url
in goland copy and paste the source from the file build-hello-world-pipeline to Jenkinsfile
Script path: Jenkinsfile
Procede with the other scripts
build-hello-world-checkstyle-pipeline copy/paste to Jenkinsfile commit/push
Go to manage Jenkins -> manage plugins -> tab available ->filter Pipeline
Tick Pipeline: Declarative and press install without restart
Tick Pipeline: Stage view
and press install without restart
Go to New Item
Type a name hello-world-pipeline
Select Pipeline and press ok
set build trigger
Tick Github hook trigger ....
Go to Pipeline
Definition Select Pipeline script from SCM
SCM git
Enter the hello-world github repo url
in goland copy and paste the source from the file build-hello-world-pipeline to Jenkinsfile
Script path: Jenkinsfile
Procede with the other scripts
build-hello-world-checkstyle-pipeline copy/paste to Jenkinsfile commit/push