Questions tagged [jenkins-plugins]

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

Filter by
Sorted by
Tagged with
0
votes
3answers
46 views

Jenkins upgrading and plugins ordering

I have Jenkins 2.89 installed with many outdated plugins as well. What is the best path for upgrading both the plugins and Jenkins itself? Should one proceed the other? I am leaning toward upgrading ...
1
vote
1answer
23 views

Is there a Jenkins plugin for downloading source code?

Although our own sources are checked out from a revision-control systems, the third-party software we depend on needs to be downloaded from their respective sites. The plugin I'm looking for would ...
1
vote
1answer
28 views

Problem with Connecting Jenkins to SonarQube

I have a Jenkins pipeline that periodically pull from gitlab and build different repos, build a multi-component platform, run and test it. Now I installed a sonarqube server on the same machine (...
0
votes
2answers
58 views

How to run Ansible file in Jenkins using Ansible plugin

Please look into this error trying to implement the deploy.yml file with ansible plugin which is installed in the jenkins. In ansible console I can implement the app successfully to the target ...
1
vote
1answer
15 views

Is it possible to send email notification for Input (GO/NOGO) from a pipeline

There is User input functionality in the declarative pipeline which prompt on the Jenkins console but it's a headache to login every time on console and select the appropriate action. So I want to ...
1
vote
1answer
55 views

Jenkins Git Client Plugin Issue

Git Client plugin previously was version was version:3.0.0-rc(beta) which has security vulnerabilities so upgraded to latest version:2.8.6 (latest). But unfortunately all the dependency plugins were ...
0
votes
0answers
11 views

How to know event type in Jenkins Github Pull Request builded plugin?

I enabled the Github Pull Request Builder plugin from my jenkins, and there was jobs which trigger when new PR created. My current selection in GitHub enterprise are I selected for issue comments ...
2
votes
2answers
63 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 ...
0
votes
1answer
28 views

Is there a way to set build parameters outside of the pipeline directive?

My build parameters are defined in my jenkinsfiles All builds run on container slaves on google kubernetes engine cluster This means users need to wait for a container to start before anything ...
2
votes
1answer
59 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 ...
0
votes
1answer
140 views

Jenkinsfile for monorepo & monobranch

I'm currently working on a Microservice architecture-based project and writing Jenkins Pipeline for it. The project structure is as follows: Web Service (master) Jenkinsfile Service 1/ Jenkinsfile ...
1
vote
0answers
15 views

Commit messages from Submodules to Jenkins Change Log

I have a project with 3 submodules that are updated whenever that project is built and the project is built mainly for an installer (which is not in a submodule). Not a lot of changes are made in the ...
1
vote
0answers
26 views

Set global repository access to GitLab via GitLab connections and Gitlab OAuth

I am trying to configure a secured Jenkins server in a company network where GitLab CE is already running. I have set the access control and the authorization system in Jenkins via the GitLab ...
0
votes
1answer
433 views

Load Balancing of Jenkins Nodes without Load Balancing Plugin?

we currently want to introduce a loadbalancing on the Jenkins server and our nodes. I have already created several nodes. Currently it is also so that if a node is blocked accordingly, that the next ...
0
votes
0answers
23 views

How should the Jenkins MSBuild plugin be configured?

Over on Stackoverflow, I posted an issue with the MSBuild plugin in Jenkins. I am hoping to raise awareness and reach the devops audience by reposting here. In a nutshell, I can't figure out how to ...
1
vote
2answers
54 views

How can I achieve better load balancing of different systems on a Jenkins?

We have four test machines spread over a Jenkins. We would like to have a better distribution. Example: If machine one is running with a test job, the second job should detect that node one is ...
0
votes
1answer
26 views

Jenkins is running as a docker image in a kubernetes cluster and won't come up due to plugin version incompatibility

We are running Jenkins as a docker image in a kubernetes cluster. However it does not come up any more because of some plugin version incompatibility. How can we upgrade the plugins, or disable them ...
0
votes
1answer
41 views

Does Jenkins job create Jenkinsfile? On execution

On creation of a new job(as free style project), and running it, I see that Jenkinsfile is generated in job's workspace, after running the job. But I see that all the pipeline code is commented. ...
3
votes
0answers
523 views

Can I use the Jenkins Rest API with user input?

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 ...
0
votes
0answers
66 views

Provisioning & Configuring VM on Azure

As part of QA pipeline(in Jenkins), we need to add a provisioning and configuration automation of a VM to run the QA tests. Jenkins pipeline can trigger ansible code for provisioning and ...
1
vote
1answer
167 views

Jenkins: mercurial scm: clean=false is not working as expected

EDIT: It seems as if the MercurialSCM plugin hardcodes the update to use the --clean option. See this line. Anyone have any ideas what's the idea? I have the following checkout step in my Jenkinsfile:...
1
vote
0answers
96 views

Jenkins - IBM UrbanCode - AWS & Azure cloud

For continuous delivery, we do manual deployment after generating binary artifacts from Jenkins pipeline(in an automated process). Further, for continuous deployment, we would like to use IBM ...
1
vote
2answers
143 views

Jenkins plugin recomendation

My company wants to visualize the % of failed/successful deployments of jenkins jobs. And the way jenkins is arranged complicates the task, each team or project is a folder name and inside the ...
0
votes
1answer
3k views

Deploy helm chart from Jenkins to Kubernetes

I want to deploy helm chart from Jenkins to Kubernetes but I don't find any Plugins in Jenkins for Helm. How can I tell Jenkins to run Helm chart in Kubernetes ?
1
vote
2answers
377 views

No Checkbox to“ Restart Jenkins when installation is complete”.Unable to restart Jenkins post plugin download

I have set up Jenkins version (ver. 2.155). post adding plugin, i need to restart Jenkins but "Restart Jenkins" tab or link not working. I don't find my [] checkbox to check/tic click on arrow is not ...
1
vote
2answers
48 views

Push Jenkins Build status to Github and Trigger Jenkins build from Github Webhook [closed]

FYI - New to DevOps. Please bear with me. Thanks I have a webhook created by Admin on Github Repo to trigger Jenkins build. I created a token from my Github(I am not admin on the repo) and used it in ...
0
votes
1answer
105 views

How to read array and loop server selection and deployment

I have configured jenkins parameter deployment job using active choices parameterize plugin. In my dev server section have two servers called, 192.168.94.139, 192.168.94.140 I want to read this ...
2
votes
1answer
1k 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 ...
0
votes
1answer
381 views

Jenkins poll scm issue- Multiple jobs configured in single repo

We configured multiple jobs in single repo and enabled poll scm. The build is not triggerring whenever checkins happened. Let me know is it possible that poll scm will work for multiple jobs in ...
1
vote
1answer
660 views

How to use Jenkins github user credentials to access github api in my script?

I have a Jenkins job foo that works perfectly well. It is authenticated with jenkins_foo_user. It is able to clone the repo and checkout the right branch. In my codebase, I have another script - ...
0
votes
2answers
50 views

Change variable inside of project. Jenkins, docker, kubernetes

Because I am new in the DevOps, I don't know where I need to apply the changes to correctly run the project. The structure: Git → Jenkins → Docker build -> Kubernetes (deploy) Is it better to make ...
3
votes
3answers
4k 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 ...
2
votes
2answers
232 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 ...
1
vote
1answer
1k views

How to access environment variable in post-build access for jira plugin

I installed JIRA Plugin for the jenkins. It add some action in Post-build Action menu. One of the action is JIRA: Update relevant issues. When I try to access Environment Variable, it gives error. ...
2
votes
0answers
202 views

JIRA plugin on jenkins not set the JIRA_ISSUES variable

I have jenkins job for with GitHub Pull Request Builder. In build, I added first step to set the JIRA_ISSUE variable. JIRA: Add related environment variables to build Extracts JIRA information for ...
1
vote
2answers
2k views

Aggregating JUnit test results from multiple projects

We have a Jenkins setup which utilizes multiple projects for running various suites of tests for our application. There is one 'parent' project, which is triggered by Git commits. This project in ...
2
votes
1answer
4k 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 ...
3
votes
1answer
413 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 ...
2
votes
1answer
401 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....
2
votes
1answer
3k 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('...
0
votes
1answer
2k views

Jenkin - Monorepository build only changed folder

My Organization is keeping only one git repository in bitbucket, that hosts multiple projects under same branch, Now I have to automate build process using Jenkin. I configured a webhooks that invoke ...
0
votes
1answer
117 views

How do I achieve Continuous Integration and Continuous Delivery (Ci-Cd) via JMeter?

I have prepared the JMeter test script for my project and it tests (both functionally and performance wise) various Rest Apis. I have even coupled it with Jenkins on my local machine and also ...
2
votes
2answers
5k 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 ...
2
votes
1answer
407 views

Github plugin triggering to push event only for changes in specific branches

I am using Jenkins2 and GitHub plugin for triggering Push events. I have the next service (Jenkins Github): http://myjenkinsmaster/github-webhook/ I also have 3 branches: dev, stage, master which ...
0
votes
2answers
2k views

How to use Jenkins Pipeline and choose triggers for email notifications?

Before Pipeline, I used Email-ext plugin to define triggers for sending emails (on first failure, and when back to success). But in the Pipeline version, I can't control the triggers, I can only "...
0
votes
1answer
123 views

Jenkins, Jenkins SSH Plug-In, EC2, “ubuntu” user and “www-data”

I am trying to install Jenkins to achieve a Github -> EC2 instance folder pipeline. So far everything works well when I target an empty folder... however, when I target my production folder owned by ...
6
votes
1answer
14k 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. ...
8
votes
2answers
4k 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, ...
4
votes
4answers
3k 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 ...
1
vote
1answer
1k views

How to integrate docker-compose or docker run command arguments into SCM and Jenkins build?

When I do docker run I have to give extensive argument options for my container setup. To mitigate this and ensure all developers are using the same arguments I switched to docker-compose. Now ...