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
1 answer

Jenkins jobs get killed randomly once a day at a fixed time

I've got a Jenkins server with 140 clients that execute compilation and test jobs. Since some days, up to roughly a quarter of the jobs got killed at 21:38 +0200 with SIGTERM. Each day at the same time. Each day, a different set of hosts is…
hagello
  • 101
  • 1
  • 4
0
votes
2 answers

Jenkins container on Linux with powershell

I am running docker on a Debian 9 machine, and a Jenkins container in it. I installed the PowerShell plugin in Jenkins and I am trying to run a PowerShell script, but I get a message saying that it can't find Powershell.exe (duh!) I don't want to…
aristosv
  • 147
  • 4
  • 14
0
votes
1 answer

Jenkins: How to resolve resolve plugin errors?

I have a server on which Jenkins(2.12) is installed. There are no plugins are installed(actually I uninstalled every plugin from the plugin manager), though I get the error messages complaining about something related to the plugin dependency. How…
d-_-b
  • 153
  • 1
  • 7
0
votes
1 answer

Migrating Jenkins jobs from one server to another

Copied Jenkins "jobs" directory from one A (VB) to server B (AWS). The jobs directory shows up in the server B with all the files in it. But those jobs doesn't populate in Jenkins UI. Please help. Thank you!
0
votes
1 answer

Invoke ansible playbook in jenkins from different server

I have two different servers. One is centos where my jenkins is located. Other one is Ubuntu. It's easy to invoke a playbook from centos in jenkins as the playbook and the jenkins are in same server. But I have one playbook which is Ubuntu server.…
0
votes
0 answers

Export cucumber test from Jira with Jenkins

I have configured a webhook in Jira. Always when someone create/update a Xray-test-issue, the webhook get activated. Jira sends the key from the Issue to the Jenkins URL. The Jenkins job is parameterized(ISSUE). Then I'm using the Xray for JIRA…
0
votes
1 answer

Restart all Jenkins Nodes

I manage a Jenkins server (running 2.89.4) with about 40 nodes or so attached, each running either Centos7, OSX, or Windows (7, 8, 10). Recently, we suffered some power outages and many slaves lost their connection to the master. This required a lot…
user3270760
  • 163
  • 2
  • 2
  • 8
0
votes
1 answer

How to restrict configuration permissions for templates in Jenkins?

I'm setting up a Jenkins-Server for building Unity-Projects so the required build-jobs are basically allways the same except some parameters like the Unity-Version. To make it easier to configure new build jobs, I created a job called "TEMPLATE_JOB"…
derHugo
  • 143
  • 1
  • 1
  • 7
0
votes
1 answer

How to pass urlencoded string to jenkins api using ansible?

I have to pass value to jenkins api. But jenkins api accept value in urlencode. I tried to use filter urlencode in ansible, but it gives error. - name: Add credential to add node uri: body: | json={ "": "0", …
Nilesh
  • 255
  • 1
  • 6
  • 18
0
votes
1 answer

ansible uri replace + sign with space in body or jenkins api replace it, who has issue?

I am using jenkins api to create credential by ansible. - name: Add credential to add node uri: body: | json={ "": "0", "credentials": { "scope": "GLOBAL", "id":…
Nilesh
  • 255
  • 1
  • 6
  • 18
0
votes
0 answers

Publish Over SSH not respecting Remote Directory on Windows Server

As part of a Jenkins build process, I'd like to run a powershell script on the target machine. The target and source machines are both running Windows Server 2016. I have a SSH configuration set up to the target machine. I'm using the Publish Over…
0
votes
2 answers

Ansible slurp as private key in jenkins credential api error for json parsing?

I have jenkins setup, now I want to add node to jenkins, I am following the steps in How-to-Connect-to-Remote-SSH-Slaves. There is step to create credential with slave node private key. I try to create that using jenkins api by ansible. Tasks in…
Nilesh
  • 255
  • 1
  • 6
  • 18
0
votes
1 answer

Jenkins - How can I lock template Job configurations for normal users but provide them to be copied?

I setting up a Jenkins-Server for our Company. To make things easy for our developers, I created 2 template Jobs with the usual required configurations. So when users creat new jobs they can use Copy from to copy the configuration of the templates…
derHugo
  • 143
  • 1
  • 1
  • 7
0
votes
2 answers

Scanning internal network in search of Jenkins instances

I have issues with find all Jenkins instances in environment: I've tride to use nmap with http-title script to find all that answer with Dashboard[Jenkins] but some of them had more redirections than 4, eyewitness is not effective (65k hosts will…
Schredis
0
votes
2 answers

Jenkins cannot clone repo from gerrit over http

I'm getting an error while trying to clone repo from gerrit with my jenkins user. I have a jenkins user in gerrit with set ssh key and http password. I can login with password to gerrit UI but when I try to clone repo over http I'm getting fatal:…
kebie
  • 141
  • 1
  • 1
  • 7