Questions tagged [jenkins]

Jenkins is an extendable open source continuous integration server

It is built in Java and has many plugins to support,build and test projects.

More info on the official website.

654 questions
0
votes
2 answers

No such file or directory when trying to create .ssh keys

When I attempt to create ssh keys on my Debian instance : ssh-keygen -f /home/serverkeys/.ssh/id_rsa I am getting the error : Saving key "/home/serverkeys/.ssh/id_rsa" failed: No such file or directory I am using root user and when I check…
Golide
  • 123
  • 1
  • 2
  • 10
0
votes
0 answers

How to create a SSH connection between Ansible and Jenkins containers

I'm new to Jenkins. My goal is to create a Jenkins job\pipeline that will activate a group of ansible's playbook files - which will create a long installation of my tested product. I build 2 containers in Docker desktop (Windows): Ansible and…
Hiddai
  • 87
  • 1
  • 3
  • 14
0
votes
1 answer

Set scoped environment variables for Jenkins pipeline from Jenkins, not from the Jenkinsfile

Is there some way intended to store non-sensitive data in Jenkins scoped to a build configuration so it can be read from a pipeline script? We're migrating to a new Octopus Deploy server, and our Jenkinsfile looks like this: pipeline { environment…
Stephen Jennings
  • 1,393
  • 3
  • 23
  • 30
0
votes
1 answer

Jenkins Linux Master + Windows Build agent?

Will a Jenkins Linux master work with a Windows build agent? Does anyone know if this set up can be achieved and is supported? Just looking for a proof of concept and that this can work so I can proceed with getting this set up. Thanks.
synth45
  • 11
  • 1
  • 2
0
votes
0 answers

Jenkins pipeline to call SonarQube code coverage for node.js project

I am trying to do code coverage for node js project via Jenkins, I’ve one doubt that where to add the “sonar-project.properties” file, it in root repository that means in sonar-scanner installed repository or in the jenkins path i.e.…
0
votes
0 answers

Restarting jenkins (via systemctl): Job for jenkins.service failed because the control process exited with error code

I checked the status of the jenkins service and tried to restart it, but it did not start, so I looked at journalctl -xe. What is the problem and how to solve it? [ec2-user@ip-x-x-x-x ~]$ systemctl status jenkins.service ● jenkins.service - LSB:…
alex
  • 1
  • 2
  • 3
0
votes
1 answer

Jenkins SSH Connection EC2 Instance

In CICD Configuration, I'm Using Jenkins as CI Server, Deployment should happen on EC2 Amazon Linux.. I tried adding my SSH configs in Jenkins, I'm getting SSH connection failed..! The problem here is My EC2 Instance SSH authentication requires…
Manikandan Ram
  • 399
  • 2
  • 15
0
votes
1 answer

Fix Java warning on Jenkins startup with default Debian package install

I've installed Jenkins on a Debian system using the instructions here: https://www.jenkins.io/doc/book/installing/linux/#debianubuntu It works fine, but gives a warning in the log on every startup: "Java is not in the PATH nor configured with the…
Michael Firth
  • 131
  • 1
  • 8
0
votes
1 answer

Jenkins github settings without having to provide full repo URL

Going through a tutorial and found that the author has a different view of github and he doesn't have to provide the full URL of the github repo. I see a different layout compared to above and need to provide the full github repo URL. Trying to…
user630702
  • 495
  • 10
  • 32
0
votes
0 answers

Jenkins not detecting java on ubuntu, how to fix that?

Downloaded adopt openjdk version 8 and extracted on the machine. Set the path variable and JAVA_HOME in /etc/environment and /etc/bash.rc…
uday
  • 352
  • 10
  • 30
0
votes
1 answer

Jenkins vs shell scripts

why would Jenkins get a different result from shell scripts(redhat 7) alone? I have shell scripts that run fine if I execute them from a terminal, however when I run the scripts from Jenkins they get different results Jenkins 2.263.4
0
votes
1 answer

How to get user details from other jenkins server?

We have a jenkins server hosted locally which contains build jobs both development and other environments. It contains many other deployment jobs also. So, we created one more jenkins server and moved some jobs there(Not complete clone). Is there…
uday
  • 352
  • 10
  • 30
0
votes
0 answers

How to fix error while connecting to jenkins windows slaves

While connecting windows node to jenkins, I am getting below error. So, I tried running with jar file instead of jnlp but got below error. -- SEVERE: [JNLP4-connect connection to…
uday
  • 352
  • 10
  • 30
0
votes
1 answer

How to configure Jenkins to see Reports correctly?

How to configure Jenkins to see Reports correctly? Now these reports looks like this: Something is wrong with the Maven Site and other reports on Jenkins
0
votes
0 answers

Sonatype Nexus doesn't update single git submodule

I have this setup: -a git repository called MyRepo. This repo has 5 submodules (A,B,C,D,E) -a Jenkins instance that auto-builds MyRepo. On post-build steps there's a simple script that executes: #!/bin/bash branch=$1 docker build -t…
glass
  • 1
  • 1