18 votes
Accepted

Which SCM tools does Jenkins support?

It supports AccuRev, CVS, Subversion, Git, Mercurial, Perforce, Clearcase and RTC. For all of them exists a plugin and as you probably already know, Jenkins is not limited to only that list, anyone ...
Gepser Hoil's user avatar
  • 1,312
12 votes
Accepted

How to store Jenkins job results and produce a summary report?

Have a look at the Summary Display plugin. Some more details about it (= quote from the linked page): ... allows an easy and fully customized build report display. Features Allow a rich summary ...
Assaf Lavie's user avatar
  • 1,241
11 votes
Accepted

How to publish Jenkins job icons externally?

The "Embeddable Build Status Plugin" will do exactly that. Note: This requires your Jenkins server to be accessible from the internet if you're using GitHub because they cache all images in their CDN....
Travis Thompson's user avatar
10 votes
Accepted

How to check Jenkins build executor free memory?

Have a look at the Monitoring plugin. Here are some more details about it (from the linked page): Charts of memory, cpu, system load average, http response times by day, week, month, year or ...
Pierre.Vriens's user avatar
  • 7,185
10 votes
Accepted

sshagent and jenkinsfile

Found the problem: I was using the human readable key name from the GUI. Need to use the key's UUId ID instead (this is specified next to the name in credentials screen) steps { sshagent ...
eshalev's user avatar
  • 281
9 votes

Which SCM tools does Jenkins support?

In addition to the list in the previous answer, there is also the plugin that integrates Serena Dimensions CM with Jenkins. Some more details about this plugin (from the linked page): The plugin ...
Pierre.Vriens's user avatar
  • 7,185
8 votes
Accepted

How to deploy a custom build of a Jenkins core plugin?

This section of the official Jenkins Plugin Tutorial will probably be of use. According to the writers of that documentation, you need to copy your .hpi file to $JENKINS_HOME/plugins, remove the ...
Peter G's user avatar
  • 1,092
8 votes
Accepted

How to rebuild multiple jobs at the same time in Jenkins?

You can use a pipeline to tie the jobs together, executing them either in parallel or sequentially through steps. You can pass the relevant parameters to each job as you call it from the pipeline ...
Jiri Klouda's user avatar
  • 5,807
7 votes
Accepted

Is it possible to build Jenkins jobs without using build numbers?

It's not possible to avoid setting the BUILD_NUMBER environment variable, but you can avoid using it. Try using the Jenkins plugin Build Name Setter Plugin. It adds an option in your build ...
Peter G's user avatar
  • 1,092
7 votes

Is there a way to disable a Jenkins plugin for a single job?

Sadly I just switched jobs and I don't have access to a Jenkins instance (least not yet) so I cannot try it out for you. That said some ideas quickly jump in my mind that could get you there. I've ...
Newtopian's user avatar
  • 1,946
7 votes
Accepted

How to have jenkins add a review to a pull request

I guess the simplest and direct solution would be to use GitHub API: https://docs.github.com/en/rest/reference/pulls#create-a-review-for-a-pull-request But for the requirement you have, PR checks is ...
froblesmartin's user avatar
6 votes
Accepted

How to not "fire and forget" when doing a remote trigger of a Jenkins build?

I've created the jenkins-remote-builder script which will follow your remote build to completion. Some more details about it (from its README.md): Example jenkins=https://user:[email protected]....
osmorgan's user avatar
  • 309
6 votes

Jenkins Artifactory plugin not downloading in multi-thread

You could try to run the artifactory file upload in parallel if you are using the Jenkinsfile syntax: https://github.com/jenkinsci/pipeline-examples/blob/master/pipeline-examples/parallel-from-list/...
Michael Pereira's user avatar
6 votes
Accepted

Jenkins Pipeline job; proper quoting for slackSend step

