Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Continuous integration is there any job naming conventions in the jenkins

I would like to know if we have any job naming conventions exist in the continuous integration. we are using Jenkins for Ci , please suggest .

naming conventions should be something like this , environment, service, purpose build or deploy etc.

any other suggestions are appreciated.

like image 215
user2750116 Avatar asked Apr 06 '16 08:04

user2750116


1 Answers

I am using a convention that goes like this:

<primary purpose of the job | uppercase>_<(GitHub) project name>_<branch name / additional info>

So jobs would be named like

BUILD_my-project
DEPLOY_my-project_staging
TEST_my-project_staging
UTILITY_install-helpful-tool_staging
INFRA_run-job-dsl

To make things easier to maintain, especially when using the JobDSL I prefer to not have separate display names for jobs, at the cost of having both hyphens and underscores in job names.

like image 160
Thomas Hirsch Avatar answered Sep 22 '22 02:09

Thomas Hirsch