Questions tagged [build-pipeline-plugin]

A Jenkins plugin for setting up Continuous Delivery pipelines

This plugin provides a Build Pipeline View of upstream and downstream connected jobs that typically form a build pipeline. In addition, it offers the ability to define manual triggers for jobs that require intervention prior to execution, e.g. an approval process outside of Jenkins.

Source: Build Pipeline Plugin

27 questions
11
votes
2 answers

How do I discover the additional causes of my Jenkins build?

When attempting to query a build using groovy, I call myBuild.getCauses() I can see in the interface of Jenkins (the build screen) that this build has two causes, a UserIdCause, and an UpstreamCause. However, when I interrogate the same build with…
Charlie Halford
  • 111
  • 1
  • 1
  • 3
9
votes
2 answers

How to get URL of pipeline job in jenkins

We are setting up a continuous delivery pipeline in Jenkins, using the build pipeline plugin. Our deployment steps uses a proprietary deploy tool (triggered by a HTTP request from jenkins), but we need to have an additional Jenkins step for…
Sean Patrick Floyd
  • 292,901
  • 67
  • 465
  • 588
4
votes
2 answers

Reusing the same Maven artifact in multiple Jenkins/Hudson jobs

I have set up a build pipeline for a war project using Jenkins and the build-pipeline-plugin . It consists of two actual jobs and an final manual job which deploys on Q&A . Each of the jobs is configured to run the same project, activating…
Robert Munteanu
  • 67,031
  • 36
  • 206
  • 278
4
votes
1 answer

Jenkins: Trigger a downstream project in pipeline view using REST Webservices

I have a Jenkins pipeline with several projects. The first one triggers the second one and then it stops because the next project is manually triggered. I would like to trigger this third project using a REST Webservice. [I can manually trigger this…
Andre
  • 41
  • 2
3
votes
0 answers

Build Pipeline plugin displaying incorrect pipeline information

I am using build pipeline plugin in Jenkins. I have a complex workflow for which I am getting incorrect results via Build Pipeline plugin. To simplify the case: I have 4 jobs A,B,C,D and they are supposed to execute in the following manner: A->B->D …
ashu
  • 197
  • 1
  • 10
3
votes
2 answers

Jenkins Build Pipeline Plugin - Blank White modal window - no parameter prompt issue on first job

Jenkins 1.573 / 1.628 or latest version. Build Pipeline plugin : 1.4.8 (latest) Till last week everything was OK, today I'm seeing that when I click on the first job in the Build Pipeline dashboard view (to run a process), it used to prompt…
AKS
  • 16,482
  • 43
  • 166
  • 258
3
votes
2 answers

Jenkins User Acceptance step in pipeline

I have a project & pipeline set up within my jenkins instance which looks like this. This can be described as; [Project] - Build the project [Project Deploy Test] - Deploys the project to a test server [Project UA Test] - The User Acceptance step,…
Blowsie
  • 40,239
  • 15
  • 88
  • 108
3
votes
1 answer

Jenkins - Promoted Builds in Pipeline, configuring parameters in promotion action

When I set up a Project A which triggers Project B (with Parameters) and Project B triggers now Project C1 and C2 the whole chain (with parameters) shows up neatly in the Build Pipeline view of Jenkins: However I have added a Promoted Build setting…
eckes
  • 10,103
  • 1
  • 59
  • 71
2
votes
0 answers

How to trigger a task inside a job from jenkins pipeline

I have a Maven project that builds a war file and a separate batch task inside the build job to deploy it to a server (this is basically a shell script executed on Jenkins). This is the pipeline script: node { stage('Build') { build job:…
2
votes
4 answers

Jenkins Agent Cannot run program "docker": error=2, No such file or directory

I have a strange behaviour with my jenkins agent. i have a master and a seperate build agent, which has access to docker. while i'm running the following pipeline script on the build agent: node { sh "id" sh "echo $PATH" sh "docker ps" …
2
votes
1 answer

How to schedule Jenkins job to build Monday-Friday

I have a jenkins job used to automate VMs start/stop in Azure. Currently, I have this schedule to run daily (stops VMs at 8 and starts them back up at 5AM). I want to be able to run this job Monday-Friday(Start/Stop) then Saturday-Sunday(Stop only)…
bonafide
  • 368
  • 4
  • 25
2
votes
0 answers

Jenkins Build Pipeline Plugin - DescriptorImpl checkbox

Jenkins: 2.46.3 or greater Build Pipeline Plugin: 1.5.4 What's the benefit of selecting this checkbox in a Pipeline View's configuration page? Tried checking and unchecking it, but it doesn't reflect any changes to the pipeline job view page. Some…
AKS
  • 16,482
  • 43
  • 166
  • 258
2
votes
1 answer

How to redirect to a particular pipeline instance in a delivery pipeline view in Jenkins?

I am using the Delivery pipeline plugin for grouping my jobs into stages. Currently, there seems no mechanism to directly go to a particular older pipeline instance in the view. I wanted to provide a provide a mechanism(posssibly a link) in the…
1
vote
1 answer

How to use pipeline caching in Azure devOps to cache Angular and .NET dependencies?

I am working on build pipeline in Azure DevOps. I have Angular 14 and .NET 6.0 applications in my yaml. Below is my yaml. Everything is working fine except when I am using cache in my step. I have 2 questions: Is it necessary to run npm install and…
1
vote
0 answers

Build Pipeline Plugin - Jenkins - Showing only LAST Build Number of child job and only once (called from Post build action)

Jenkins: 2.89.4.x (or rolling) Build Pipeline Plugin version: 1.5.8 High level info: I have JobA (parent), which calls JobB (twice in Build Step - either sequential or parallel) and calls the same JobB (twice in Post-Build Action). JobB is simple.…
AKS
  • 16,482
  • 43
  • 166
  • 258
1
2