Questions tagged [jenkins]

Jenkins, the Continuous Integration Tool

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

Point in time restoration of RDS with Terraform

I have a Terraform codebase executed by a Jenkins pipeline that deploys an RDS (aurora/postgres) cluster with automated backups enabled alongside the other components (ex. ec2 instances). The input ...
user avatar
0 votes
1 answer
13 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 ...
user avatar
  • 103
0 votes
0 answers
24 views

RE: host pip server on cloud

we are moving from on premises to a cloud. we currently host some of our custom build python packages on on premises pip server. but as we move to cloud we would like to have these custom pip packages ...
user avatar
0 votes
1 answer
16 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.
user avatar
0 votes
0 answers
7 views

How to keep or set jenkins shell environment?

And : To pervent XY Problem, As final result: I want use remote docker-server (build and push images) in jenkins pipeline (jenkins with k8s). X Problem And this is my pipeline file: pipeline { ...
user avatar
  • 101
0 votes
0 answers
31 views

Automatically Restart Jenkins JLNP after disconnect (MacOS)

I have a Jenkins agent JNLP that runs on MacOS (OSX) and connects to our Jenkins Controller. The machine that the JNLP runs on needs to connect to the Jenkins Controller via VPN. Occasionally this VPN ...
user avatar
  • 103
0 votes
0 answers
18 views

How to give access to public folder and list the contents in jenkins web server

We have a web server machine 2012 R2 and jenkins is running on this system at https://localhost:9696/ . The same can be accessed by some other machines on the same network via url, something like- ...
user avatar
  • 11
0 votes
0 answers
202 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 ...
user avatar
0 votes
0 answers
69 views

how to set up Jenkins run every 2 hours for 72 hours non stop?

Please help to schedule Jenkins to run every 2 hours for the next 72 hours non stop. I i understand correctly 0 */2 * * * - should run every hours?? if yes how can i make it last for 72 hours? Also ...
user avatar
  • 1
1 vote
0 answers
274 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 ...
user avatar
  • 11
0 votes
0 answers
245 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 ...
user avatar
0 votes
0 answers
132 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 ...
user avatar
0 votes
0 answers
24 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 ...
user avatar
  • 1,476
0 votes
1 answer
52 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 ...
user avatar
  • 236
0 votes
1 answer
12 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 ...
user avatar
0 votes
1 answer
47 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 ...
user avatar
0 votes
0 answers
117 views

Setting up Jenkins to build Azure DevOps pull request

I'm trying to set up my Jenkins instance so that it can fetch pull requests from Azure DevOps repository. I have created multibranch pipeline, set my repo URL in the Branch Sources settings, and added ...
user avatar
1 vote
0 answers
130 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 ...
user avatar
0 votes
0 answers
50 views

Pass argument to script for sudo and su in script

I need to provide for my devs the possibility to run 'php artisan' with different arguments and all of it should be done by Jenkins job. We have a jenkins agent (running with 'jenkins' user) on our ...
user avatar
-2 votes
1 answer
56 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 ...
user avatar
1 vote
1 answer
29 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 ...
user avatar
  • 306
0 votes
0 answers
13 views

Jenkins build: changed file link broken for BitBucket server

Update: there's a bug report for this, see: JENKINS-33989 I'm using BitBucket Server Integration for Jenkins I have a multi-branch pipeline that uses the BitBucket plugin to pull code changes from our ...
user avatar
0 votes
0 answers
102 views

Jenkins CLI through SSH with java -jar: What is the configuration to execute the command many times but with the passphrase wrote once?

Having the following: Jenkins (version: 2.303) Ubuntu Desktop (server side) About to use Jenkins CLI from the client side through SSH, in the server side is installed following the plugin: SSH - it ...
user avatar
0 votes
0 answers
20 views

In Windows, key based authentication with OpenSSH denies access to SVN server over https, but with password it works. What is the reason?

I have a Windows machine where OpenSSH server is installed. The behaviour with and without SSH password is different. A. With SSH user and password: Login with ssh user@server, enter the password and ...
user avatar
  • 125
0 votes
2 answers
3k 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\...
user avatar
0 votes
1 answer
78 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 ...
user avatar
  • 249
0 votes
0 answers
148 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 ...
user avatar
  • 167
1 vote
1 answer
328 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 ...
user avatar
  • 30
1 vote
0 answers
348 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: ...
user avatar
  • 237
3 votes
1 answer
1k 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 ...
user avatar
  • 237
1 vote
1 answer
378 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 ...
user avatar
  • 237
2 votes
1 answer
100 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 ...
user avatar
  • 131
2 votes
1 answer
210 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 ...
user avatar
0 votes
1 answer
453 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 "...
user avatar
  • 113
0 votes
1 answer
3k 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 ...
user avatar
-1 votes
1 answer
193 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 ...
user avatar
0 votes
2 answers
185 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 ...
user avatar
  • 30
0 votes
1 answer
37 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 ...
user avatar
  • 30
0 votes
1 answer
303 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 ...
user avatar
0 votes
1 answer
371 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 ...
user avatar
  • 3
0 votes
1 answer
66 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 ...
user avatar
0 votes
1 answer
196 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&...
user avatar
2 votes
1 answer
435 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 ...
user avatar
  • 217
0 votes
0 answers
80 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 ...
user avatar
0 votes
1 answer
174 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 ...
user avatar
0 votes
2 answers
334 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'...
user avatar
  • 224
0 votes
1 answer
475 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 ...
user avatar
  • 101
0 votes
1 answer
626 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 ...
user avatar
0 votes
1 answer
103 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:\...
user avatar
  • 125
1 vote
0 answers
48 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 ...
user avatar

1
2 3 4 5 6