项目作者: jfparis84

项目描述 :
test-jenkins-pipeline
高级语言: PHP
项目地址: git://github.com/jfparis84/test-jenkins-pipeline.git
创建时间: 2019-11-12T02:20:24Z
项目社区:https://github.com/jfparis84/test-jenkins-pipeline

开源协议:

下载


test-jenkins-pipeline

This project template was develop to test the Jenkins Blue Ocean with Docker. How the pipeline syntax looks like and how you can interact with Jenkins with the Jenkinsfile and the Dockerfile.

Requirements

Before you start, you need some requirements:

You can pull the jenkinsci/blueocean docker image to start Jenkins with the Blue Ocean plugin already installed.

Start Jenkins With Docker

You can use this docker run command to start Jenkins.

  1. $ docker run \
  2. --rm \
  3. -u root \
  4. -p 8080:8080 \
  5. -v jenkins-data:/var/jenkins_home \
  6. -v /var/run/docker.sock:/var/run/docker.sock \
  7. -v "$HOME":/home \
  8. jenkinsci/blueocean

With this command, Jenkins will have access to the dockerd service to interact with it.

My First Installation Of Jenkins

If you are not familiar with this, please go to Jenkins Installation procedures.

My First Pipeline

Once Jenkins is launched, navigate to http://localhost:8080/blue to enter in the Blue Ocean Project.

Have Fun :)