Questions tagged [jenkins]
Jenkins is an open source continuous integration tool written in Java, that has packages for Linux, Mac OS X, Windows, FreeBSD and OpenBSD. The project was forked from Hudson.
jenkins
50,890
questions
0
votes
0
answers
5
views
does vault agent generate approle secret id after it expire?
I inject the role ID and secret ID of Hashicorp vault using Jenkins during the build stage of my app docker image.
Then, the vault agent read the role ID and secret ID connect to vault and deliver ...
0
votes
1
answer
17
views
sh 'npm install' cmd not working in jenkins pipeline. Note: jenkins is installed inside windows
I am writing a simple jenkins files to test, build and deploy angular application.
but my jenkins pipeline is failing at sh 'npm install'
Here is my jenkins pipeline script
pipeline {
agent any
...
0
votes
0
answers
16
views
Use credentials in jenkins properties
I am trying to create a custom list with every branch/tag from a specific SVN repository in jenkins. I am using a groovy script in order to create the required list as the List Subversion tags (and ...
0
votes
0
answers
9
views
Jenkins UI: User Builds Are Often Mixed Up with Other Users' Builds
The following page in Jenkins is supposed to list the builds started by a specefic user:
https://<jenkins.domain>/user/<username>/builds
However, this page often includes builds triggered ...
-1
votes
1
answer
26
views
'mvn' is not recognized as an internal or external command
I have created a job in Jenkins tool. I am getting error like this
Started by user CodeBind
Running as SYSTEM
Building in workspace C:\Users\user_\OneDrive\Desktop\access-mgmt
[access-mgmt] $ cmd.exe /...
0
votes
0
answers
13
views
Jenkins doesn't receive correct code from sh script out of podman container
I have a Jenkins pipeline where I run tests in a container and the tests are triggered by .sh script.
There is an intermittent problem when script returns exit code 1, but some how Jenkins stage ...
0
votes
0
answers
11
views
Build status is not published to GitLab server
I have a self-hosted environment that include:
Jenkins version 2.440.2 running on Linux 5.10.0-30-amd64
GitLab-CE version 17.1.1 running on Linux 6.6.32-current-rockchip
Until recent GitLab-CE ...
0
votes
1
answer
16
views
How do I use the Jenkins workspace cleanup plugin?
I installed the https://wiki.jenkins-ci.org/display/JENKINS/Workspace+Cleanup+Plugin 0.46
I added to my jenkins pipeline:
post {
// Clean after build
always {
cleanWs(cleanWhenNotBuilt:...
0
votes
1
answer
24
views
ssh permission denied while running jenkins
+ ssh -i /home/ubuntu/myphpApp/key.pem [email protected] /bin/bash
Warning: Identity file /home/ubuntu/myphpApp/key.pem not accessible: Permission denied.
[email protected]: Permission denied (...
0
votes
0
answers
10
views
How to perform in-place update of CredentialsParameter in jenkins pipeline groovy
Here's a simple stage wherein I'm looping through all jobs and checking if they have a CredentialParameterDefinition
If yes, looping again within each job against all CredentialParameters and trying ...
0
votes
0
answers
9
views
Jenkins Coverage Plugin isn't publishing to GitHub
I have a .net test which generates a coverage report for my project, and it publishes the coverage report with Jenkins using the Coverage plugin (https://plugins.jenkins.io/coverage/).
However this ...
-1
votes
0
answers
12
views
java.lang.NullPointerException error at jenkins 2.319
Suddenly there's a phenomenon in Jenkins that doesn't build and the log message is as follows. It seems to be a plug-in issue, so please check it
jenkins version : 2.319
This is what's shown in the lo
...
0
votes
2
answers
29
views
Start a process in Jenkins without waiting for its end
I'm able to start a process in my Jenkins pipeline easily, but I'm struggling to avoid being blocked by the process.
Currently, Jenkins is waiting for its end before going on to the next step, but I ...
0
votes
0
answers
12
views
Tomcat is shutting down if my Jenkins job takes too long
I run Jenkins as a webapps inside a Tomcat on a Ubuntu machine.
In case one Jenkins build task takes longer than one hour the Tomcat is shutting down (without any user action).
If I exclude some work ...
0
votes
0
answers
15
views
Jasypt Decryption Failure During Jenkins Pipeline Deployment
pipeline {
agent any
tools {
gradle 'Gradle'
}
environment {
JASYPT_PASSWORD = credentials('jasypt-password-id')
SERVER_IP = '***.***.***.***'
...