Questions tagged [jenkins]

Jenkins, the Continuous Integration Tool

Filter by
Sorted by
Tagged with
4 votes
0 answers
449 views

GPG Error on APT-GET docker container (Ubuntu 22.04)

I am trying to just apt-get update on a ubuntu:22.04 docker container. On my local machine, when I spin up a new ubuntu:22.04 docker container and run apt-get update, no error occurs. However, on my ...
Jason Chan's user avatar
0 votes
0 answers
62 views

starting Jenkins with runas

I am trying to start Jenkins service but via CMD. This service requires specific credentials, because I set up Jenkins to run only with specific account, not as local system account. When I type: ...
Maciej Dałek's user avatar
1 vote
0 answers
2k views

ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [125]]

Our jenkins deploy process checks out our git repo into the workspace and create the docker container from the docker file. Docker file is given in the ec2 machine. and commands to create docker ...
user1757996's user avatar
0 votes
2 answers
898 views

Jenkins build not reading or recognizing all of the environment variables with a Jenkins build in macOS

I have an issue reading or recognizing all of the environment variables with a Jenkins build. All of those necessary variables have been set via Terminal and are properly written in both .bashrc and ....
Mishovski's user avatar
1 vote
0 answers
118 views

OpenSSH sshd.exe does not start with KexAlgorithms parameter

Running OpenSSH Server 8.1p on Windows Server 2016 DC When I add the parameter "KexAlgorithms" in the sshd_config, the service fails to start. I want to add legacy support for key methods ...
Daryl's user avatar
  • 11
-1 votes
1 answer
749 views

Error 1064: An exception occurred in the service when handling the control request. Jenkins agent

I tried to follow the instructions from YouTube video: https://www.youtube.com/watch?v=N8AQTlHoBKc on how to install Jenkins Agent on Windows as a service. Unfortunately, the service didn’t start. How ...
Andrei Suslov's user avatar
0 votes
0 answers
90 views

Android plugin Jenkins. Error: "emulator" package must be installed! Jenkins docker

I have a problem with compiling a project. While trying to compile i got error: Error: "emulator" package must be installed! image error Im using jenkins via docker image for simple ...
Rafał Grzegorz Gabriel's user avatar
0 votes
1 answer
356 views

Jenkins agent "invalid X-Instance-Identity" after SSL Certificate implementation

I have a Jenkins 2.371 instance. In order to be secure, I have requested SSL certificates and implemented it. Jenkins UI is now running fine use https://servername.domain.com/ The problem comes with ...
Gerhard's user avatar
  • 140
0 votes
0 answers
106 views

Login from Linux (CentOS) to Windows Server (2012R2) OpenSSH with non root user and public key

We have a jenkins pipelines on agent which is Linux. Pipelines running on jenkis-ci user which is non root. We have some applications in IIS Servers, so we want by SSH send files from jenkins pipeline ...
KJanek's user avatar
  • 1
0 votes
1 answer
3k views

How to use git pull with Jenkins sh steps?

git pull doesn't work with Jenkins for some reason. I've updated some files on my local PC and pushed it to my Github. I can see the changes there. Then I run Jenkins build that has sh commands to ...
J. Doe's user avatar
  • 7
0 votes
1 answer
296 views

jenkins replay button, search in pipeline code

I'm using the Replay button in Jenkins to tweak changes to pipeline scripts without committing them. When I use the browser's search function to locate a string that exists in the code, most of the ...
Francis's user avatar
  • 185
0 votes
1 answer
750 views

I need to schedule a job in jenkins that runs every 15th working day. Is it possible to do so?

00 15 * * 1-5 will run the job for every day. But I need to run it only on 15th working day.
Apoorva's user avatar
1 vote
0 answers
892 views

Jenkins + Docker: Error response from daemon: Container not running

I am currently trying out my first Jenkins project. Which is supposed to be a simple create and publish a Docker Image if there's a commit on Github. I'm using an EC2 instance which has Jenkins and ...
Momo979's user avatar
  • 11
1 vote
1 answer
989 views

Jenkins: Unable to access jarfile remoting.jar

I am have a Jenkins setup, where Controller (linux) is connected to slave (windows) via ssh using username/password authentication. I am whenever I try to launch the agent I get Error: Unable to ...
Kiwi's user avatar
  • 11
0 votes
0 answers
3k views

How to get all Jenkins job details for last 7 days and send that data over mail

I am new on Jenkins and I wants powershell script to get the details of all jobs of Jenkins for last 15 days. I will send that details of Jenkin's jobs over mail to my Manager. I will be very thankful ...
Catherine's user avatar
0 votes
0 answers
258 views

Powershell script to get and send all Jenkins job's details for last 15 days as attachment

I am new on Jenkins and I wants powershell script to get the details of all jobs of Jenkins for last 15 days. I will send that details of Jenkin's jobs over mail to my Manager. I have tried below ...
Catherine's user avatar
0 votes
0 answers
38 views

Jenkins: Scan repositories after start-up?

