Skip to main content

Questions tagged [jenkins-blueocean]

Blue Ocean is a [now abandoned] next generation user experience for Jenkins, Blue Ocean, a revamped user interface for the Jenkins CI/CD (continuous integration/continuous delivery) server. Use this tag for questions referring to the Blue Ocean plugin for Jenkins.

jenkins-blueocean
Filter by
Sorted by
Tagged with
75 votes
8 answers
37k views

Jenkins Pipeline sh display name/label

With Jenkins 2 Pipeline plugin, there's a useful feature allowing a quick overview of the pipeline stages and status of steps, including logging output. However, if you use the "Shell script" (sh) ...
goofballLogic's user avatar
28 votes
5 answers
22k views

Matrix configuration with Jenkins pipelines

The Jenkins Pipeline plugin (aka Workflow) can be extended with other Multibranch plugins to build branches and pull requests automatically. What would be the preferred way to run multiple ...
giorgiosironi's user avatar
20 votes
8 answers
12k views

Where is the Blue Ocean pipeline editor?

Where is the pipeline editor located within the Blue Ocean Jenkins plugin? I can see my pipeline jobs, and when clicking into these I cant see any links\buttons that take me to the editor. I'm sure ...
mindparse's user avatar
  • 6,905
19 votes
5 answers
9k views

How can I force Jenkins Blue Ocean to display print output instead of "Print Message"?

In the below screenshot some debug entries display the output text (with - Print Message at the end) while others simply display Print Message. To view these you have to expand the step to see the ...
Caesar Kabalan's user avatar
18 votes
3 answers
14k views

Jenkins multibranch pipeline only for subfolder

I have git monorepo with different apps. Currently I have single Jenkinsfile in root folder that contains pipeline for app alls. It is very time consuming to execute full pipeline for all apps when ...
mrzodiak's user avatar
  • 497
18 votes
1 answer
6k views

No "Build Triggers" option for Blue Ocean pipeline

I have researched this issue a lot and cannot find an answer to that, so I have setup a simple project on Jenkins before and I get all the perks of the "Build Triggers" tab where I can select exactly ...
Blizzard's user avatar
  • 1,117
17 votes
4 answers
12k views

Multibranch pipeline job not showing open pull requests

I have configured a multibranch pipeline job in Jenkins linked to our GitHub repo which is working nicely, feeding back the status of checks to the pull request in our GitHub so we know if the branch ...
mindparse's user avatar
  • 6,905
17 votes
4 answers
9k views

How can I have unique build numbers across branches with Jenkins & the Pipeline Multibranch Plugin

We are using Jenkins Pipeline Multibranch Plugin with Blue Ocean. Through my reading, I believe it is quite common to tie your project's build number to the Jenkins run, as this allows traceability ...
pingu's user avatar
  • 8,777
15 votes
5 answers
13k views

Jenkins blue ocean change github access token

Jenkins blue ocean pretty cool continuous integration tool, but I faced the following problem: At the main page, as was asked, I inserted my GitHub access token And after that I realized that was ...
Ivan Talalaev's user avatar
13 votes
2 answers
107k views

How to fix 'script returned exit code 1' when running Jenkins pipeline

I am defining a pipeline using Jenkins Blue Ocean. I'm trying to do a simple python pep8 coding convention, but if I go inside the shell and type the command directly, it runs fine. But when the ...
윤태일's user avatar
  • 547
12 votes
1 answer
9k views

Use Jenkins REST API to resume a paused pipeline?

