7,232 questions
Tooling
0
votes
1
replies
54
views
Аllow users from specific Google Groups to log in to Jenkins
I’m using the Google Login Plugin in Jenkins, and I want to allow access only to users who belong to certain Google Groups.
My setup:
I have enabled the Google Directory API (Admin SDK → Directory ...
0
votes
0
answers
26
views
Active choices - use html text values in pipeline
I want to do the following (I’m testing with the Active Choices plugin):
Have a dropdown with three possible values (one, two, three) – Active Choices Parameter
Depending on the selection, display ...
0
votes
1
answer
66
views
I’m not sure how to configure the OWASP plugin in Jenkins
In Jenkins, I'm using the OWASP plugin, but I keep getting the error: ERROR: Couldn’t find any executable in 'null'.
stage('Dependency-Check') {
steps {
dir("${...
0
votes
0
answers
53
views
Jenkins Allure commandline tool issue
we are using allure command line tool to generate reports and have multiple versions 2.10.0 and 2.32.1. 2.32.1 is set as allure-latest in tools config but when we run the Jenkins pipeline its ...
0
votes
0
answers
84
views
Could not determine exact tip revision of master
Occasionally in Jenkins Pipelines we see the following error:
ERROR: Could not determine exact tip revision of master; falling back to nondeterministic checkout
This then results in a git checkout ...
0
votes
0
answers
83
views
Add job name and build number to Jenkins agent provided by Kubernetes plugin
I would like to add the job name and build number as a pod label of the agent pod that is spawned by the kubernetes plugin.
For example, if I have a job called "buildMyApp" and I start build ...
0
votes
0
answers
62
views
How to remove Jenkins plugin with missing dependency
In my Jenkins instance, I have an error message that the Azure Container Services Plugin cannot be loaded due to a missing plugin, kubernetes-cd
I don't need this plugin so I'd be happy to uninstall ...
0
votes
0
answers
65
views
Run periodic job only if SVN repository has changes
I'm running Jenkins on a Windows machine, and I have a Jenkinsfile that triggers a pipeline periodically using the cron directive:
pipeline {
agent any
triggers {
cron('0 1 * * 1-5') /...
0
votes
1
answer
98
views
How can I add an optional, manually triggered, postbuild action to Jenkins
The problem
Brief
I am trying to add a GUI option to the dropdown menu available for all historical builds:
Details
I want to create an option that will lock the build, create a git tag by ...
2
votes
1
answer
155
views
Jenkins nodes created through the GUI contain an invalid <nodeProperties> value in config.xml
We have multiple Jenkins controllers for different products. One 2 of those controllers, a new behaviour has emerged. When I create a new node through the GUI (using the "Permanent Node" ...
0
votes
0
answers
179
views
Jenkins Plugin Manager showing "There were errors checking the update sites: ArrayOutOfBoundsException: Index 0 out of bounds for length 0"
I am getting this error in jenkins plugin manager when I navigate to updates or available plugins
There were errors checking the update sites: ArrayOutOfBoundsException: Index 0 out of bounds for ...
0
votes
1
answer
260
views
Jenkins controller throwing HTTP 500 Error after upgrading Java to 21
I am currently on Jenkins version 2.504.3. I tried upgrading my Jenkins JDK from 17 to 21 on my Jenkins controller. I am using Open JDK and my Jenkins runs on Ubuntu server.
I encountered the ...
0
votes
0
answers
34
views
Jenkins LTS having issue with prism-api and Timestamper plugin
I am having issues with the latest n-1 Jenkins LTS version as well with the plugins Timestamper and Prisum APi Plugin. Both need antisamy-markup-formatter, but different versions. I do have 173 on the ...
0
votes
0
answers
94
views
Jenkins cant find git repository suddenly
I have a Jenkins pipeline that has been working fine for several years.
But I hadn't run jenkins in a while, and after 6 months I ran it again and it failed at the git clone stage.
build results
...
0
votes
0
answers
76
views
Error deleting log-index file in Jenkins instance
I have a Jenkins instance deployed on a K8s cluster. I have a job that fails when I try to delete it through the Jenkins UI. I have accessed into the container (inside the pod) in the path where the ...
0
votes
0
answers
36
views
How to exclude a folder in a Jenkins Fortify step with UploadSSC?
How to exclude a folder (specifically node_modules folder in a Reactjs project) from a Jenkins Fortify step used like below?
stage('code security') {
environment{
fortifyScanner = tool '...
0
votes
0
answers
42
views
Jenkins plugin version not matching CR version
I'm working on creating a Kubernetes Jenkins deployment, with Jenkins Operator. I have specified versions for a number of plugins, but am getting issues in particular with the configuration-as-code ...
0
votes
1
answer
96
views
Jenkins not creating workspace folder needed for dynamic choice parameter options
this is my first time posting a question so I hope I am doing it right!
I am newer to Jenkins and Groovy, but have been working with the Jenkinsfile for quite a while now, specifically focusing on the ...
1
vote
2
answers
119
views
Jenkins - User permission by View/Pipeline
I have a requirement to give access to an external supplier and I would like to give them access to only a View with some pipelines inside. I don’t want them seeing all my pipelines created on Jenkins....
0
votes
0
answers
59
views
Jenkins issue: fatal: not a git repository (or any of the parent directories): .git
We are running Jenkins on a GKE cluster and have observed a strange issue with our multibranch declarative Jenkins pipeline at the beginning of the pipeline execution.
13:27:09 + git config --global -...
0
votes
0
answers
26
views
Jenkins Multibranch Pipeline: Close feature branch when Gitlab merge request is created
We do our work on feature branches and merge to a branch called "dev" using Gitlab merge requests. Jenkins handles building and testing the code using the Gitlab multi branch pipeline plugin....
0
votes
0
answers
32
views
Jenkins Terraform pipeline gives InvalidClientTokenId error
When running terraform plan, or in this case for testing, aws sts get-caller-identity via pipeline stage, I'm getting the error:
An error occurred (InvalidClientTokenId) when calling the ...
5
votes
0
answers
2k
views
Jenkins java.io.IOException, Failed to exec spawn helper (git)
Time to time I run into this issue, what is solved by a Jenkins restart, but I would be happy to find a better solution. Sometimes the builds can not even start, with the following error (this is the ...
0
votes
0
answers
44
views
Jenkins pipeline: Hardcoding a credential in casc.yml
We are using Jenkins pipelines for the CI/CD in our .NET 9 APIs, but I'm new to this, and I'm stuck regarding how to hardcode a specific credential in the casc.yml file.
casc.yml (the place where my ...
1
vote
2
answers
52
views
Jenkins Trigger Build if 2 string don't match
Currently i am using "post-build Actions" in order to trigger another build and it works, i have a condition of "string match" that if it matches the build triggered,
Now i have ...
1
vote
1
answer
169
views
Cannot choose between the following variants of com.google.guava:guava:33.2.1-jre:
I've below build.gradle -
buildscript {
repositories {
maven {
name 'jenkins'
url 'https://repo.jenkins-ci.org/releases/'
}
}
}
plugins {
id '...
0
votes
0
answers
44
views
Can you tell me steps to Socket Timeout Exception while installing jenkins despite the fact the computer is connected to the internet?
I am getting socket timeout error when Jenkins is trying to connect to update center for installation of plugins. I am getting the error given in the following snap.
My computer is connected to the ...
1
vote
1
answer
97
views
Jenkins freestyle send POST request with build parameters
I have the same problem as this guy How can i pass the parameter i recieved to a http request body in Jenkins?, but seems to me nobody answered the question...
My problem is that I can't pass build ...
0
votes
1
answer
281
views
Masking of secret in Jenkins logs
I have a custom script which fetch the secret from vault . ( I cannot use Jenkins credentials to store the secrets )
My code
def executeCommand(def command) {
return sh(script: command, ...
0
votes
0
answers
38
views
Can we deploy Omnistudio(Formerly Vlocity) comonents using Jenkins
We are using Omnistudio(Formerly Vlocity) for the first time and need to deploy it to higher orgs. We have enabled metadata API & Managed Package Runtime from Omnistudio settings. Now using VS I'm ...
0
votes
0
answers
35
views
Jenkins - Active Choice RR Parameter with HTML Button
I want to add a button to the build page that when clicked will make part of the table appear (is js even possible when using the active choice plugin?).
I'm trying to add a button to the HTML code of ...
0
votes
1
answer
55
views
Jenkins /buildWithParameters pass environment variable
I have an environment variable named TRIGGER_JOB in Jenkins that tells me what job triggered that build.
Since I'm using groovy to start a new job, I rely on /buildWithParameters like this...
https://...
0
votes
0
answers
167
views
Jenkins SCM Pipeline: "Selected Git installation does not exist" Error with Valid Path
I have created a project, uploaded it to GitHub, and I want to fetch and run it using a pipeline SCM in Jenkins. I have already configured Git installation in Jenkins under "Manage Jenkins" -...
0
votes
0
answers
60
views
Jenkins SSH Agent wrong timeout handling?
If a pipeline timeouts currently working via SSH Agent on another host, the timeout leads not to an aborted state - it just continues. This could be a bug, maybe someone could confirm this with ...
0
votes
0
answers
26
views
Can Jenkins Pipeline run on 2 different agent types at once?
I was hoping something like this would work:
agent {
node {
label 'ec2-container'
}
docker{
label 'docker-container'
image 'jenkins-pipeline:latest'
}
}
Where one Jenkins server ...
-1
votes
2
answers
43
views
Issueing when integrate jenkins with sonarqube scanner
i have jenkins config for setting up integrate from jenkins to sonarqube
`
// Stage to check SonarQube task status
stage('Check SonarQube Task Status') {
steps {
script {
...
-1
votes
2
answers
294
views
install ansible in official jenkins docker container without rebuild?
I've been setting up the official Jenkins docker container in my lab, and I'm installing Ansible (and also Python if possible) as plugins.
I've installed the Ansible plugin and I need to setup/install ...
0
votes
0
answers
28
views
Jenkins Editable Email Notification Unable to resolve env variable for Recipient List
I am trying to use the value of Jenkins env variable in the recipient field for the Editable Email Notification. When running the build it is unable to resolve the variable.
Here is the plugin version ...
0
votes
0
answers
61
views
Jenkins offline and plugins installation failed issue in Windows 10
I tried installing Jenkins on my Windows 10 Azure VM, but during the initial configuration, it shows that Jenkins is Offline just before the plugins installation page.
After referring to some blogs, I ...
0
votes
0
answers
34
views
Jenkins offline and plugins installation failed issue in Azure Windows 10 VM
I tried installing Jenkins on my Windows 10 Azure VM, but during the initial configuration, it shows that Jenkins is offline just before the plugins installation page.
enter image description here
...
0
votes
1
answer
214
views
Jenkins Pipeline Job Dropdown Not Showing 'Pipeline script' or 'Pipeline script from SCM' Options
I’ve just set up a new Jenkins instance (version 2.479.3), installed the necessary plugins for Pipeline jobs, and configured a new pipeline job. However, under the Pipeline section in the job ...
-1
votes
1
answer
37
views
Gui automation on Jenkins windows slave node
I am running robot framework gui scripts on Jenkins windows slave node. if i want to see the execution of browser opening as part of running the job, wat needs to be done. currently all executions are ...
0
votes
0
answers
18
views
How to throttle Jenkins node with number of jobs in a specific state?
I want to optimize the load of the server that host Jenkins node:
Allow the jobs that actively using CPU to utilize the server up to its declared capacity (e.g. run as many as CPU cores the host has) ...
0
votes
0
answers
20
views
Track Status of Multiple Async Jenkins Jobs in Flask via HTTP/ Rest Call?
I have a Python Flask application that triggers X (e.g., X=100) asynchronous calls to start Jenkins jobs simultaneously using an API. Once all the jobs have been completed, I need to trigger another ...
0
votes
1
answer
38
views
What does "Waiting in build queue (s)" represent in Jenkins Monitoring plugin graph
On a Jenkins instance with the "Monitoring" plugin installed, there is a graph with the following title: Waiting in build queue (s) on the page at https://YOURJENKINS/monitoring/nodes.
What ...
0
votes
1
answer
34
views
Run Job Against Different Environment On Jenkins Manually
On Jenkins I want to run my test suite against different environment manually like (stage, QA, prod). How to achieve the same? Also I Want to map environment with special group of test cases. Like To ...
1
vote
1
answer
62
views
Active Choices Parameter usage with Active Choices Reactive Parameter
i am trying to have one active choice parameter that called pg1 as shown below with checkboxes value
and the second Active Choices Reactive Parameter depend on it so whatever i chose in the first ...
-1
votes
1
answer
267
views
In a Jenkins pipeline, how can I disable concurrent builds in one situation, but not others?
I set my Jenkins job pipeline properties() this way
properties([
[$class: "jenkins.model.BuildDiscarderProperty", strategy: [$class: "LogRotator", numToKeepStr: "50", ...
0
votes
1
answer
215
views
Active Choice Parameter changes to String Parameter when job fails
I created a parameterized Jenkins Job which has two active choiced parameters, the second one is reactive (depends on the first one). Each parameter uses a groovy script to generate their values of ...
0
votes
0
answers
137
views
git rev-list working locally but failing in pipeline
I have a stage in my pipeline like below:
stage("Pre Flight Checks") {
steps {
echo 'using the message count externally'
script {
...