by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 22:18

    halkeye on java11-support

    update jenkins base version and… minor fixes to support latest m… Few more powermock ignore fixes… and 19 more (compare)

  • Jan 31 2019 22:18
    halkeye synchronize #1899
  • Jan 31 2019 21:59
    halkeye commented #1905
  • Jan 31 2019 21:38
    halkeye synchronize #1905
  • Jan 31 2019 21:38

    halkeye on notify-github

    Cleanup statuses (compare)

  • Jan 31 2019 18:00
    halkeye synchronize #1905
  • Jan 31 2019 18:00

    halkeye on notify-github

    Move the start/stop of bitbucke… Notify github that we are build… Add a bunch more descriptions f… (compare)

  • Jan 31 2019 17:56
    halkeye opened #1907
  • Jan 31 2019 17:56

    halkeye on update-acceptance-tests-deps

    Github warned about a bunch of … (compare)

  • Jan 31 2019 17:51

    halkeye on remove-all-nightwatch-tests

    (compare)

  • Jan 31 2019 17:51

    halkeye on master

    Remove all nightwatch tests (#1… (compare)

  • Jan 31 2019 17:51
    halkeye closed #1906
  • Jan 31 2019 01:59
    halkeye commented #1904
  • Jan 31 2019 00:32
    sophistifunk commented #1906
  • Jan 30 2019 23:55
    halkeye commented #1906
  • Jan 30 2019 22:24
    halkeye review_requested #1906
  • Jan 30 2019 22:24
    halkeye review_requested #1906
  • Jan 30 2019 22:24
    halkeye review_requested #1906
  • Jan 30 2019 22:24
    halkeye review_requested #1906
  • Jan 30 2019 22:24
    halkeye review_requested #1906
Liam Newman
@bitwiseman
What am I missing?
Nicolas GANDRIAU
@ngandriau
@bitwiseman I did not know this maven plugin. There is an interactive part in the process apparently (requesting the new version number) how does this integrate in the declarative jenkins pipeline?
Liam Newman
@bitwiseman
You don’t have to have it be interactive. If you do maven -B, maven will do everything without interaction.
If you want to overrid values (such as the specific version number you want to use, you ca use maven’s -Dname=value to set them to whatver you need to.
Nicolas GANDRIAU
@ngandriau
thanks @bitwiseman
eng-ali
@eng-ali
Hi All , I hope you are doing well :)
I'm new here , and I have experience with jenkins more than 2 years ..
I want to get the Jenkins Certification (CJE) .. I started to read all the documentation of jenkins
but I saw that alot of stuff I was doing it wrong and not in the best way haha ..
Anyway I am afraid to get the exam , do you advice me to get it ? ...
and what do you think I should read and study to make sure that I can pass the exam ? :D
Asgoret
@Asgoret

Hi to all! I have a very odd issue with Blue Ocean plugin.
Environment:
Blue Ocean plugin: 1.23.1
Jenkins: 2.235

Error:

WARNING    hudson.model.Actionable#createFor: Could not load actions from io.jenkins.blueocean.service.embedded.TryBlueOceanMenu@3f9f0c78 for <project name>

Description:
I can get to some sube-location blue ocean project, but can get to main site where all pipelines stored. Can somebody help with it?

Asgoret
@Asgoret
We can repeat this error if we use multibranch with Jenkins default and if we use multibranch with Jenkins file all works well.
Error:
java.lang.ClassCastException: org.jenkinsci.plugins.pipeline.multibranch.defaults.PipelineBranchDefaultsProjectFactory cannot be cast to org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory
Liam Newman
@bitwiseman
@Asgoret The ultibranch with Jenkins default is https://issues.jenkins-ci.org/browse/JENKINS-62063
Asgoret
@Asgoret
@bitwiseman I can answer :) If we delete pipeline-multibranch-defaults-plugin all works fine (except pipelines :) )
Liam Newman
@bitwiseman
@Asgoret Thanks! I can try creating a simple patch for you to test, but installing it will require updating all the blue-ocean plugins.
Liam Newman
@bitwiseman
Are you up for that?
Asgoret
@Asgoret
@bitwiseman It will be great! Yeah, I have dev installation of jenkins for experiments so I'm in.
Andreas Rogge
@arogge
@Asgoret just ran into the same issue. It is a bug introduced in BlueOcean 1.22.0, if you downgrade to 1.21.0 it will work again
Asgoret
@Asgoret
@arogge well... If we can fix it in some nearby future I can wait and help :)
Andreas Rogge
@arogge
@Asgoret same for me...
@Asgoret question is: whom do I speak to so we have a chance to get this fixed.
Asgoret
@Asgoret
@arogge SRE :) Not developer) If I understood correctly developer is @bitwiseman
Andreas Rogge
@arogge
@bitwiseman I think I understand what is wrong. Do you need more information on that?
Liam Newman
@bitwiseman
@arogge I’m helping maintain Blue Ocean.
@Asgoret I will submit a PR today.
Asgoret
@Asgoret
@bitwiseman ok. Tell me what to do when you will be ready, I'll try to catch some time on holidays.
Liam Newman
@bitwiseman
@Asgoret Is this happening only in the Pipeline editor or is it breaking blue ocean UI overall?
1 reply
@arogge ^ Same question.
Liam Newman
@bitwiseman
Andreas Rogge
@arogge
@bitwiseman it breaks the overview. When opening /blue/organizations/jenkins/pipelines it will request /blue/rest/search/?q=type:pipeline;organization:jenkins;pipeline:;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26 and that will already respond with a 500 because of the problem.
@bitwiseman thanks for the effort! I really appreciate it.
Elghazal Ahmed
@geniousphp
Hi there, What is the easiest way to customize the Blue Ocean Activity page? I'd like to insert the pipeline view for each build, similar to this screenshot https://prnt.sc/sexw0v
Is there any extension to achieve that? If not, how easy to customize the view ?
Asgoret
@Asgoret