In Groovy you have to use double quotes to get string interpolation: if ( "$output" != null ) { slackSend (channel: "@${name}", color: '#36A64F', message: "Job succeeded") } else { ...
Michael Pereira's user avatar
5 votes

How to check Jenkins build executor free memory?

As for workaround, the actual memory can be checked by invoking Groovy commands directly in Script Console (at /computer/(master)/script). Example command: println "free -m".execute().text
kenorb's user avatar
  • 7,791
5 votes
Accepted

Jenkins cannot reach nodes after upgrade

I found out via this StackOverflow question which pointed me to JENKINS-27624 which indicates that Java 8 is now required. Update: I upgraded Java on all my nodes this morning and they are up and ...
lawnmowerlatte's user avatar
5 votes

How to not "fire and forget" when doing a remote trigger of a Jenkins build?

When setting up the remote trigger, you have to click "Block until the remote triggered projects finish their builds."
Travis Thompson's user avatar
5 votes
Accepted

Bitbucket Webhook plugin for Jenkins - differentiate between branches

I believe it is now possible to configure the webhook on per-repo basis: https://mohamicorp.atlassian.net/wiki/spaces/DOC/pages/381419546/Configuring+Webhook+To+Jenkins+for+Bitbucket+Bitbucket+Branch+...
Nune Isabekyan's user avatar
5 votes
Accepted

post jenkins build console output to slack

I figured it out by myself, there is no plugin needed. build.sh &> /dev/stdout | tee jenkins.txt and then curl -F [email protected] -F channels=yourchannel -H "Authorization: Bearer your token"...
tikael's user avatar
  • 201
5 votes
Accepted

How to SSH from Jenkins node to Jenkins node safely?

Yes, storing your ssh keys directly on a build node is a bad practice. Nodes can be replicated, deleted, or given access to from other systems, and you don't want to lose track of what systems have ...
Preston Martin's user avatar
  • 3,218
4 votes

Continuous Integraton using Jenkins Pipeline for a .NET project

Specifically in answer to your 3rd question, if you are willing to look outside of the Jenkins Ecosystem there are alternatives out there that might be of value to you. For my clients who use the ...
Richard Slater's user avatar
4 votes

Which SCM tools does Jenkins support?

Your question doesn't specify which platform (OS) it is about. But if it is about good old mainframes (running zOS, whereas the z stands for "zero downtime ..."), then these would be some ...
Pierre.Vriens's user avatar
  • 7,185
4 votes

How to get mobile push notifications on Jenkins jobs?

Jenkins has a bunch of plugins: There's HTML5 desktop notifier plugin which can push notifications to your browser There's a Slack plugin which can push notifications to a Slack team/channel
Sathyajith Bhat's user avatar
4 votes
Accepted

How to add a new column with custom value extracted from the job?

From what I can tell you can definitely customize the columns for a custom view (I can't find where to change it for the "All" view, but it's probably possible). Unfortunately it doesn't look trivial ...
Travis Thompson's user avatar
4 votes

How to publish Jenkins job icons externally?

I was trying to do something similar (embed build status icons into email notifications) but since our build system is not publicly accessible, I ended up posting the status icons to imgur and ...
lawnmowerlatte's user avatar
4 votes
Accepted

How to promote a build when certain value in output is above threshold?

What you are looking for is at the bottom of the GitHub README describing Job DSL for the Promoted Builds Plugin. Link to GitHub is on every plugin's page. There are also links to plugins it depends ...
Jiri Klouda's user avatar
  • 5,807
4 votes

How do you test changes to Jenkins plugins before deploying them?

According to the policies of the company where I work we have dev, preprod and prod environments (on some service dev can be missing). And the path of new version preprod->tests->validation->prod. In ...
Romeo Ninov's user avatar
4 votes

Backup Jenkins log files to external cloud storage

Historically, I approached this a bit differently. I added a post-build step to each job, and had it copy the output to S3 at execution time via the S3 plugin. This blog post covers the moving parts ...
Corey Quinn's user avatar
4 votes

Why does the Jenkins bitbucket-build-status-notifier-plugin post the status to the shared pipeline library repository?

This is a known bug. See JENKINS-42878 and JENKINS-41996. This bug has been resolved upstream, which means you should be able to fix the bug by upgrading the plugin to the latest version.
jayhendren's user avatar
  • 2,932
4 votes
Accepted

How do I trigger scripts on a merge or when a branch is deleted?

"This is great, but I want to run a command/script when a branch is removed, how can I have jenkins run a command when a branch is removed?" You will need to use a webhook for this, I use the ...
Kyle Steenkamp's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible