Questions tagged [jenkins-plugins]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
29 views

How to use Gitlab API plugin in Jenkins?

I created a Jenkins job using Gitlab plugin to validate a merge request. What I want to achieve is to have a possibility to block a merge request from being accepted in case the build has failed. ...
1
vote
1answer
207 views

Jenkins - Active Choice DynamicReferenceParameter not returning list

I have been trying unsuccessfully to get DynamicReferenceParameter of the Active Choice plugin to show previously selected values as list, however it either shows them on one line or it treats each ...
1
vote
1answer
84 views

how can I make jenkins find 2 jenkinsfile in a repo with multibranch?

I am quite new to DevOps and Jenkins in particular. I have played around and created some pipelines jobs. I wanted now to start practicing with a jenkins in local, and apply CI-CD to an small project ...
0
votes
1answer
133 views

Jenkins Docker - Make changes to gitconfig

I have a self-hosted Gitea organization, and the way to access the repos requires some "secret" extraheader in .gitconfig. (2FA is also enabled) When I look at Jenkins "Configure System&...
1
vote
0answers
33 views

Parallel execution of same job with different configuration- pipeline jenkinsfile script path is updated incorrect

I have a jenkins job A and i have 5 tests (each triggering job A with updation of different jenkinsfile script path as Before Each test) executing in parallel Test1 with pipeline-jenkinfile-1 Test2 ...
0
votes
1answer
63 views

Jenkins and Kubernetes CLI plugin and GKE

I'm trying to use Jenkins Kubernetes CLI plugin from https://plugins.jenkins.io/kubernetes-cli/ to let deploy artifacts from Jenkins to GKE cluster. Expected Behavior Get cluster info on kubectl ...
1
vote
1answer
254 views

How do i print the list of jobs per plugin in Jenkins

I'm trying to list the jenkins jobs per plugin is being utilized. I see there's a plugin in jenkins, https://github.com/jenkinsci/plugin-usage-plugin, which displays the plugins usage in the Jenkins ...
1
vote
1answer
51 views

Jenkins: Access job/plugin configuration values inside pipeline

I am trying the access the values set on a job's configuration page from within my pipeline. These values are not made available as params, nor are they injected as envvars. Setup Jenkins, v2.263.1 ...
1
vote
1answer
2k views

Skip stages in Jenkins pipeline

I am using a scripted pipeline where I am required to skip some stages conditionally.Is there a way to show skipped stages on Jenkins UI other than importing org.jenkinsci.plugins.pipeline....
2
votes
2answers
60 views

How can I make artifacts available to the QA team with a user-friendly UI?

Currently developers push to master, jenkins picks that up, builds it, and then I go to artifacts, download the APK files and upload them in a Microsoft teams group so that the QA team can download ...
0
votes
1answer
16 views

jenkins build overview page not showing stages in webui

I'm using the image: jenkinsci/blueocean from Dockerhub The build overview page isn't showing the stages of a build. i.e. the square boxes that represent the stages are not appearing. Am I missing a ...
1
vote
0answers
252 views

How to send/get parsed console output file in jenkins?

I have used log parser plug-in to find out the errors and warning and able to see it into console log(parsed) section over Jenkins. Now I have to send those parsed log file to recipient user. To send ...
0
votes
1answer
619 views

Is there any Jenkins plugin for pylint results?

I have Pipeline which run Jenkinsfile. one of the stage is pylint: python -m pylint --rcfile=.pylintrc --exit-zero ${MODULE} > ${WORKSPACE}/testreport/pylint.log I know there was used to be ...
0
votes
1answer
68 views

Jenkins multi-agent build switching directories behind the scenes preventing AWS CodeDeploy plugin from zipping built files

I've narrowed my problem down to a very specific cause but am not sure how exactly how to fix it. A Jenkins server set up using Jenkins-configuration-as-code in a docker container runs a pipelineJob ...
2
votes
1answer
54 views

Pass information between Jenkins Job builds

Please excuse my non-fluent terminology.. There is a Jenkins server, master and a few slaves, there is a pipeline job.. let's call it playground I run the job once, I want to save some data somewhere. ...
1
vote
0answers
21 views

How can I configure Jenkins pull request builder to run tests on Github dependabot PRs

Our Github project repository is configured to receive security PRs from dependabot, and we get them periodically. We are using Jenkins with Build Triggers so that when a user comments /test in a PR ...
0
votes
1answer
580 views

What is the best approach to deploying to multiple servers using Jenkins?

Trying to figure out the best approach for deploying to multiple servers using Jenkins Blue Ocean pipeline. We will have six servers in development, six in QA, six in Staging, and six in production. ...
1
vote
2answers
916 views

Jenkins - restrict which nodes can be selected by user when creating jobs

