Questions tagged [jenkins]

Jenkins, the Continuous Integration Tool

Jenkins (a fork of Hudson) is a Continuous Integration (CI) tool to automate builds, testing, and other tasks.

294 questions
64
votes
7 answers

How do I delete the builds 11 to 1717 in Jenkins?

Due to a misconfiguration, I have over 1700 failed builds in a Jenkins job. How can I efficiently clean them?
30
votes
4 answers

Clear Jenkins build history ( clear build yesterday )

I need to clear and clean Jenkins build history: Yesterday - 2 days ago - All builds. How can I do it in Jenkins?
27
votes
5 answers

Is there a way to insert a manual approval in Jenkins 2 pipelines?

Jenkins 2 has pipelines has a first class citizen. However, in the examples the tasks seem to be executed as a single sequence: node { // Mark the code checkout 'stage'.... stage 'Checkout' // Get some code from a GitHub repository git…
22
votes
5 answers

Need to schedule a job every hour in jenkins

I'm New to Jenkins. I have a job which i need to schedule every 1 hour. I am using * */1 * * * but it is not working effectively. Please provide any other solution.
Ajay
  • 331
9
votes
1 answer

Disable manual build trigger for jenkins job

Is it possible to disable manual build trigger to be configured per job? I explicitly do not want to disable a job, obviously, as it should be triggered by other build triggers (SCM Polling, Schedule, upstream job).
ITL
  • 249
4
votes
1 answer

how to stop jenkins from wiping out workspace when started new build?

Is there any plugin which provide this facility I have tried following options 1.Tried exploring jenkins default options 2.I am using cvs scm
3
votes
1 answer

Which Jenkins special URLs are there?

Jenkins has a number of special URLs... the ones for controlling jobs are lightly documented, but while many of the "special ones" appear in various articles, I have never seen them documented in one place. The ones I know of…
3
votes
2 answers

How to make Jenkins send email if build is broken for a long time

I need to make Jenkins send an email if a build is broken and unclaimed after, say, two hours. Is there a setting/plugin available that will do this?
3
votes
0 answers

Recreating scriptApproval.xml hashcodes

I'm attempting to recreate a scriptApproval.xml from scratch, to recreate a Jenkins instance from code. However, I have not been able to figure out how to create the hashes in the file: 017[...]
3
votes
1 answer

Debugging what happens when a Jenkins build unexpectedly pauses or hangs

It turns out my question were way too specific to be useful for anyone in the future. Therefore the question is rephrased as: Debugging what happens when a Jenkins build unexpectedly pauses or hangs. An answer will also be added. The original…
fsteff
  • 169
3
votes
0 answers

How is the API token encoded in the Jenkins configuration files?

I am using a test Jenkins 1.644 setup where I created a user called admin. The web interface says the user API token is aa13769c03d0ef0618380ae6940b5e3a. The user configuration file users/admin/config.xml contains the…
marcv81
  • 381
2
votes
1 answer

Jenkins testlink plugin how to fetch remote JUnit report

I have Jenkins setup in machine A and Testlink in machine B. Jenkins is connected to Testlink via Testlink Plugin. I scheduled a job via Jenkins that runs a python script via on machine B (via SSH) and the script generates JUnit report XML file. Now…
2
votes
1 answer

Jenkins - shared library and class loading

We are using the shared library Jenkins plugin for our Jenkins code, namely workflow-cps-global-lib. We implemented workflows successfully on different project types with groovy code in one single shared library. Today we are encountering an…
Mike C
  • 21
2
votes
1 answer

Jenkins private Credentials for Bitbucket

I have a little problem. I currently have the Microsoft AD plugin on my Jenkins with which all users can log in. Additionally, I installed the plugin RoleBasedStrategy to set permissions for the users. Now I've come across the following problem: I…
M. Max
1
vote
0 answers

How to add an URL of jenkins results into testlink as execution result

If I add results manually in testlink I have custom fields to add the start, stop times, url and the hostname as additional information in testlink. The fields/results are then visible afterwards. If I'm using Jenkins to run automatic test cases…
1
2 3 4