Questions tagged [jenkins-plugins]

For questions about plugins for Jenkins, the open source automation server.

Filter by
Sorted by
Tagged with
17
votes
3answers
5k views

Which SCM tools does Jenkins support?

I'm aware that Jenkins supports Git and SVN. What other SCM tools does Jenkins support?
14
votes
3answers
818 views

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

If you ever been bitten by a plugin upgrade that broke some functionality you must have given some thought about this problem: What should be the Jenkins plugins upgrade policy? How do you test ...
13
votes
2answers
14k views

How to check Jenkins build executor free memory?

In Jenkins when clicking on Build Executor Status I can only see free disk space related statistics (URI: /computer). How I can monitor free system memory (RAM) in Jenkins? I'm asking, because ...
13
votes
3answers
6k views

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

I am attempting to trigger a parameterized Jenkins build from Bamboo, doing the below: POST - http://jenkins-url.com/job/jobname/buildWithParameters?ENVIRONMENT=dev&APPLICATION=hello-world ...
13
votes
3answers
9k views

Using Artifactory plugin in Jenkins declarative pipeline

I am using Jenkins Declarative Pipeline to automate my build process. We want to publish our artifacts to a remote JFrog repository only if certain conditions (Sonar,Checkmarx) pass. After a bit of ...
13
votes
4answers
3k views

Which plugin should I use to get started with Jenkins to manage mainframe components in PDS format?

