A means of configuring a build such that different configuration options can be parameterized, rather than duplicating build steps, or having multiple builds. Applies to multiple build frameworks, such as Jenkins, and TFS's vNext.
Questions tagged [multi-configuration]
42 questions
2
votes
1 answer
How to trigger a job for each configuration in a matrix project
I have to achieve the following :
I have a multiconfiguration project A having two configuration C1 and C2, now for each successfull configuration I want to build another project B, say:
if C1-success and C2-fails then C1 --> B
if C1-fail and…
user1394523
- 161
- 1
- 2
- 7
1
vote
1 answer
How to I archive the artifacts in a Jenkins multi-configuration build involving multiple OSs?
I have a multi-configuration build which is building on a variety of operating systems (currently only 32 bit and 64 bit Linux, but more to be added). The builds produce an "install" directory that I want to archive. In a previous freestyle build of…
Anthony Berent
- 83
- 1
- 5
1
vote
0 answers
What is the proper way to handle `CMAKE_INSTALL_PREFIX` when using the Ninja Multi-Config cmake generator?
With the cmake generator "Ninja Multi-Config" what is the proper way to handle CMAKE_INSTALL_PREFIX. For instance, if you do:
$ cmake -DCMAKE_INSTALL_PREFIX=../install -G "Ninja Multi-Config" ..
$ cmake --build . --config Release --target…
CiaranWelsh
- 5,590
- 7
- 33
- 73
1
vote
0 answers
Jenkins job takes a long time to complete after it prints "finished"
I have a case when running a matrix job, once it prints "Finished: SUCCESS", it sits there spinning for a long time (~15-20 mins) before the job actually tears down and completes. Any ideas why this would be the case?
solstice333
- 2,617
- 19
- 26
1
vote
1 answer
Compile Boost with multi-configuration with CMake
I have a project which depends on the Boost library (and others). I created a CMakeLists to automatically download and compile dependencies with ExternalProject_Add.
I want to support multi-configuration (Release and Debug). So, for my other…
whiteShadow
- 261
- 2
- 15
1
vote
0 answers
Jenkins Multi Configuration Job needs to dynamically modify app.config on nodes
I have a .net test automation suite that needs to run simultaneously on 6 nodes.
I have configured a multi configuration job on Jenkins. The catch is, it needs 6 different app.config values (for example, connections strings, web urls, browsers etc.)…
Prasad
- 11
- 3
1
vote
1 answer
Jenkins Pre-Build and Post-Build in Multi-Configuration Job
We use multi configuration job to test various combination of 2 separate components for compatibility test. These are our compatibility acceptance tests. We perform the following steps
Prepare test environment using docker and docker-compose where…
GauravJ
- 1,922
- 19
- 26
1
vote
2 answers
Jenkins slaves workspaces
I have a Jenkins multi-configuration project that I want to build on two slaves (Slave-1 and Slave-2) which are located on two different VM's. I am having a problem with how Jenkins attempts to create different workspaces for each slave. I want to…
Stew C
- 553
- 1
- 8
- 22
1
vote
1 answer
Post build script for multi-configuration project
I run a multi-configuration project in jenkins that does several different builds, I would like to run a script when all the sub-configuration/builds are finished.
Is there any thing like a PostBuild action for a multi-configuration job in Jenkins?
Johan Dahlin
- 21,541
- 5
- 35
- 52
0
votes
1 answer
Conditional Pipeline (Visual Studio Test) Task in Multi-Configuration Azure Devops 2019 Build Pipeline
We have an on-premises, TFVC setup with Azure Devops 2019. I'm building a C++ library and have set-up a multi-configuration build (Debug, Release) which works fine. However, I'd like to run a set of unit tests only when the Release configuration is…
jslmsca
- 115
- 1
- 12
0
votes
0 answers
How to add separate parameter for a combination in multiconfiguration project of jenkins
I Have to run a testsuite for following combination, I am using multi configuration project for this. I am looking for something that can allow me to add host_machine for each combination on the fly or statically
Edit: I am triggering test…
TheBeginner
- 343
- 1
- 21
0
votes
0 answers
Configuration of multiple NodeJS installation in Matrix Jenkins Job DSL
I have working Declarative pipeline, which is testing NodeJS installations (NodeJS 13, NodeJS 14) on 2 different agents (windows, linux).
pipeline {
agent none
stages {
stage('BuildAndTest') {
matrix {
…
chaotic
- 171
- 1
- 5
- 15
0
votes
1 answer
Multi configuration Matrix job fails to start emulator with some errors
I am creating a multi configuration Matrix job to run my tests on multiple emulators on Jenkins but it is failing and emulator does not start. Following is the console output on job:
Building in workspace…
Gaurav Dalal
- 51
- 5
0
votes
1 answer
It cannot be determined, which agent will be used for which build configuration in parallel Multi-config builds
We use the multi-configuration according to the BuildConfiguration variable and run the release and debug in parallel with Clean:false in one of our builds.
In the agent queue, we have two agents that meet the requirements for this particular build…
János Zoltán Kis
- 11
- 2
0
votes
1 answer
Evaluate the multiplier field variable of the environment
I try Something like in vsts release management:
Define variable a with : 1,2,3
Define variable b with : 4,5,6
Define variable c with : $(a),$(b)
Use variable c in field Multiplier when i use environment Multi-configuration parallelism…
Dekey
- 68
- 4