Suppose you push changes to a branch while Jenkins is down. When it starts back up I expect it to scan all repositories for changes and queue the builds it missed. But I'm not sure if there is an ...
Josh M.'s user avatar
  • 1,478
0 votes
1 answer
319 views

How to switch from LTS to Weekly release for Jenkins in Windows?

Currently have a Jenkins stable/LTS instance running on Windows Server 2008 R2 which I would like to switch to weekly release. Is there anyway I could edit some config files to have it switch from LTS ...
zhuanyi's user avatar
  • 246
0 votes
1 answer
18 views

How to create a hansdshake for Jenkins when assumeing an IAM role?

I have a desired workflow that looks something like this. Terraform stored in Bitbucket. Push triggers, Jenkins job. (Bur default IAM Role for Jenkins agents can't do some things. Like write IAM ...
Josh Beauregard's user avatar
1 vote
1 answer
343 views

Can a Jenkins install use different paths for binaries and jobs, artifacts?

I'm installing Jenkins (on Windows) and would like the installation itself -- jenkins.war, jenkins.exe, plugins, to be on the system drive (C:), but the jobs and artifacts -- on D: The documentation ...
Mikhail T.'s user avatar
1 vote
0 answers
409 views

Orientation to know the scenarios to choice the best "Host Key Verification Strategy" option [closed]

About SSH for a remote and secured connection the approach is create in the client a pair of keys, public and private, do a copy of the public key content in the server within the .ssh/authorized_keys ...
Manuel Jordan's user avatar
-2 votes
1 answer
227 views

Jenkins is not opening in browser only in my laptop? [closed]

From two days I am facing this problem. Till 2 days before Jenkins.... worked without any error in my laptop. My Jenkins server is in AWS EC2 (Amazon Linux). All my deployments are also there in ...
Mani Gopal's user avatar
1 vote
1 answer
119 views

How to add home folder to user without one

I have a lxc container. I connect to it with sudo lxc-attach 100 which works fine. but I want to use it as a deployment target for jenkins (I know that I could use docker, but I haven't gotten that ...
JoSSte's user avatar
  • 372
0 votes
2 answers
6k views

Can't open C:\Windows\System32\config folder from File Explorer

I just installed Jenkins 2.289.1 on Windows 10 Home. After Jenkins has started on browser, I have to go into C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\secrets\...
Wuagliono's user avatar
0 votes
1 answer
128 views

Is it possible to install Jenkins on Windows 10 Home?

I managed to overcome the error message as was described in this question https://stackoverflow.com/q/66230916/2875641 but yet, the Jenkins service cannot start. Us it possible to start it on Win 10 ...
dushkin's user avatar
  • 269
0 votes
0 answers
743 views

How do I create a service account Jenkins

When installing Jenkins - Windows10 not domain joined - I get to a service configuration step, where in the past I would have either used my own interactive logon account to run the service under, or ...
Conrad B's user avatar
  • 177
1 vote
1 answer
500 views

"This operation requires an interactive window station" error when launching GUI via jenkins on aws windows instance

I have a windows ec2 instance which runs a build server for a unity game, controlled by jenkins. When running unity with the -batchMode command, I can make the game build successfully. I'd like to run ...
tenpn's user avatar
  • 30
1 vote
0 answers
532 views

Jenkins Cucumber reports plugin error

I have working Jenkins 2.277 on Ubuntu 20.04. Then I have Cucumber reports plugin 5.5 installed. Configuration looks like on the picture. As I run the test I am getting an error in the console log: ...
Čamo's user avatar
  • 329
5 votes
1 answer
4k views

Jenkins config file for Global Security - Security Realm - Jenkins’ own user database

I need to find out where Jenkins stores its configuration data. Especially Global Security - Security Realm I tried to search var/lib/jenkins folder but without any success. Is there config file with ...
Čamo's user avatar
  • 329
1 vote
1 answer
976 views

Jenkins how to set httpListenAddress

I need to hide Jenkins behind the Apache proxy because Jenkins does not run on https. So I started with this article where is warning Make sure that you change the Jenkins httpListenAddress from its ...
Čamo's user avatar
  • 329
2 votes
1 answer
285 views

Jenkins SSH Host/User Certificates workflow

How to setup SSH key signing process every time some Ansible stage runs? Or at some interval at least. I have pipeline which creates VM's with the Terraform and then runs Ansible. At cloud-init stage ...
Dzintars's user avatar
  • 131
3 votes
1 answer
435 views

Jenkinsfile pipeline for running vagrant up

I am encountering a strange issue, when i run vagrant up, the virtual machine builds up fine and works as intended, but when I run the same command in a Jenkinsfile pipeline, after the build is ...
Cornel Bortici's user avatar
0 votes
1 answer
978 views

GPG error The following signatures couldn't be verified because the public key is not available

I'm following this guide for the installation of Docker inside a Jenkins container This is the Dockerfile of the Jenkins container: FROM jenkins:1.596 USER root RUN apt-get update RUN echo "...
splunk's user avatar
  • 123
0 votes
1 answer
4k views

How to solve Error: docker: Error response from daemon: the working directory is invalid

I am just starting to use Jenkins and Docker in Windows10. Currently I have installed both Jenkins and Docker and created a Dockerfile and a Jenkinsfile Unfortunately whenever I try to build in ...
Owen Kelvin's user avatar
-1 votes
1 answer
776 views

error in running ansible-playbook with jenkins

--i have a ansible playbook in ubuntu user and i am able to push this playbook in the remote user -- now i have install jenkins in this ubuntu(EC2 instance) server , and i have given jenkins all ...
Aditya Singh's user avatar
0 votes
2 answers
365 views

How to let jenkins manage availability of windows ec2 node?

I have a jenkins ubuntu server and several windows nodes running on ec2. I'd like for the server to turn the windows boxes on and off as they're needed. I think that means using the "launch ...
tenpn's user avatar
  • 30
0 votes
1 answer
83 views

How to figure out jenkins pipeline command from plugin source?

The unity3d jenkins plugin https://plugins.jenkins.io/unity3d-plugin/#documentation is quite old. It hasn't been updated since 2015! I'd like to use it in a pipeline script, but the documentation ...
tenpn's user avatar
  • 30
0 votes
1 answer
583 views

Jenkins stops responding after trying to run a job

I'm currently trying to repair a Jenkins installation, something I've never done before, and am having trouble. I've gotten to the point where I can view all of the jobs and run a build. However, most ...
Greg Martin's user avatar
0 votes
1 answer
807 views

How to list file entries based on first dropdown in Jenkins

I would like to make two dropdowns in Jenkins where I can choose files at the first dropdown from a directory and the second dropdown should change based on the first dropdown (where the file has been ...
O.K.'s user avatar
  • 3
0 votes
1 answer
256 views

Jenkins Schedule build

Getting little confusing with the Jenkins build scheduling. I want to schedule a build that will run at first day of the month, every 6 months. As for now i have this H H 1 * * But I'm not sure it's ...
hightest's user avatar
  • 101
0 votes
1 answer
370 views

Can't SSH to server using Private Key [duplicate]

I am trying to login to my server using SSH using private key file. I am using below command to SSH ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="/root/.ssh/id_rsa&...
heartofrevel's user avatar
3 votes
1 answer
795 views

Jenkins pipeline calls git.exe on non-windows node

I have a master set up on Windows machine. I have a few nodes on Jenkins, one of which has 2 labels: "system project". This node is actually a plain Solaris 11.3 machine. Other nodes are plain ...
a_girl's user avatar
  • 287
0 votes
0 answers
184 views

jenkins hosts unreachable - build failing

In my jenkins - build fails in every few days and it shows the below error/message -- (this job is running on my jenkins slave machine) Build o/p - ok=52 changed=5 unreachable=1 failed=0 ...
GAURAV SHARMA's user avatar
0 votes
1 answer
339 views

Tunneling to Windows VM hosted on Linux from Jenkins Docker container

I am running a Linux Fedora workstation (Fedora 31) hosting a Windows 10 VM and a Jenkins server in docker (on Linux). I Need the Jenkins server (Linux) to connect to the Jenkins agent on the Windows ...
Charles's user avatar
0 votes
2 answers
740 views

Jenkins can't find "Git plugin"

In Plugin Manager, under the Available tab, "Git plugin" is not available. I'm running the Jenkins war with Tomcat. Can I paste a log, a config or something? This problem was detailed elsewhere, can'...
chrips's user avatar
  • 244
0 votes
1 answer
1k views

Delete all previously failed Jenkin builds

I have a quite large multibranch Jenkins installation. I would like to automatically remove all previously failed builds on a branch if the current build passes. But I can only find the previous build ...
Exostor's user avatar
  • 101
0 votes
1 answer
775 views

Remotely run Windows 10 command line from Windows Server 2016

I have Jenkins running a batch file on a Windows Server 2016 PC. The batch file that Jenkins runs needs to execute a program, via command line, on a Windows 7 PC. This is part of an automated ...
Thomas Matthews's user avatar
0 votes
1 answer
119 views

installed jenkins on windows ec2 instance

I have installed JDK 8 and Jenkins on Windows EC2 instance I don't see any errors in the logs, but when I go to http://localhost:8080/ , I am getting a page cannot be displayed error Starting C:\...
Daniel's user avatar
  • 125
1 vote
0 answers
51 views

Jenkins with .net core, angular 8 and postgre

My question is related with automation. In our project we are using BackEnd- .Net Core 2.2 (right now in localhost but will be dockerize) FrontEnd- Angular 8 (right now in localhost but will be ...
Arzu Suleymanov's user avatar
0 votes
0 answers
4k views

How to use groovy env. variable in Jenkins to pass through bat command in Jenkins pipeline

I want to concatenate the variable %dispatcher% = %region%COGAPP%env%:10000based on the Jenkins parameter selection. region is passed correctly but env is not. env has an additional loop so it returns ...
jgt05's user avatar
  • 13

1
2 3 4 5 6