Questions tagged [build-triggers]
52 questions
19
votes
6 answers
How do I dynamically trigger downstream builds in jenkins?
We want to dynamically trigger integration tests in different downstream builds in jenkins. We have a parametrized integration test project that takes a test name as a parameter. We dynamically determine our test names from the git repo.
We have a…

willkil
- 1,619
- 1
- 21
- 33
10
votes
3 answers
Azure devops pipeline - trigger only on another pipeline, NOT commit
Requirement
So, there is some newish functionality in Azure DevOps which allows pipelines to trigger other pipelines and is documented here:…

vipes
- 922
- 1
- 9
- 17
6
votes
2 answers
How to define jenkins build trigger in jenkinsfile to start build after other job
I would like to define a build trigger in my Jenkinsfile. I know how to do it for the BuildDiscarderProperty:
properties([[$class: 'jenkins.model.BuildDiscarderProperty', strategy: [$class: 'LogRotator', numToKeepStr: '50', artifactNumToKeepStr:…

user2131878
- 161
- 1
- 7
5
votes
1 answer
Is there a way to trigger a build when a SVN External is updated?
I currently have a project which includes a ton of externals which needs to be rebuilt as the externals are updated, to keep the artifacts fresh. I cannot figure out a way to trigger a svn build when an external changes, only when a change is made…

Chuu
- 4,301
- 2
- 28
- 54
4
votes
2 answers
Azure DevOps CI pipeline for master being triggered by changes in branch and vice versa
I have a CI build trigger setup for a repo as follows:
trigger:
- master
I have a branch of the same repo that I would like to have it's own pipeline.
In the pipeline.yml for the branch I have:
trigger:
- ops-workshop/ms-lab01
However, if I commit…

Matt Stannett
- 2,700
- 1
- 15
- 36
4
votes
2 answers
Azure Devops build pipeline: CI triggers not working on PR merge to master when PR set to none
Need to trigger CI build job when a PR is merged to master (only when change is inside ./rel/* path) but not have CI build triggered when the Pull Request (PR) is created. So I have the trigger config as below.
trigger:
branches:
…

Michael George
- 647
- 9
- 15
4
votes
0 answers
How come Google Cloud Build trigger can't find custom named .yaml files?
The Problem
When using, cloudbuild.yaml files, specifically named for their build environment, such as cloudbuild-dev.yaml and cloudbuild-prod.yaml, and configured/targeted in the Trigger settings they aren't found/recognized when GCB reacts to a…

Joel Baudin
- 171
- 1
- 6
4
votes
0 answers
Jenkins BuildResultTrigger doesn't seem to be working
I can't figure why my job is not triggering nightly. In Jenkins have 2 jobs set up intended to function in the following way
Job 1: DataCheck
Runs every hour runs a check to see if data is consistent.
Job 2: MoveDataToProduction
Every Day at…

Ray
- 40,256
- 21
- 101
- 138
3
votes
3 answers
Don't trigger builds for branches that already have a pull request in Azure DevOps
We use Azure DevOps for continuous integration. The pipeline is configured to run a build whenever a change is pushed to a feature branch. This is desired for quick feedback.
Additionally, we have the policy for the master branch that a successful…

Till F.
- 189
- 1
- 9
3
votes
4 answers
How to deploy multiple cloud functions that are newly pushed using google cloud build and Source Repository?
I have a project folder with different cloud functions folders e.g.
Project_Folder
-Cloud-Function-Folder1
-main.py
-requirements.txt
-cloudbuild.yaml
-Cloud-Function-Folder2
-main.py
…

Hsn
- 1,168
- 2
- 16
- 39
3
votes
1 answer
How to pass API parameters to GCP cloud build triggers
I have a large set of GCP Cloud Build Triggers that I invoke via a Cloud scheduler, all running fine.
Now I want to invoke these triggers by an external API call and pass them dynamic parameters that vary in values and number of parameters.
I was…

Stan
- 121
- 1
- 5
3
votes
0 answers
How to disable automatic SCM Trigger from jenkinsFile?
i am new to jenkinspipeline. Do you have an example of how i can use jenkinsfile to prevent automatic scm trigger in jenkinsfile? I was hoping for something like properties[autoSCMTrigger: false].
I have tried for now by allowing the build to fail…

Fishfish
- 123
- 1
- 6
3
votes
2 answers
Hudson build on URL token
I configured a hudson instance and have created jobs. While creating builds, I was able to see this option "Trigger the build by accessing this URL + SecretTOKEN" option. Now, I am unable to see that for any new jobs I create. Am I missing some…

Ritesh M Nayak
- 8,001
- 14
- 49
- 78
2
votes
1 answer
Azure Devops Pipeline trigger ignore paths when a tag is triggered
I have two build pipelines which build my client and API, but when I create a new git tag, both builds are triggered, even though the tag may only related to changes based on my client code.
front-end-build-ci.yml
trigger:
branches:
…

Gary James
- 324
- 3
- 11
2
votes
0 answers
How to give Priority to Finish Build Trigger rather than VCS trigger in TeamCity
I'm Using TeamCity 9.0.3 for my .net Projects in TFS Soure Code . We have Build Projects each dependent on another. Lets say Build A, B, C, D & E. and I had Setup two Triggers Finish Build Trigger and VCS Trigger for all Projects and also…

Sandy
- 21
- 3