@bitwiseman it breaks the overview. When opening /blue/organizations/jenkins/pipelines it will request /blue/rest/search/?q=type:pipeline;organization:jenkins;pipeline:;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26 and that will already respond with a 500 because of the problem.

Additionals:

  • But you can open blue ocean page in project which doesn't have default pipeline and have only Jenkins file
Kfir Gollan
@kfir-drivenets
I have a pipeline with a large number of steps (around 100) and a lot of steps can have MBs of output in stdout (e
As a result opening the blue ocean page of chrome is quite unusable. Is there anything I can do?
note that I don’t want to split the pipeline. I would like to keep using a single page to see all my results
Liam Newman
@bitwiseman
@kfir-drivenets Have you tried splitting the steps into a series of nested stages? That might make the page load faster. 100 steps in and of itself shouldn’t be a problem.
Liam Newman
@bitwiseman
@Asgoret @arogge You can try 1.23.2-rc4122.f1bd84f96d7a . To do this you’ll need to update all your blue ocean related plugins (yes, all of them). So, https://repo.jenkins-ci.org/incrementals/io/jenkins/blueocean/
And then update all the plugins under there to 1.23.2-rc4122.f1bd84f96d7a
Kfir Gollan
@kfir-drivenets
@bitwiseman can you elaborate? The pipeline contains a bunch of steps that run in parallel in a few stages. I added a screen shot that shows how it looks, note that the heavy part is the testing end.
https://ibb.co/bJLV6WL
I did some more digging and ran into thresholdInKB (https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-rest/README.md). I wanted to set it to a lower number, assuming that the amount of logs that is loaded is heavy on the page.
Another issue is the automatic reloading of large pipelines.
I also noted that the CPU usage is very high while the pipeline is still running. When the job is completed loading the page is usually less intense.
Liam Newman
@bitwiseman
@kfir-drivenets Sorry, this was just a guess. Note that Blue Ocean has been moved to maintenance-only mode and all the original devs have moved on to other projects. Cloudbees will continue to work on fixes for regressions and security issues. We will also attempt to review and merge community PRs for those same things, but we are not working general fixes or improvements.
Cloudbees intends to replace Blue Ocean and theres UI/UX work being done on Jenkins by the community (see the upcoming UI/UX hackfest), but there is no delivery date for a replacement at this time.
Liam Newman
@bitwiseman
Lowering the thresholdInKB might help, not sure though.
Thinking about this another way: do you need the logs for each step to be visible as the pipeline runs? Depending on the step you might try having those steps send less output to StdOut, send more detailed logs to files, and archive those files along with the build.
@kfir-drivenets ^
Kfir Gollan
@kfir-drivenets
@bitwiseman Well I prefer to still have the ability to use the “show full log” and get the details outside of blueocean. I saw that the value of ‘thresholdInKB’ is hard coded in the code. If I specify the value as a get parameter (I.e ?thresholdInKB=1) it seems like blueocean doesn’t pass the value in the internal get requests it sends (I debugged this using the chrome developer tools and saw the requests that were sent ).
@bitwiseman are there any other flags that might be worth experimenting with ?
Liam Newman
@bitwiseman
@/all I’ve just released Blue Ocean 1.23.2 with the fix for JENKINS-62063: https://github.com/jenkinsci/blueocean-plugin/releases/tag/blueocean-parent-1.23.2
Liam Newman
@bitwiseman
@kfir-drivenets I do not know. Sorry.
Andreas Rogge
@arogge
@bitwiseman thanks a lot. I'll see if it fixes the issue for me . I'm sorry, but I wasn't able to test with the RC, as I have been sick at home.
Michael Palarya
@MPalarya
Hey guys, is there a way to add custom CSS rules without editing source code?