I have a situation where I have a Jenkins installation that is used by multiple teams. Each team gets their own Jenkins node, which has access to certain parts of the organization that the team is ...
7
votes
1answer
237 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 ...
3
votes
2answers
750 views

yaml files in jenkins pipeline

Just started out working on jenkins, among other things I'm trying to understand the role of yaml in pipelines. I understand that pipelines or declarative pipeline (do other type of pipelines exist in ...
2
votes
1answer
525 views

Passing parameters of extendedChoice type to Jenkins Pipeline via jenkins-cli.jar

I have the following declarative pipeline. It defines checkbox multi-choice parameter: pipeline { agent any options { ansiColor('xterm') } parameters { ...
0
votes
1answer
110 views

Jenkins 2.164.3 - programmable plugins installations for specific versions

Which tool should I be using in order to be able to control Jenkins plugins from a cli/script in such way that when I have a new installation (e.g. 2.164.3)? For example, I want to type blueocean - 1....
2
votes
1answer
44 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 ...
0
votes
1answer
4k views

Jenkins Plugin:Extended Choice Parameter from JSON file

Extended Choice Parameter plugin query: How to load params dynamically from a JSON file for jenkins build job. Here is my jenkins script to add normal parameters and Extended Choice parameters as well....
3
votes
1answer
2k 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
157 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; ...
0
votes
1answer
255 views

Is it possible to downgrade Jenkins container plugin thought CLI?

I have a job that creates a container from Jenkins image. I would like to add to the script one more option: Currently, it's installing the image with DSL plugin version 1.77. is there a command I can ...
1
vote
2answers
870 views

Jenkins - load scripted parameters from a SCM repo

I am using all kind of parameters like "Active Choice Parameter", "Active Choice Reactive Parameter", "Active Choice Reactive Reference Parameter" that have a lot of Groovy code within them. My ...
1
vote
1answer
727 views

Jenkins-Deployment failure, Build successful

I have been trying to work on Jenkins and I'm able to Build the code but unable to deploy on to the Tomcat server. Have checked the users.xml file and Started by user nakul Running as SYSTEM ...
1
vote
1answer
25 views

Is it possible to give only view permission for Jenkins monitoring-plugin

We have the monitoring-plugin installed: https://github.com/jenkinsci/monitoring-plugin is there a way to give only view permissions once it is installed?
1
vote
1answer
46 views

Pipeline flow get stuck at “Notifying stash” after finishing all stages

All our CI projects are getting stuck in the Notify stash. eventually, it's passing, but we're trying to understand why it takes so much time. example: 17:03:01 Notifying Stash at "https://bitbucket" ...
1
vote
2answers
2k views

Jenkins Plugin Install Failed

I am trying to set up new Jenkins. When I download Suggested Plugins OR try to install any plugin I am getting below error. I am using Jenkins Latest Version 2.204.1. I have set up this on VM. I am ...
0
votes
1answer
712 views

Sonar Quality Gate behavior in Jenkins pipeline is unstable

I have some pipelines in Jenkins, with the SonarQube stage (Version: 6.7.1, build 35068) In some builds it is aborted due to time out: 12:19:01 Sleeping for 3 min 0 sec [Pipeline] timeout 12:22:10 ...
1
vote
3answers
604 views

Jenkins Pipeline Docker Agents with official Jenkins Docker image

I'm using the official jenkins:lts image to host a Jenkins instance, with the Docker control socket forwarded inside the container to allow Jenkins to start new containers, and now I'm trying to run a ...
1
vote
1answer
408 views

Jenkins pipeline fails with No such property error

I have Jenkins container (version 2.138.1) with a pipeline which uses the plugins: Job DSL version 1.7.0 Repository Connector version 1.1.3 P4 version 1.8.14 it fails with the below error: 11:23:...
2
votes
1answer
1k views

Database Backup using jenkins

I would like to take MSSQL server db backup. Is there any plugin available for it.
0
votes
1answer
542 views

Which plugin is used to copy file from different environment in jenkins

I want to copy file from different environment in jenkins. Can you please guide me to choose the plugin for copying
1
vote
1answer
33 views

What is the name of Jenkins plugin for GitHub plugin configuration?

We need below plugin in Jenkins: Currently I have installed below list of plugins: git:latest git-client:latest git-server:latest github:latest github-api:latest github-branch-source:latest Am ...
1
vote
3answers
1k 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 ...
2
votes
1answer
237 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
3k 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
1k 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
167 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
299 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 ...
2
votes
2answers
253 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 ...
1
vote
1answer
294 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 ...
3
votes
1answer
73 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
1k 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 ...
2
votes
1answer
93 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
78 views

Set global repository access to GitLab via GitLab connections and Gitlab OAuth [closed]

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 ...