Questions tagged [jenkins]

Jenkins is an open source continuous integration tool written in Java, that has packages for Linux, Mac OS X, Windows, FreeBSD and OpenBSD. The project was forked from Hudson.

The Jenkins project started life as in 2004, but the user and developer community decided to rename the project to Jenkins in early 2011 after asserted trademark claims to the name Hudson (see for questions related to the previous name).

Jenkins lets you automate many tasks, such as compilation, tests and deployments. Jobs can be scheduled using cron-like scheduling, or using triggers, such as whenever a source code repository is updated.

Jenkins is Java-based and recent versions require Java 8 (or later) on the master. The Jenkins master can manage multiple build nodes (slaves). Jobs can be run across multiple machines in order to perform jobs in parallel, distribute load, or build and test cross-platform software. Capacity can be easily added — Jenkins can automatically set up a new build slave on any SSH-accessible machine; it can even launch new machines to run jobs on, e.g. via cloud-computing or virtualisation plugins.

Jenkins supports a long list of plugins in a wide variety of categories to support different source control systems, run specialised build tools, send notifications, provide build reports and analytics, customise build workflows, etc. Many are hosted as open source under the Jenkins organisation on GitHub.

Jenkins is an open-source project with an enhanced enterprise product managed by CloudBees. The open source software is hosted on GitHub and distributed under the MIT license. There is an active development community with public documentation, getting started tutorials and a wiki. A new version is released approximately once a week, with more stable "long-term support" releases roughly every six months.

50386 questions
13
votes
1 answer

How to Automate version number in package.json with Jenkins

Here is my package.json looks like: { "name": "Myproject", "version": "0.4.13", Note:Here 4 is not the minor version.0013 is minor "dependencies": { "lodash": "^4.0.0", "vinyl-fs": "2.2.1" }, "repository": {}, "devDependencies":…
Happy
  • 427
  • 2
  • 4
  • 17
13
votes
2 answers

Jenkins with Xcode 8 - Cannot find Provisioning Profiles

Jenkins cannot find our recently updated provisioning profiles and after trying every known solution I'm running out of ideas what could be wrong. Build jobs fail with error: No profile matching 'xxxxx' found: Xcode couldn't find a profile …
BadmintonCat
  • 9,416
  • 14
  • 78
  • 129
13
votes
1 answer

jenkins pipeline warnings graph

I started to migrate some jobs in jenkins to pipeline execution. Is there any chance to see the warnings graph in multi branch pipeline jobs? Within my older projects I can configure the graphs with "Configure the trend graph" option. These option…
Klaus
  • 24,205
  • 7
  • 58
  • 113
13
votes
2 answers

Build android project with Jenkins:Could not initialize analytics

I am trying to build an android project with Jenkins, but I have error: 23:15:39 Could not initialize analytics, treating as opt-out. 23:15:39 java.io.FileNotFoundException: /var/jenkins_home/.android/analytics.settings (No such file or…
Admiral Land
  • 2,304
  • 7
  • 43
  • 81
13
votes
2 answers

Jenkins: no tool named M3 found

Setting up a Pipeline build in Jenkins (Jenkins 2.7.2), copying the sample script for a git-based build gives: "no tool named M3 found". The relevant line in the Pipeline script is: def mvnHome = tool 'M3'
hack_on
  • 2,532
  • 4
  • 26
  • 30
13
votes
2 answers

How to load another groovy script in the same Jenkins node?

When loading a pipeline script from another pipeline script, the two pipelines don't get executed on the same node : the first one is executed on my master node and the second gets executed on a slave node. I'm using Jenkins pipelines with Pipeline…
Pom12
  • 7,622
  • 5
  • 50
  • 69
13
votes
2 answers

how to concatenate strings in a Jenkinsfile?

I'm trying to concatenate some strings in a Jenkinsfile but it's not working: def versionFromFile = readFile("./version") def version = versionFromFile + env.BUILD_NUMBER I tried other solutions as well: sh "echo version:…
cirpo
  • 902
  • 1
  • 9
  • 11
13
votes
3 answers

roslyn compiler not copied to AspnetCompileMerge folder using msbuild

I have a .NET MVC project that I'm trying to deploy using Jenkins. I had been letting Jenkins run msbuild, then copying the resulting files out using RoboCopy. I wanted to switch to just use a publish profile. The publishing profile works fine on my…
jonnybot
  • 2,435
  • 1
  • 32
  • 56
13
votes
0 answers

How to unlock system keychain in OS X using terminal

I have private key and certificate in system keychain and I want to access it using CodeSign so it needs to be unlocked. if I try to unlock login keychain using below script then no problem security unlock-keychain -p password login.keychain But…
Durai Amuthan.H
  • 31,670
  • 10
  • 160
  • 241
13
votes
2 answers

Jenkins Pipeline Plugin: execute shell and parse output

I am using the Jenkins Pipeline plugin to execute an iOS Checkout-Build-Test-Deploy pipeline. One step involves checking whether an iDevice is actually connected (otherwise the rest of the steps will not be executed). I want to execute a shell…
Vish
  • 2,144
  • 5
  • 25
  • 48
13
votes
4 answers

Jenkins path to git Windows master / Linux slave

I have a Jenkins master on Windows which runs some Windows builds. The git client plugin in configured with a fixed path to git as "C:\Program Files (x86)\git\bin\git.exe" I've now created a Linux slave, but when I run a job on there, it's trying to…
Steve Folly
  • 8,327
  • 9
  • 52
  • 63
13
votes
4 answers

Jenkins build monitor wall without manual login

I'm trying to create a completely automatized Jenkins status screen for our office wall with a Raspberry Pi. I was able to configure the Pi to show a browser with a specific URL on the TVs as well as configuring the Build Monitor Plugin in Jenkins…
palacsint
  • 28,416
  • 10
  • 82
  • 109
13
votes
4 answers

Change Windows shell in Jenkins (from Cygwin to Git Bash/msys)

I have a Windows 7 and a Windows Server 2012 slave with the Jenkins agent and Cygwin already set up. I want to avoid Cygwin and just use the Git Bash shell that comes with Git for Windows (I think it's called msysgit). So I renamed C:\cygwin64 to…
gib
  • 1,951
  • 1
  • 21
  • 24
13
votes
3 answers

Jenkins - Dont build for specific commiter or commit message

I'm having some issues with Jenkins and its Git plugin. Currently, a Gitlab server is triggering the builds but I want to configure the job so that it doesn't build when a specific message is included in the commit. I've tried using the ci-skip…
Nick Tsitlakidis
  • 2,269
  • 3
  • 22
  • 26
13
votes
1 answer

Start jenkins job immediately after creation by seed job

I'm using the Jenkins DSL plugin to automatically create build jobs for all branches of a git project. The DSL plugin is triggered by web hooks so that it is run immediately after a new branch was created. The generated build jobs for each branch…
Jan Gassen
  • 3,406
  • 2
  • 26
  • 44
1 2 3
99
100