Questions tagged [multibranch-pipeline]

Multibranch Pipeline is a Jenkins job configuration type provided by the Pipeline: Multibranch Plugin that detects and builds SCM branches.

Multibranch Pipeline is a Jenkins job configuration type provided by the Pipeline: Multibranch Plugin that detects and builds SCM branches.

310 questions
0
votes
3 answers

How can i make the cppcheck.xml to be published on jenkins using the jenkinsfile itself?

Currently I have a multibranch pipeline job where a build happens and the cppcheck is used to analyse the code. However there is no 'post build actions' tab available available in the multibranch pipeline to enable 'publish cppcheck results'. I have…
0
votes
0 answers

How to avoid double checkout in multibranch pipeline

When running a job, the SVN repo gets checked out to get the Jenkinsfile (stored on the root of my app) into workspace/branch_name@script, and the repo gets checkout out again into workspace/branch_name. Builds are taking 35 - 40 minutes (large app,…
Michael Delle
  • 73
  • 1
  • 7
0
votes
1 answer

jenkins running multiple build for one github pull request

I am using multibranch pipeline plugin in jenkins. I have configured with github setup of our corp. The pipeline reads for events as: refspec = +refs/pull/*:refs/remotes/origin/pr/* Now, for every pull request, it generates two…
Ani
  • 463
  • 4
  • 20
0
votes
1 answer

Jenkins:Pipeline combine several pipelines in one

Is there a way to combine two pipelines in one job with proper visualization? For example: build job has it's pipeline in scm and publish job has it's own pipeline in different scm. But it would be nice to have both pipelines in one run.
0
votes
0 answers

Reset the Jenkins build number to 1 for a Multibranch Pipeline job

Currently I am using the incremented build number provided by Jenkins for the release version of our iOS and Android app. Product/dev drive the release numbers. Once the feature branch is merged into master, a build is automatically kicked off and…
0
votes
1 answer

Jenkins Multipipeline: Ignore User Commit in SVN

I'm currently trying to replace our old cascading builds with an Multibranch Pipeline. My Target is an Environment where our whole Project is driven by Jenkinsfiles and Branches or Tags can run as an Continuous Integration / Delivery Pipeline. We…
42tg
  • 695
  • 6
  • 12
0
votes
1 answer

Git commit and push issue in Jenkins multibranch pipeline

I'm working on a multibranch pipeline in Jenkins for building a .Net application and creating ms test results using msbuild on a windows server. I've written a jenkinsfile for the same. Now the issue is, I need to commit and push the mstest results…
Shir
  • 13
  • 6
0
votes
2 answers

Jenkins pipeline multibranch issue reusing node type after parallel jobs

I'm attempting to migrate our CI process from JobDSL to a multibranch pipelines setup. As a first step I've decided to just have the pipeline delegate back to the existing jobs (passing the required params) My pipeline looks like below (pseudo…
-1
votes
2 answers

How to pass a variable in Jenkins Credentials Helper Function

environment { BRANCH_NAME = "${env.BRANCH_NAME}" DEPLOYMENT_MACHINE = credentials('auto-deployment') } How to pass Variable to credentials Function like environment { BRANCH_NAME = "${env.BRANCH_NAME}" DEPLOYMENT_MACHINE =…
-2
votes
1 answer

SCM Poll in jenkins multibranch pipeline

Wanted to accommodate scheduled build starting 12AM every 3 hrs till 3PM on every weekday(mon-fri). It should be triggered build only if anything is committed into github repository. Please provide the exact code as few code is working for…
1 2 3
20
21