Jenkins buid when active sprint complete in JIRA - jenkins

Is it possible trigger to Jenkins build a job when the jira active sprint is complete?

Related

Triger to build pipeline job after successful another 5 jobs

How to trigger build pipeline job in Jenkins after some successful builds of another 5 jobs? I tried to use Build trigger but it work only for one successful build job, but not for all five of them.

How to add multiple Jenkins jobs as a build parameters in single Jenkins job

->I have around 20 jobs which needs to be deployed parallel
I want to trigger these 20 jobs from single jenkins job.
I need to use those 20 jobs as build parameters in single jenkins job so i can choose which job to deploy.
Can someone help me with this requirement if there is any plugin or workaround?
I tried below options:
Active choices plugin and build flow plugin are not compatible with the current jenkins version 1.642 which i am using.
Multijob project can only deploy all jobs at once parallel but doesn't give any option/condition to run particular job.
Currently i am working on multijob phase project jenkins
I am trying to use some conditions in Multijob phase project but jobs not triggered as expected, If someone knows using conditions in multijob phase please lemme know
Thank you

Deploy at specified time of day only if build was triggered earlier in day

I'm new to Jenkins.
My node application currently deploys upon merge.
I would like my application to deploy at 2AM, but only if there was a merge earlier in the day.
How can I accomplish this?
Use the Git Plugin, and a Build Triggers > Poll SCM enabled.
In the poll SCM field, you can write 0 2 * * * (2AM).
That will trigger the job each time there is a change.
Other alternatives: "Jenkins pipeline: How to build new artifacts only if has a new commit".

Queue Jenkins Job step in TFS 2015 can't sync with Jenkins job

I can't make Queue Jenkins Job step neither get Jenkins build status nor get Console output.
I hoped to use step([$class: 'TeamCompletedStatusPostBuildAction']) in Jenkins Job, but developers were kind to put this info message:
NOTICE: You selected 'Set build completion status in TFS/Team Services' on your Jenkins job, but this option has no effect when calling the job from the 'Jenkins Queue Job' task in TFS/Team Services.
So how do I force TFS and Jenkins to communicate in this build step?
Note:
Service Hook works fine, but I want to get all the reports, progress, work items and notifications in TFS, so I would like to setup a full TFS build.
The Queue Jenkins Job step queues a job on a Jenkins server. Full integration capabilities require installation of the Team Foundation Server Plugin on Jenkins. Make sure you have created Service Endpoint for Jenkins first.
And there is a detailed tutorial of this task in MSDN, you could refer this link: Jenkins Queue Job
Some other links about how to use this task and TFS integration with Jenkins:
A new Team Services build task to queue Jenkins jobs
Visual Studio Team Services Integration with Jenkins
I have found a weird fix to my problem that I can't really explain.
Capture console output and wait for completion only have to be chosen in Queue Jenkins Job step setup, and Capture pipeline output and wait for pipeline completion should be left unchecked.

How to build only certain Jenkins jobs using "Stash Webhook to Jenkins" in a branch?

I have enabled "Stash Webhook to Jenkins" for a branch called "develop". I have 10 jobs Jenkins configured on the branch develop for different purpose.
When ever I merge a feature branch in to "develop" branch, all the 10 Jenkins jobs on develop are starting. I need only ONE Jenkins job to kick-off when ever there is a merge in to develop?
How do i configure this?
Thanks in advance
Hari
You can disable Jenkins job from being triggered by Git commits by unckecking "Poll SCM" in job configuration. An article.

Resources