{"id":15688,"date":"2021-02-19T10:00:49","date_gmt":"2021-02-19T09:00:49","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/"},"modified":"2023-07-17T16:41:29","modified_gmt":"2023-07-17T14:41:29","slug":"jenkins-create-a-pipeline-using-blue-ocean","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/","title":{"rendered":"JENKINS create a pipeline using Blue Ocean"},"content":{"rendered":"<p>Hi everybody,<br \/>\nLast time we have seen what is Pipeline concepts including scripted and declarative pipeline methods.Today we will see how to create easily a declarative pipeline using Blue ocean tool.It will allow us to generate a workflow without needing advanced scripting skills.<\/p>\n<h3>what&#8217;s blue ocean?<\/h3>\n<p>Blue Ocean is graphical user interface making it easier to define continuous delivery pipelines. To build your pipelines you will use an integrated editor. You will be able to check their execution visually and to detected problems at any step of the workflow in order to solve then quicker.<\/p>\n<ul>\n<li>starting installation of blue ocean<\/li>\n<\/ul>\n<p>for our case we will add it directly to our Jenkins master using the plugin manager<br \/>\nYou also have some interesting info at <a href=\"https:\/\/www.jenkins.io\/doc\/book\/blueocean\/getting-started\/\">https:\/\/www.jenkins.io\/doc\/book\/blueocean\/getting-started\/<\/a><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-51364\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANINSTALL1-3.png\" alt=\"\" width=\"845\" height=\"355\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47559\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANINSTALL2.png\" alt=\"\" width=\"935\" height=\"427\" \/><\/p>\n<ul>\n<li>wait for installation<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47555\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANINSTALL3.png\" alt=\"\" width=\"935\" height=\"430\" \/><\/p>\n<h3>create our 1st pipeline using Blue ocean<\/h3>\n<ul>\n<li>Now we have installed blue ocean we will start it from Jenkins dashboard<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47562\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANINSTALL4.png\" alt=\"\" width=\"876\" height=\"435\" \/><\/p>\n<ul>\n<li>here we are ,we can now access to a GUI to manage pipeline creation execution and edition<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47551\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANUI1.png\" alt=\"\" width=\"880\" height=\"220\" \/><\/p>\n<h3>using blue ocean GUI<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47552\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANUI2.png\" alt=\"\" width=\"884\" height=\"224\" \/><\/p>\n<ul>\n<li>select your git environment ( for this case GitHub<\/li>\n<\/ul>\n<h3>add a Git repository<\/h3>\n<ul>\n<li>to continue the pipeline creation we have to add a git repository ( if you dont have it you must create it,in this example we will use github )<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47553\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANUI3.png\" alt=\"\" width=\"876\" height=\"327\" \/><\/p>\n<ul>\n<li>to allow Jenkins to communicate with Github we will define an access token from Github<\/li>\n<\/ul>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47564\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/GITHUBTOKEN1-1.png\" alt=\"\" width=\"867\" height=\"422\" \/><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47565\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/GITHUBTOKEN2.png\" alt=\"\" width=\"868\" height=\"492\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47567\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/GITHUBTOKEN3gentoken.png\" alt=\"\" width=\"958\" height=\"99\" \/><\/p>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47570\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/GITHUBTOKEN4gentoken.png\" alt=\"\" width=\"884\" height=\"433\" \/><\/h3>\n<ul>\n<li>select your organization<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47572\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/GITHUBTOKEN4gentokenREPO.png\" alt=\"\" width=\"544\" height=\"640\" \/><\/p>\n<ul>\n<li>select the repository to create your pipeline<\/li>\n<\/ul>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47573\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/GITHUBTOKEN4gentokenREPO2.png\" alt=\"\" width=\"851\" height=\"1155\" \/><\/h3>\n<ul>\n<li>if no Jenkinsfile found inside, blue ocean will ask to create one<\/li>\n<\/ul>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47574\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/1702CREATEJNKFILE.png\" alt=\"\" width=\"875\" height=\"382\" \/><\/h3>\n<ul>\n<li>in this part you will selected (and edit when you want) all steps of your pipeline thanks to pre-configured tools<\/li>\n<\/ul>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47577\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/select-steps.png\" alt=\"\" width=\"854\" height=\"393\" \/><\/h3>\n<ul>\n<li>Once configured you can start your pipeline an see the result<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-47578\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/select-steps2.png\" alt=\"\" width=\"1912\" height=\"473\" \/><\/p>\n<ul>\n<li>it is possible to check each log of each steps by clicking on it, also we have access to other in the tool bar\u00a0 like &#8220;tests&#8221; and &#8220;artifacts&#8221;(where we can download output of the pipeline and see all its execution step by step)<\/li>\n<\/ul>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47579\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/select-steps3.png\" alt=\"\" width=\"924\" height=\"117\" \/><\/h3>\n<h3>update file from GitHub repository<\/h3>\n<p>when we check the log below we can see that it is connecting to Github to perform the workflow using the Jenkins file<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">Branch indexing\n\nConnecting to https:\/\/api.github.com using adminjnks\/****** (GitHub Access Token)\n\nObtained Jenkinsfile from 922c2521cbe0c42b728957a2458aed7216a9e6a2\n\nRunning in Durability level: MAX_SURVIVABILITY\n\n[Pipeline] Start of Pipeline\n\n[Pipeline] node\n\nRunning on Jenkins in \/var\/lib\/jenkins\/workspace\/TSTPPL_main\n\n[Pipeline] {\n\n[Pipeline] stage\n\n[Pipeline] { (Declarative: Checkout SCM)\n\n[Pipeline] checkout\n\nThe recommended git tool is: NONE\n\nusing credential github\n\n&gt; git rev-parse --is-inside-work-tree # timeout=10\n\nFetching changes from the remote Git repository\n\n&gt; git config remote.origin.url https:\/\/github.com\/admjenkins\/TSTPPL.git # timeout=10\n\nCleaning workspace\n\n&gt; git rev-parse --verify HEAD # timeout=10\n\nResetting working tree\n\n&gt; git reset --hard # timeout=10\n\n&gt; git clean -fdx # timeout=10\n\nFetching without tags\n\nFetching upstream changes from https:\/\/github.com\/admjenkins\/TSTPPL.git\n\n&gt; git --version # timeout=10\n\n&gt; git --version # 'git version 2.27.0'\n\nusing GIT_ASKPASS to set credentials GitHub Access Token\n\n&gt; git fetch --no-tags --force --progress -- https:\/\/github.com\/admjenkins\/TSTPPL.git +refs\/heads\/main:refs\/remotes\/origin\/main # timeout=10\n\nChecking out Revision 922c2521cbe0c42b728957a2458aed7216a9e6a2 (main)\n\n&gt; git config core.sparsecheckout # timeout=10\n\n&gt; git checkout -f 922c2521cbe0c42b728957a2458aed7216a9e6a2 # timeout=10\n\n&gt; git branch -a -v --no-abbrev # timeout=10\n\n&gt; git branch -D main # timeout=10\n\n&gt; git checkout -b main 922c2521cbe0c42b728957a2458aed7216a9e6a2 # timeout=10\n\nCommit message: \"Added Jenkinsfile\"\n\n&gt; git rev-list --no-walk cb0ef1ff70cfb9c1dc25662d420620d608bcf200 # timeout=10\n\nCleaning workspace\n\n&gt; git rev-parse --verify HEAD # timeout=10\n\nResetting working tree\n\n&gt; git reset --hard # timeout=10\n\n&gt; git clean -fdx # timeout=10\n\n[Pipeline] }\n\n[Pipeline] \/\/ stage\n\n[Pipeline] withEnv\n\n[Pipeline] {\n\n[Pipeline] withEnv\n\n[Pipeline] {\n\n[Pipeline] stage\n\n[Pipeline] { (TEST)\n\n[Pipeline] echo\n\ntest fisrt stage\n\n[Pipeline] }\n\n[Pipeline] \/\/ stage\n\n[Pipeline] stage\n\n[Pipeline] { (BUILD FOLDER)\n\n[Pipeline] sh\n\n+ mkdir \/home\/jenkins\/PPLTESTING\n\n[Pipeline] }\n\n[Pipeline] \/\/ stage\n\n[Pipeline] stage\n\n[Pipeline] { (CREATE FILE)\n\n[Pipeline] sh\n\n+ touch \/home\/jenkins\/PPLTESTING\/filecreatedPPL\n\n[Pipeline] }\n\n[Pipeline] \/\/ stage\n\n[Pipeline] }\n\n[Pipeline] \/\/ withEnv\n\n[Pipeline] }\n\n[Pipeline] \/\/ withEnv\n\n[Pipeline] }\n\n[Pipeline] \/\/ node\n\n[Pipeline] End of Pipeline\n\n\n\n\nGitHub has been notified of this commit\u2019s build result\n\n\n\n\nFinished: SUCCESS<\/pre>\n<h3>edit Jenkins file from Source code repository<\/h3>\n<p>By editing the Jenkinsfile in the repository we can also update the Pipeline with the text editor.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47581\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/select-steps4.png\" alt=\"\" width=\"926\" height=\"543\" \/><\/p>\n<ul>\n<li>Once done you select if commit will be performed on the main branch or on another branch<\/li>\n<\/ul>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47582\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/select-steps5.png\" alt=\"\" width=\"840\" height=\"224\" \/><\/h3>\n<h3>add parallel steps<\/h3>\n<ul>\n<li>with Blue ocean you also have the possibility to add parallel steps for your pipelines to check for example software version or add a file-watcher<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-47586\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/select-steps6.png\" alt=\"\" width=\"867\" height=\"286\" \/><\/p>\n<h3>conclusion<\/h3>\n<p>Now you are able to easily create and manage your pipelines with Blue ocean but bare in mind it doesn&#8217;t include every feature of Jenkins master interface.Next time we will check some pipeline use case and see how to use features like artifacts.<br \/>\nFeel free to visit <a href=\"https:\/\/www.dbi-services.com\/blog\/\">dbi blogger&#8217;s<\/a> and take a look on Cloudbees and Jenkins site.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi everybody, Last time we have seen what is Pipeline concepts including scripted and declarative pipeline methods.Today we will see how to create easily a declarative pipeline using Blue ocean tool.It will allow us to generate a workflow without needing advanced scripting skills. what&#8217;s blue ocean? Blue Ocean is graphical user interface making it easier [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":15708,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1320],"tags":[],"type_dbi":[],"class_list":["post-15688","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>JENKINS create a pipeline using Blue Ocean - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JENKINS create a pipeline using Blue Ocean\" \/>\n<meta property=\"og:description\" content=\"Hi everybody, Last time we have seen what is Pipeline concepts including scripted and declarative pipeline methods.Today we will see how to create easily a declarative pipeline using Blue ocean tool.It will allow us to generate a workflow without needing advanced scripting skills. what&#8217;s blue ocean? Blue Ocean is graphical user interface making it easier [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-19T09:00:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-17T14:41:29+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANINSTALL2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Middleware Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Middleware Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/\"},\"author\":{\"name\":\"Middleware Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\"},\"headline\":\"JENKINS create a pipeline using Blue Ocean\",\"datePublished\":\"2021-02-19T09:00:49+00:00\",\"dateModified\":\"2023-07-17T14:41:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/\"},\"wordCount\":496,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANINSTALL2.jpg\",\"articleSection\":[\"DevOps\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/\",\"name\":\"JENKINS create a pipeline using Blue Ocean - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANINSTALL2.jpg\",\"datePublished\":\"2021-02-19T09:00:49+00:00\",\"dateModified\":\"2023-07-17T14:41:29+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANINSTALL2.jpg\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANINSTALL2.jpg\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JENKINS create a pipeline using Blue Ocean\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1\",\"name\":\"Middleware Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g\",\"caption\":\"Middleware Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"JENKINS create a pipeline using Blue Ocean - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/","og_locale":"en_US","og_type":"article","og_title":"JENKINS create a pipeline using Blue Ocean","og_description":"Hi everybody, Last time we have seen what is Pipeline concepts including scripted and declarative pipeline methods.Today we will see how to create easily a declarative pipeline using Blue ocean tool.It will allow us to generate a workflow without needing advanced scripting skills. what&#8217;s blue ocean? Blue Ocean is graphical user interface making it easier [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/","og_site_name":"dbi Blog","article_published_time":"2021-02-19T09:00:49+00:00","article_modified_time":"2023-07-17T14:41:29+00:00","og_image":[{"width":1920,"height":1080,"url":"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANINSTALL2.jpg","type":"image\/jpeg"}],"author":"Middleware Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Middleware Team","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/"},"author":{"name":"Middleware Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"headline":"JENKINS create a pipeline using Blue Ocean","datePublished":"2021-02-19T09:00:49+00:00","dateModified":"2023-07-17T14:41:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/"},"wordCount":496,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANINSTALL2.jpg","articleSection":["DevOps"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/","url":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/","name":"JENKINS create a pipeline using Blue Ocean - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANINSTALL2.jpg","datePublished":"2021-02-19T09:00:49+00:00","dateModified":"2023-07-17T14:41:29+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANINSTALL2.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/BLUEOCEANINSTALL2.jpg","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/jenkins-create-a-pipeline-using-blue-ocean\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"JENKINS create a pipeline using Blue Ocean"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/8d8563acfc6e604cce6507f45bac0ea1","name":"Middleware Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ddcae7ba0f9d1a0e7ae707f0e689e4a9c95bb48ec49c8e6d9cc86d43f4121cb6?s=96&d=mm&r=g","caption":"Middleware Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/middleware-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/15688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=15688"}],"version-history":[{"count":1,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/15688\/revisions"}],"predecessor-version":[{"id":26769,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/15688\/revisions\/26769"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/15708"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=15688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=15688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=15688"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=15688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}