Questions tagged [jenkins-blueocean]

To describe questions that are about Jenkins' blueocean.

11 questions
14
votes
1 answer

Is there a tool that makes it possible to validate Jenkinsfiles online?

At the moment I am editing a Jenkinsfile and then let it run unless Jenkins reports a issue. This approach costs a lot of time. I prefer to validate the syntax before committing the Jenkinsfile. Is there a tool that solves this issue? In gitlab…
030
  • 13,383
  • 17
  • 76
  • 178
7
votes
3 answers

How to publish a docker image to a private docker registry using Jenkins' blueocean?

It seems that the syntax that is used in the pipeline plugin is incompatible with Blueocean. It looks like that the syntax is different as blueocean uses a declarative…
030
  • 13,383
  • 17
  • 76
  • 178
5
votes
4 answers

Jenkins declarative pipeline: use branch if it exist

I'm currently trying to adopt my declarative pipeline in the following way: I have multiple stages, some apply for all branches, some only for specific names. What I'm now searching for is a way to get a when condition for the existance of a branch…
Hoall
  • 53
  • 1
  • 1
  • 5
3
votes
1 answer

Jenkin "unable to find valid certification path to requested target" getting error while installing plugin

We are trying to set up jenkins. When we trying to install plugin getting the below error. We also tried to import the trusted certificate into the JVM directly still getting same error. sun.security.provider.certpath.SunCertPathBuilderException:…
2
votes
0 answers

how to specify query when searching for run in jenkins blueocean rest api

I have some jenkins project, that has multiple pipelines defined. I can easily search for runs for a certain pipeline: $ curl -k --silent…
murison
  • 121
  • 3
2
votes
1 answer

Blue ocean logging my step commands

using a minimal jenkinsfile as an example node("master") { stage("Test") { sh( label: "THIS SHOULD DISPLAY", script: "set -e; echo 'this should not be logged it is secret'" ) } } For some reason the…
zevrant
  • 21
  • 2
1
vote
1 answer

Plugin for Jenkins truncates Terraform Plan output

The Blue Ocean plugin for Jenkins truncates the output of a Terraform plan at around 1700 lines, and shows a button "Show Complete Log" for the full thing. When I open the full log, Terraform plans that have colors are now turned into special funky…
1
vote
1 answer

Building a pipeline to recognize changes in a terraform template compared to the git commit before and having it apply changes using specified command

Looking to get pointed in the right direction: I am trying to build a pipeline that will recognize changes in a remote terraform template that will recognize changes compared to the previous git command before mine and have it only apply those…
0
votes
2 answers

How do i specify the path of a Dockerfile using Blue Ocean

I want my pipeline created using Blue Ocean (Jenkins) to build with a dockerfile that is not in the root of the git repo. How do I achieve this? Our git repo is a collection of sub-projects with each containing it's own dockerfile. So we cannot…
0
votes
1 answer

jenkins build overview page not showing stages in webui

I'm using the image: jenkinsci/blueocean from Dockerhub The build overview page isn't showing the stages of a build. i.e. the square boxes that represent the stages are not appearing. Am I missing a plugin?
0
votes
1 answer

What is the best approach to deploying to multiple servers using Jenkins?

Trying to figure out the best approach for deploying to multiple servers using Jenkins Blue Ocean pipeline. We will have six servers in development, six in QA, six in Staging, and six in production. Should I put the list of the servers in a config…