Questions tagged [jenkins-2]

Jenkins is an extensible continuous integration server. Jenkins is open source and has packages for Linux, Mac OS X, Windows, FreeBSD and OpenBSD. This tag is for questions relating to Jenkins version 2.x. For non version-specific questions, please use the [jenkins] tag.

This tag is for questions relating to Jenkins version 2.x. For non version-specific questions, please use the tag.


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 7 (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 12 weeks.

With its 10th anniversary Jenkins 2.0 was released in April 2016 and has some enormous changes:

  • Pipeline support out of the box
  • Better UI experience with dynamic pages
  • More plugins are bundled to prevent the paradox of choice

With version 2.0 the weekly release plan was reintroduced.

123 questions
0
votes
1 answer

wrong # args: should be "_o3 self class proc file optx opty"

When I ran the tcl code, the following error appeared: wrong # args: should be "o3 self class proc file optx opty" (Simulator namtrace-all-wireless line 1) invoked from within "$ns namtrace-all-wireless $namtracefd" (file "test1.tcl" line 26) How…
JIN ZHANG
  • 3
  • 1
0
votes
1 answer

hudson.model.UpdateCenter#updateDefaultSite: Upgrading Jenkins. Failed to update the default Update Site 'default'. Plugin upgrades may fail

How do I start the Jenkins process in offline mode on one of my servers? I am trying to start Jenkins by running command java -jar jenkins.war, but it is failing at the below warning because of no connectivity. Is there any way to skip this plugin…
john
  • 1
  • 1
  • 1
0
votes
2 answers

Log Jenkins Console Output to S3

So i have to Log my Jenkins Job Console Output to S3 Bucket and this involves many jobs to be configured in a way such that the console output log of the Jenkins job is pushed to S3 post build.
0
votes
1 answer

Jenkins2 - Getting error while trying to execute a Git command using 'Execute Shell'

I'm using Jenkins 2 and trying to execute below GIT command using 'Execute Shell' in Build section. git config --global user.email $GITHUB_LOGIN git config --global user.name $GITHUB_LOGIN git tag -a $BUILD_NUMBER -m "Version $BUILD_NUMBER" git push…
Raj
  • 1,467
  • 3
  • 23
  • 51
0
votes
1 answer

Jenkins - Login Page shows up, but getting securityRealm / finishLogin ErrorID=e160bxxx-aaa-yyy-zzzz

Jenkins version: 2.89.4 / 2.89.4.2-rolling I can see the login page (clicking right top Log in link). Sometime it brings the login page (where a user can enter username / password) -OR- it's taking me straight to an error.. in either case. Error: In…
AKS
  • 16,482
  • 43
  • 166
  • 258
0
votes
1 answer

Why not running npm test on the docker image generated by skaffold?

This is the default Jenkinsfile generated by jx container('nodejs') { sh "npm install" #line 2 sh "CI=true DISPLAY=:99 npm test" #line 3 sh 'export VERSION=$PREVIEW_VERSION && \ skaffold build -f skaffold.yaml' #line 4 sh "jx step…
Pahlevi Fikri Auliya
  • 4,157
  • 8
  • 35
  • 71
0
votes
1 answer

Deploying war file in Tomcat Using Jenkins

In my jenkins Deploy war/ear conatiner, i was able to give war file, context path, credential and Tomcat url. But i want to give "XML Configuration file URL", along with the above input. How can it be done?Do we have a seperate plugin for it. My…
user6543599
  • 541
  • 2
  • 8
  • 18
0
votes
1 answer

How to import the jasmine report to sonarqube for analysis

We are using SonarQube version 5.2 and it is set up with jenkins to report the code coverage on SonarQube server currently only java code coverage is in place on sonarQube and now we are aiming to Fail the jenkins build if the project fails the…
user2698510
  • 1
  • 1
  • 1
0
votes
1 answer

how to copy the variable into one dimesional array in tcl

How do I set the single variable data into a one dimensional array in ns2 using Tool Command Language? I have tried by using the set command for that variable and an array but it shows an error like variable not an array.
0
votes
1 answer

ns: _o40 malicious: (_o40 cmd line 1) invoked from within "_o40 cmd malicious" invoked from within "catch "$self cmd $args" ret"

I am simulating Wireless Sensor Network Using NS2.35 and I get an error num_nodes is set 2 INITIALIZE THE LIST xListHead Starting Simulation... ns: _o40 malicious: (_o40 cmd line 1) invoked from within …
0
votes
1 answer

How can I create Jenkins view that displays only currently running jobs?

I wan to make a Jenkins (2.x) view that displays only currently running jobs (or something very close to that). Please note that I am talking about an instance >1000 defined jobs where at a single moment we expect to have 5-30 running ones. Looking…
sorin
  • 161,544
  • 178
  • 535
  • 806
0
votes
1 answer

Jenkins 2 Declarative pipelines - Is it possible to run all stages within a node (agent any) but having some of them running without it?

I have a CD pipeline that requires user confirmation at some stages, so I would like to free up server resources while the pipeline is waiting for the user input. pipeline { agent any stages { stage ('Build Stage') { steps { …
0
votes
1 answer

Connect to events.pagerduty.com:443 connect timed out

Jenkins 2.82 Jenkins master - From this machine, I don't have access to internet/outside world. Jenkins slave server, running docker containers (for slave server), do have access to outside world/internet. I installed PagerDuty Plugin and configured…
AKS
  • 16,482
  • 43
  • 166
  • 258
0
votes
1 answer

Jenkins 2.82 and Blue Ocean plugin

I have latest Jenkins instance (version 2.82) It's up and running. Now, https://jenkins.io/doc/book/blueocean/getting-started/ I'm trying to install Blue Ocean Plugin, but it's NOT visible under Available or Installed tabs under Manage Jenkins >…
AKS
  • 16,482
  • 43
  • 166
  • 258
0
votes
1 answer

How to select different git repos(main & forked) in groovy Jenkinsfile to run Jenkins2.0 job

I have a Jenkinsfile which is used by Jenkins2.0 to run on a GitHub repo when code is merged the job will checkout the code, run unit tests and build it. I want to use the same Jenkinsfile on forked GitHub repo but only want to checkout the code and…
imPK
  • 764
  • 2
  • 7
  • 30
1 2 3
8 9