I have a Jenkins declarative pipeline with an input prompt. stage('Approval') { when { branch "qa" } input { message "Approve release?" ok &...
Learner's user avatar
  • 2,609
12 votes
2 answers
12k views

Get Log for each Jenkins pipeline stage

Anyone know how I can get the separate logs (for each pipeline stage) as the Blue Ocean shows. I need to attach them to Jira but I can not find them. Any idea?
Alessandra Dias's user avatar
11 votes
1 answer
2k views

Is there a way to tell Blue Ocean that build descriptions are html?

We're generally switching from using Freestyle to pipeline projects, and as part of that are using Blue Ocean on a regular basis. For the classic view, we generate html job descriptions that point ...
johnfo's user avatar
  • 1,792
11 votes
1 answer
2k views

Jenkins Blue Ocean editing commit, message and changes

I have a Jenkins pipeline that doesn't use git. I would LOVE to use Blue ocean as an interface for the developers and QA members but since I'm not using git the interface is limited. If I could edit ...
Eddie's user avatar
  • 1,141
10 votes
6 answers
29k views

gitea and jenkins webhook

I am testing out Gitea and would like to it to trigger a Jenkins build, pretty basic use case. I understand that there is the existing GOGs webhook pluging that can be used, but recently also found ...
fobius's user avatar
  • 295
10 votes
1 answer
3k views

How do I organize stuff in blueocean- views? folders?

Right now my blueocean is just a big list of ALL my projects on the same page, how do I organize them? I'd like to have different tabs or something to break them up by team at least. I haven't seen ...
red888's user avatar
  • 30.5k
10 votes
1 answer
15k views

What are "Branch indexing" activities in Jenkins BlueOcean

I'm setting a Multi-Branch pipeline in jenkins blue ocean. Everything is starting to work nice. One thing I've noticed is that once a while, I get an execution of the job named: "Branch indexing" ...
J4N's user avatar
  • 20.2k
9 votes
3 answers
6k views

Install and setup BlueOcean for Jenkins

I want to install Blue Ocean for Jenkins. Can anyone tell me the steps to do this.
leena's user avatar
  • 302
9 votes
2 answers
9k views

Jenkins Blue Ocean not loading after initial install on existing Jenkins instance

I just installed Blue Ocean on an existing Jenkins instance that I have been using for years. The landing page is not loading, and I'm getting the following error, which I have been unsuccessful in ...
Chris Vasselli's user avatar
9 votes
2 answers
16k views

How do you set Jenkins stage or pipeline parallel branch status (unstable, failure etc) for use in Stage view and Blue Ocean UI?

Overview I'm currently configuring a pipeline consisting of a number of platform builds. At the beginning of the pipeline, a user can select which platforms to build or skip. Depending on whether ...
inkychris's user avatar
  • 1,329
9 votes
1 answer
1k views

Using a different jenkinsfile path with Blue Ocean

Summary The Blue Ocean editor ignores the Script Path setting for the multibranch pipeline plugin and instead saves the Jenkinsfile in the repository root. Is this a bug? Background We have a ...
Red Taz's user avatar
  • 4,179
8 votes
3 answers
23k views

Jenkins install plugins offline

Installed Jenkins on a Linux server and want to install some plugins manually. I want to install Blue Ocean and Artifactory. For both plugins I downloaded the hpi file and tried to install it, but ...
Robert van Gangelen's user avatar
8 votes
2 answers
4k views

How to install docker-compose in jenkinsci/blueocean?

The docker image jenkinsci/blueocean seems official since the official document is mentioning the image. I want to run docker-compose command in the container but this image only comes with docker ...
SangminKim's user avatar
  • 8,826
8 votes
1 answer
3k views

Jenkins Declarative Pipeline log a warning message that is visible in Blue Ocean

Is it possible to create a warning log message in Jenkins Blue Ocean view like the unstable(MESSAGE) warning message, but without setting the hole build state as unstable? I mean the yellow/orange ...
rhhamburg's user avatar
  • 173
8 votes
0 answers
2k views

How to see logs during a job execution in jenkins's blue ocean

I have a weird behaviour in Jenkins(2.46.3LTS) blue ocean gui (1.1.2). I don't have the output of my pipeline script (eg. echo "test" ). I only have this output : "Queued Waiting for run to start" ...
Alexandre T's user avatar
7 votes
5 answers
3k views

Get step id in Jenkins Pipeline for linking to BlueOcean or Pipeline Steps view (flowGraphTable)

Given a Jenkins pipeline that runs a series of steps, some within parallel blocks, is there any way to obtain within the pipeline the Flow id of a given step or the most recent step? What's a Flow ID?...
Craig Ringer's user avatar
7 votes
1 answer
660 views

Submodules in blueocean?

I have a blue ocean project which grabs a git project using an ssh key, I added new shell commands but it doesn't pull the submodules in the .gitsubmodules folder: [submodule "Assets/Engine"] ...
meds's user avatar
  • 22.6k
7 votes
1 answer
5k views

How to build a pipeline as shown in blue oceans beta project page

I am new to Jenkins and looking for ways to automate and visualise workflows. I am able to chain few workflows/jobs together. I like to learn how to run workflows in parallel, like the picture shown ...
user1619524's user avatar
  • 1,594
6 votes
2 answers
2k views

Jenkins Blue Ocean workspace Path Too Long

We are using Jenkins Blue Ocean to build .Net applications on Windows 2012 r2 Jenkins Slaves. We use a Jenkinsfile inside the git repos to define the build pipelines. With a couple of the projects ...
j3r3m7's user avatar
  • 752
6 votes
1 answer
5k views

Migrate from Jenkins Multijob to Pipeline plug-in

Currently we are using Jenkins CI 1.643 (I believe) with the Multijob plugin and Job DSL. A collection of jobs is generated using Job DSL, as well as a multijob that contains all the other jobs in a ...
Arno Moonen's user avatar
  • 1,184
6 votes
1 answer
3k views

Direct url to the lastest details page of a build

I try to set up a public display on our department floor to present the current status of the Jenkin's maintained projects. Therefore I'm cycling through a session of Jenkins web pages like the Blue ...
Sebastian Pliefke's user avatar
6 votes
0 answers
1k views

Unable to hide sh step on jenkins pipeline

I am unable to hide the execution of an sh step on my jenkins pipeline on the Blue Ocean view, my Jenkinsfile looks like this: sh '#!/bin/sh -e\n' + "curl -s -u..." I have tried multiple variants ...
Ordiel's user avatar
  • 2,564
6 votes
1 answer
2k views

Blue Ocean missing branch/commit info

I have a Pipeline job that has a parameter for the BRANCH_NAME to specify which branch to build from my bitbucket repo. I use this in the Branch Specifier as ${BRANCH_NAME} in the pipeline definition ...
Brandon's user avatar
  • 235
6 votes
1 answer
3k views

Get build steps using Jenkins Pipeline REST API

I would like to ask is there any way to query run time build steps by using Jenkins pipeline REST API? I refer to this link https://github.com/jenkinsci/pipeline-stage-view-plugin/tree/master/rest-api ...
IAMbeginner's user avatar
5 votes
2 answers
9k views

Cant open Blue Ocean visual pipeline editor

Recently I installed Blue Ocean plugin, but I can't find out how to edit or create pipeline using plugin's UI. When I create new pipeline in Blue Ocean and connect with GitLab repo, I don't have ...
Quilir's user avatar
  • 434
5 votes
2 answers
6k views

Sequential stages inside parallel in Scripted Pipeline syntax

In my Jenkinsfile I execute 2 stages in parallel and one of these stages would consist of few other sequential stages. When I run the script and check the pipeline in BlueOcean, that sequence of ...
C. Güzelhan's user avatar
5 votes
2 answers
2k views

Jenkins Pipeline - how are 'sh' steps named in blue ocean?

I'm not following how the 'sh' step name or description is displayed in blue ocean. Right now, it's seemingly at random. example... This sh step shows 'Shell Script' in the step description: sh "...
user797963's user avatar
  • 3,007
5 votes
1 answer
2k views

Blue Ocean - How Do I Track Pull Requests AND the Master Branch

I'm using Blue Ocean against Bitbucket Server. I want a new build to occur: When a Pull Request is created or updated When master is updated (basically, when a PR is merged to master) It appears ...
Craig Riecke's user avatar
5 votes
1 answer
4k views

How to use a jenkins multibranch pipeline with a monorepo

I have a project in a monorepo with 2 artifacts : a frontend and a backend. my-project frontend Jenkinsfile backend Jenkinsfile I'd like to use Blue Ocean and multibranch pipeline but is ...
Yann Moisan's user avatar
  • 8,269
5 votes
0 answers
3k views

process apparently never started in /home/jenkins/workspace/developer-console@tmp/durable-28a71889

All aver the internet I didn't find a solution. I'm learning this tutorial about how to build a node.js and React app with Jenkins : https://jenkins.io/doc/tutorials/build-a-node-js-and-react-app-with-...
Teddy Kossoko's user avatar
4 votes
1 answer
10k views

Jenkins Multibranch Pipeline: How to checkout only once?

I have created very basic Multibranch Pipeline on my local Jenkins via BlueOcean UI. From default config I removed almost all behaviors except one for discovering branches. The config looks line ...
Vitaljok's user avatar
  • 613
4 votes
1 answer
3k views

How to add icons to Jenkins Blue-Ocean Pipelines Stages and Parameters form?

How can we make visual updates to the Pipelines and Parameter forms? Pipeline I'd like to add visual representation on each of the steps Maybe add an icon to the descriptions Show the stage names ...
Marcello DeSales's user avatar
4 votes
3 answers
10k views

Limit which branch is built by Jenkins pipeline?

I am currently configuring a Jenkins server hosted on a Docker container in AWS. I am using BlueOcean to configure a repository. Right now, the pipeline scans all branches on a repository to ...
Peter's user avatar
  • 302
4 votes
1 answer
6k views

Jekins sh label: Arguments to "sh" must be explicitly named

I'm aware of Jenkins Pipeline sh display name/label But when using sh "echo foo", label: "my step" I'll get the following error: Arguments to "sh" must be explicitly named I made sure to have ...
Nils's user avatar
  • 392
4 votes
2 answers
2k views

Jenkins dynamic Pipeline not showing all stages in BlueOcean

I have a Jenkins pipeline script with the key pieces shown below. Everything seems to be executing in the background but is not showing on BlueOcean. Am I doing something wrong or it is some kind of ...
javydreamercsw's user avatar
4 votes
3 answers
9k views

Pipeline get tag list

I am trying to get the latest tag from a repo Jenkinsfile (using Blue Ocean Declarative Pipelines) but it throws an error. Command: def tag = sh(script: 'git describe --tags $(git rev-list --tags --...
Squirrel's user avatar
  • 1,443
4 votes
3 answers
3k views

Jenkins Blue Ocean: Maven doesn't see Java

I'm getting the error "/var/jenkins_home/tools/hudson.model.JDK/jdk8/bin/java: not found:" even though the path exists: [edi-debatcher_master-LNI22Y2C5V3VECCBCFPVB3ZUWJJNMLK6LIFEQ6V3OYH52T74NU3A@...
user1198042's user avatar
4 votes
2 answers
1k views

Add github url in jenkins blue ocean view

When i run a job in jenkins and view it in the blue ocean view it shows me the short git hash on the top left. I would like this hash to be clickable and link to the github page of that particular ...
Enermis's user avatar
  • 679
4 votes
1 answer
2k views

BlueOcean connect with SSH key

I have an ssh key setup for the bitbucket team. But the Blue Ocean UI only gives me the option for username and password which means I cant use it to create any pipelines: I have to use the old UI ...
red888's user avatar
  • 30.5k
4 votes
1 answer
2k views

Jenkins Pipeline and huge amount of parallel steps

I have searched the whole internet for 2 weeks now, asked on freenode IRC and in the Jenkins user group mailing list for that but got no answer so here I am, you are my last hope (no pressure) I have ...
Clément Gautier's user avatar