Jenkins vs gogs

16
JENKINS VS GOGS JAJA

Transcript of Jenkins vs gogs

PowerPoint

Jenkins vs Gogsjaja

OutlineGogs GitlabGogs & JenkinsJenkinsfile & pipeline

Gogs GitlabGit service Private Easy use by docker

Gogs on Docker

https://github.com/gogits/gogs/tree/master/docker

JENKINS on Docker

https://hub.docker.com/_/jenkins/

Gogs & Jenkinssetting web hook & Git ssh key

Sshkey gen Linux : ssh-keygenWindows : putty.exe https://backlogtool.com/git-guide/tw/reference/ssh.html

IF you want to CI server can deploy to production repository . You need add CI ssh-key

6

Gogs & Jenkins

7

SIMPLE DEMOGit push to gogs and Jenkins build it

8

Jenkinsfile & pipelineEASY edit BY developer or devopspipeline-as-code Pipeline can visualizations (Blue Ocean)

Jenkinsfile

Easy to definition https://jenkins.io/doc/book/pipeline/syntax/

visualizationshttps://jenkins.io/doc/book/pipeline/syntax/

Free stylePipeline by Jenkinsfile

visualizationshttps://jenkins.io/doc/book/pipeline/syntax/

Separator Development and production

13

Separator Development and production

14

DEPLOYDevelopmentRepositoryProductionRepository

BuildTesting

Developers

PushJenkins

Production Machine

Daily pullTrigger pullhttp://www.jianshu.com/p/b790436f53b3CI

Thank you