Re: Views in Blue Ocean

2019-04-11 Thread Sverre Moe
https://issues.jenkins-ci.org/browse/JENKINS-39343 mandag 8. april 2019 09.55.05 UTC+2 skrev Sverre Moe følgende: > > Has there been any consideration about getting Views in Blue Ocean? > > The listing of pipelines becomes to large and distinct lists per view > would be much better. > Having

Re: jenkins slave on docker does not see "sh" command

2019-04-11 Thread Aaron Digulla
On Thursday, April 11, 2019 at 5:18:55 PM UTC+2, Polak wrote: When I run it on jenkins slave (docker image) I have an error: > > sh: 1: /var/lib/jenkins/bin/login-bash: not found > > > On master Jenkins (installed on physical machine not on docker) it works > properly. > > Ceck the "login shell"

Google Oauth secret not available in "Credential Bindings" in a freestyle job

2019-04-11 Thread SpikeX
Hi, I'm trying to use Google compute engine in my build process (to be clear, I'm not trying to spin up slaves on GCE). I've created a service account as "best practices" and trying to pass the json key file to the build script. This seems to be the right plugin to do the above:

jenkins slave on docker does not see "sh" command

2019-04-11 Thread Piotr Bracha
Hello, I have a problem with not recognized "sh" command. I have easy pipeline script: pipeline { agent { label "slave-1" } options { disableConcurrentBuilds() } stages { stage('Setup build variables') { steps { script {

Why is Jenkins' SCM polling not detecting changes in the repo?

2019-04-11 Thread Michael Moser
I have set up a couple of docker containers with an experimental CI pipeline (i.e. git (or actually gogs), jenkins, portainer, plus a postgres DB). For my first project I have defined a build pipeline that is supposed to poll the repo and - if there were changes to the master branch - it

Re: how to derive HTTP link to workspace of a scripted parallel pipeline

2019-04-11 Thread Viacheslav Dubrovskyi
Hi monger_39, Look to this issue https://issues.jenkins-ci.org/browse/JENKINS-28119 11.04.2019 14:50, 'monger_39' via Jenkins Users пишет: Hi Viacheslav thx for the detailed answer! But wow, that is way more complex than I had anticipated ! Do you know if it is possible to get the ID at

Re: Opinions about aggressive reuse strategy for Jenkins pipelines

2019-04-11 Thread Jan Monterrubio
We’ve taken sort of a middle ground approach with this on our end. We define standard flows for a particular build system (like maven) The 80-90% use cases are allowable with our pipeline, consumers only define eome configuration options in a closure. For the extra 10% use case, we provide steps

Build blocker plugin issue with node level blocking

2019-04-11 Thread Denis Mone
Hi all. I have 2 jobs let's say job1, job2 on my Jenkins instance which i want to exclude from running at the same time, on the same node. I have configured job1 to *block* on *node level* when a build of job2 is happening. I have scheduled job2 to run every 2 mins on a specific node and job1

Re: how to derive HTTP link to workspace of a scripted parallel pipeline

2019-04-11 Thread 'monger_39' via Jenkins Users
Hi Viacheslavthx for the detailed answer! But wow, that is way more complex than I had anticipated ! Do you know if it is possible to get the ID at runtime for a given step ? In my case the step that shows the workspace link is showing "Allocate node : Start" which I assume would correspond to

Re: Blue Ocean: Hide certain projects from Pipelines

2019-04-11 Thread Sverre Moe
Found this https://issues.jenkins-ci.org/browse/JENKINS-39343 Seems there is planned some filtering feature to Blue Ocean. It is Very Old issue. I really hope it will done soon. torsdag 11. april 2019 12.42.40 UTC+2 skrev Sverre Moe følgende: > > I rejoiced to soon. They did indeed show on Blue

Re: Blue Ocean: Hide certain projects from Pipelines

2019-04-11 Thread Sverre Moe
I rejoiced to soon. They did indeed show on Blue Ocean. folder > job1_cov folder > job2_cov torsdag 11. april 2019 12.35.55 UTC+2 skrev Sverre Moe følgende: > > I found one workarround > > Create a Folder Job. Move all Coverity jobs into this. And they will not > be seen in Blue Ocean. > >

Re: Blue Ocean: Hide certain projects from Pipelines

2019-04-11 Thread Sverre Moe
I found one workarround Create a Folder Job. Move all Coverity jobs into this. And they will not be seen in Blue Ocean. søndag 7. april 2019 00.07.54 UTC+2 skrev Sverre Moe følgende: > > Is it possible to not show certain pipelines in Blue Ocean. > > We have one coverity job for each project. >

Unexpected Jenkins Build

2019-04-11 Thread tsako . trenders
Hi All, I'm use Jenkins Pipeline in SCM polling trigger to GitHub But occur there is In the middle of the night Unexpected build... I would like to somehow identify the cause and take measures. Is there a pull request? Not, the corresponding branch project has not been touched or committed at

Re: Unit tests for Scripted Pipeline

2019-04-11 Thread Aaron Digulla
On Sunday, April 7, 2019 at 10:10:07 PM UTC+2, Sverre Moe wrote: Is it possible to create unit tests for our scripted pipeline? > > How can certain sections of the pipeline be mocked, like fetching from > Git, tagging to Git, Uploading to Nexus? > > Anyone been able to fully unit test scripted

RE: Is pipeline timeout suppose to work?

2019-04-11 Thread Reinhold Füreder
Hi Kevin, I have used “timeout” step in the past and as far as I can remember it worked as expected. Note, however, that I may not have put the “node(…)” step inside the “timeout” step; not sure if that is of any relevance though… HTH Reinhold From: jenkinsci-users@googlegroups.com On