Assume somebody familiar with DevOps and mainframes, but new to Jenkins, wants to get started with Jenkins, e.g. to: investigate the feasibility of managing data stored in personal files (PDSes, i.e. ...
11
votes
1answer
2k views

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

I use the Build timeout plugin to alert when jobs are stuck. I have one job that triggers this alert because it contains a step with a long execution time. I would like to disable the build timeout ...
11
votes
1answer
7k views

Jenkins Pipeline job; proper quoting for slackSend step

This is probably 100% user error, but I can't get a pipeline job to use a variable as the channel name in a slackSend step. This uses both the Slack plugin and the Build User Vars Plugin. I'm trying ...
9
votes
2answers
1k views

How to publish Jenkins job icons externally?

I'm using Promoted Builds Plugin to assign certain icons to Jenkins jobs on certain conditions and I'd like to publish these promotion icons. How can I generate external links to these icons per each ...
9
votes
2answers
11k views

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

I'm using Jenkins Rebuild Plugin to execute a parametrized builds with a single Rebuild button. However when I need to rerun dozens of parametrized jobs (either selected, or from the same folder), it'...
9
votes
1answer
5k views

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

I am using jenkins multibranch pipelines. If a branch is merged and deleted jenkins removes the branch from the pipeline as well. This is great, but I want to run a command/script when a branch is ...
8
votes
4answers
5k views

How to restore default Jenkins plugins?

I do a lot of testing in my Jenkins VM which I have on my local laptop. I found this time-consuming to remove Jenkins and installing again from scratch. It would be better if I have a simple way to ...
8
votes
1answer
553 views

Jenkins Artifactory plugin not downloading in multi-thread

In my company we're having a bad time trying to download with the Artifactory plugin in Jenkins because we have a lot of tiny files in our repository and apparently the plugin works in a single thread,...
8
votes
2answers
6k views

Is there a way to run the Jenkinsfile from command line?

I don't want to use Jenkins UI, instead I would like to use the command line, from command line I want to execute Jenkinsfile to the Jenkins server. Is this possible? Let's say I have a Jenkinsfile, ...
7
votes
1answer
17k views

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

I'd like to store custom job result data into some format (e.g. in XML) that Jenkins can read and produce the summary report on the job page (ideally in the form of table). I'd like to know how this ...
7
votes
1answer
19k views

sshagent and jenkinsfile

I am new to Jenkinsfile. I have previously configured my Jenkins job from GUI, and we are now upgrading our server to use Jenkinsfile. My job contains a section which needs to SSH to another server. ...
7
votes
1answer
54 views

How to have jenkins add a review to a pull request

I have a Jenkins instance, with credentials for a "robot" github account, which we use to interact with the GitHub API as a team. Typically, jobs are defined as declarative pipelines. I am ...
7
votes
3answers
7k views

Jenkins Pipeline and stash Pull Request Builder not working on PR create/update

Below is the requirement needed to achieve using the Jenkins Pipeline and i am new bee into Jenkins Pipeline. After completing development work and pushing his changes to Bitbucket the user creates a ...
7
votes
1answer
2k views

Jenkins & Bitbucket; cancel previous build if new commit made to same branch?

We have Jenkins running unit tests when commits are made to our repo in Bitbucket. This is controlled by the Bitbucket Plugin, ie via a Bitbucket webhook. Currently, if a commit is made to Branch A ...
7
votes
1answer
4k views

How can I deploy an AWS Lambda function from Jenkins?

I have a simple Lambda function that I'm trying to deploy through Jenkins - public String handleRequest(String input, Context context) { String output = ""; if (input.isEmpty()) { ...
6
votes
1answer
1k views

Jenkins cannot reach nodes after upgrade

I just upgraded Jenkins from 2.39 to 2.57. After the upgrade, Jenkins can no longer communicate with my SSH build nodes. I get the following error: <===[JENKINS REMOTING CAPACITY]===>channel ...
6
votes
1answer
3k views

Continuous Integraton using Jenkins Pipeline for a .NET project

The project: A .NET standalone application consisting in: The main application that is a Windows Service containing a web server used for the web interface. Project is 90% .NET (Framework, Standard ...
5
votes
3answers
2k views

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

I am attempting to implement the Jenkins bitbucket-build-status-notifier-plugin, found here: https://github.com/jenkinsci/bitbucket-build-status-notifier-plugin We used the shared-pipeline code ...
5
votes
3answers
4k views

Backup Jenkins log files to external cloud storage

I'm looking to automatically back up Jenkins log files for all jobs running on our master and slaves once a week, moving them to aws' s3 and deleting them from their respective directories when done. ...
5
votes
1answer
2k views

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

The current list of Jenkins jobs has 4 columns: Name Last Success Last Failure Last Duration Is there any way to add a new column which would have some custom value extracted from the job?
5
votes
1answer
818 views

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

I'm using the Promoted Builds Plugin and I'd like to promote my freestyle job to have a gold star when a certain value in my output is above a given threshold (e.g. above 1.00). Here is a sample ...
5
votes
1answer
2k views

Jenkins Promote Build across different pipeline?

In my workplace, we are using a monolithic repo. It contains many project and micro services that run on different Jenkins pipeline. I know that using Promoted Build Plugin, we can promote build of ...
4
votes
1answer
1k views

How to deploy a custom build of a Jenkins core plugin? [closed]

How to deploy a custom build of a core plugin bundled in Jenkins?
4
votes
2answers
2k views

How to get mobile push notifications on Jenkins jobs?

I'd like to receive automatic push notification to my mobile about completed Jenkins jobs and their status (success or failure) in any form. Is it possible?
4
votes
2answers
6k views

How to export Cucumber Reports via Jenkins Pipeline

I'm using the Cucumber Reports Plugin for Jenkins and I want to be able to export the HTML reports so they can be posted on an external portal. I can see that there is a folder named cucumber-html-...
4
votes
1answer
6k views

How to test whether a variable exists in the declarative pipeline

I am using the Build User Vars Plugin which sets various variables in the pipeline. Here is what I am currently trying: wrap([$class: 'BuildUser']) { def safeBuildUser = binding.hasVariable('...
4
votes
1answer
451 views

How to terminate EC2 instance in Jenkins via Vagrant when job is stopped manually?

I've freestyle jobs which aims to run EC2 instances via Vagrant (vagrant up), however when I cancel the job manually (by clicking X button), the instances on EC2 are still running. How can I make sure ...
4
votes
1answer
498 views

Github commit message when deploying to aws beanstalk in Jenkins

As part of our CI setup I am using AWS Beanstalk deployment plugin to deploy my application through Jenkins. The issue is I am getting git commit hash in beanstalk application versions description. I ...
4
votes
1answer
910 views

Monitor Jenkins node/slave health

For a project i'm working on we need to create a Jenkins node in an AWS environment. For this we will work with the docker image which is available on https://github.com/jenkinsci/docker-ssh-slave ...
3
votes
3answers
7k views

post jenkins build console output to slack

I know how to notify build status using the slack notification plugin. I can seeproject - #buildnumber Success after 1 min 18 sec (Open) in my slack channel. But I want the console output to be sent ...
3
votes
2answers
7k views

Does Jenkins support cloning git submodules with “git@” (not “https”) URLs?

Had some issues with Jenkins when trying to checkout a project with Git nested submodules. It failed with a permission error when cloning the submodules: hudson.plugins.git.GitException: Command "git ...
3
votes
1answer
65 views

What is the need of plugins in Jenkins (Sonarqube)

On learning about integrating Sonarqube to CI/CD pipeline, I came across the Sonarqube Jenkins plugin which most of the online blogs recommends. After configuring it, I realized that the working is ...
3
votes
0answers
1k views

Can I use the Jenkins REST API with user input? [closed]

I want my Jenkins Pipeline to have a user input step where it posts to a slack channel and waits for user input then uses the input to user enters (button in the slack message). So at the input step ...
2
votes
4answers
653 views

Bitbucket Webhook plugin for Jenkins - differentiate between branches

We use Jenkins and have the Bitbucket plugin installed. We've got multiple repos and use webhooks for lots of jobs coming from our foo repo. No problems there, the jobs go off without a hitch. Now ...
2
votes
2answers
87 views

How to SSH from Jenkins node to Jenkins node safely?

We have a Jenkins Job that builds something on node A and then needs to SCP it to node B. You can just put the SSH keys for node B on Node A, and SCP with an execute shell build step, however I ...
2
votes
2answers
1k views

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

I have a job which is running very frequently, so I'd like to avoid high number of builds. Is there any way to drop job build numbers, so the job is constantly ran, but without high numbers of builds?
2
votes
2answers
246 views

Can jenkins control baremetal with ipmi

I have a setup with a bunch of blades that pxe boot into coreos using terraform/matchbox setup. I currently control them all manually using ipmitool from my desktop. Is there a way to let jenkins ...
2
votes
1answer
6k views

How to revert the Jenkins setup if plugin/Jenkins updates went wrong.

I would like to upgrade my Jenkins version(From 2.60.2 to 2.121.1) and some of my plugins. Currently, there are some jobs configured in it. I know there are some configuration changes needed for jobs ...
2
votes
1answer
104 views

PTC with Jenkins on Deployment based on the Build request which raised on PTC

I've build which is checked-in on the PTC Integrity and I've raised the CR or SR ticket(Build & Deploy Request) on the PTC life manager by developer for deploy his build on some XXXX server and ...
2
votes
1answer
33 views

How do I install local application dependencies in a Kubernetes manifest?

In a container, there are RUN statements that you can add to a containerfile (such as a dockerfile) to add further dependencies using the package manager like APT or DNF within a container. What is ...
2
votes
1answer
189 views

how to run Docker/Jenkins behind a proxy

For the past few days I’ve been scratching my head trying to get the Jenkins docker image to work The issue appears to be a proxy issue. OS: Ubuntu 16.04 LTS Running behind work proxy ...
2
votes
1answer
36 views

How can I retrieve the execution status of parallel triggered child jobs to a pipeline script

I have a pipeline script that executes child jobs in parallel. Say I have 5 data (a,b,c,d,e) that has to be executed on 3 jobs (J1, J2, J3) My pipeline script is in the below format for (int i = 0; ...
2
votes
1answer
2k views

Groovy script to show only selected item

I used jenkins Active choices plugin and Mavenmetadata plugin to build above UI. When I click a radio button particular version only should be display. How can I write a groovy script to fulfill above ...
2
votes
2answers
470 views

Jenkinsfile equivalent in Azure repos

We have our source code in GitHub. We use Jenkins for CI. We had written a Jenkinsfile in the Github repos and used GitHub plugin for Jenkins. The plugin would scan the repos and then Jenkins would ...
2
votes
1answer
598 views

How does jenkins publish over ssh store passphrases?

When I look in jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml I can see several entries, that have secretPassphrase populated with a string 44 characters long. By using hudson.util.Secret....