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

Running bat file through powershell is not exiting in Jenkins

We are using Linux Jenkins server for our deployment in a Windows machine. We added this machine as a node and running deployment on it. We are using powershell for our deployment, everything is working but for a bat file that uses our application…
Geo
  • 575
  • 3
  • 9
  • 23
2
votes
1 answer

Integrate external jenkins pipelines to openshift

I want to integrate my existing jenkins pipelines(external server) to openshift. I have found many commands about manipulating openshift through jenkins, but what I want to achieve is in the following photo, jenkins outputs shown to openshift. Any…
2
votes
0 answers

How to transfer a war file to a remote server using Jenkins pipeline?

How can I copy a war file using pipeline script.I have been trying this for long time and no luck on this. I have Publish Over ssh plugin installed and configured correctly. The test configuration is working fine. Following is the command which i…
sparrow
  • 121
  • 1
  • 1
  • 3
2
votes
0 answers

Jenkins reverse proxy failing for log in/out pages

I have a pair of servers, one running Nginx the other Jenkins (well, and other servers for other services, but that's besides the point). These servers sit within their own subnet that normally would not be accessible from my machine. For testing…
thecoshman
  • 221
  • 1
  • 2
  • 6
2
votes
1 answer

ProxyPassReverse not setting response header

I have an apache server sitting between a Jenkins server running on 127.0.0.1:8090 and the client browser. I am giving http://123.45.67.89/jenkins in the browser and expecting the Jenkins to be redirected to http://123.45.67.89/jenkins/login page…
tintin
  • 445
  • 2
  • 6
  • 12
2
votes
1 answer

Block changes to Jenkinsfile (Jenkins Pipeline)

I am using the Jenkins Pipeline plugin to build commits on my GitHub repository. However, while I do trust the people on GitHub enough to make commits on the repository, the server is shared infrastructure across multiple projects, and I don't want…
ConnorJC
  • 939
  • 1
  • 8
  • 20
2
votes
4 answers

How do I change Jenkins Git plugin from using GIT_ASKPASS to .gitcredentials

I've posted this question already: Jenkins cannot read Github password since upgrading to Git client plugin 2.1.0 In short I have cloned my production instance of Jenkins 1.650 and upgraded the cloned instance to 2.25 on Windows 2012. As part of…
shaneoh
  • 414
  • 3
  • 7
  • 19
2
votes
1 answer

How to launch multiple AWS EC2 machines on Jenkins?

I am using the EC2 plugin in Jenkins (https://wiki.jenkins-ci.org/display/JENKINS/Amazon+EC2+Plugin) for using AWS services. As of now, a job which uses this cloud label spins up a single EC2 instance. Whereas, I need to spin multiple instances for…
2
votes
0 answers

How to set up NIS client in Docker container?

I am setting up a Jenkins master inside a Docker container. The container runs on an Ubuntu 16.04 host, which itself is a virtual machine. We use NIS for authentication in Jenkins, but I cannot get the NIS client to run in the container. In my…
John McGehee
  • 225
  • 3
  • 10
2
votes
1 answer

java.io.IOException: Input/output error in Jenkins while running Gradle script

Sometimes Jenkins while running Gradle scripts drops this error: 12:48:19 > Could not resolve all dependencies for configuration ':classpath'. 12:48:19 > java.io.IOException: Input/output error Rebuild helps, but this didn't happen on old…
aranel
  • 111
  • 2
  • 7
2
votes
1 answer

github-webhook not triggering a job because pipeline doesn't have a matching repository

I have setup a github webhook and also setup logs on the github plugin in jenkins. Jenkins seems to receive correct payload on the webhook. However the log says that github webhook considered poking my job and then after that it skips because it…
Pankaj Lal
  • 231
  • 1
  • 3
  • 6
2
votes
2 answers

Unable to restart IIS Website from Other Server

We are using Jenkins as our Continous Integration Server. One of our project requires restarting IIS website on other Server. We can use "cd %windir%\system32\inetsrv appcmd stop site /site.name:xyz" appcmd start site /site.name:xyz" to restart…
writerrajiv
  • 31
  • 1
  • 5
2
votes
0 answers

Running Jenkins Slaves on old operating systems

I have a (quite old) Jenkins installation that I'd like to upgrade. Unfortunately, some jobs require to be built on an old operating system which cannot run Java 7 and hence cannot run the slave.jar from Jenkins. Is there a way aside from using SSH…
Stephan
  • 121
  • 1
2
votes
0 answers

Restart service from non-admin user

I write my C++ program and run it as daemon by writing upstart script inside /etc/init/ So my program is automatically started after reboot and can be controlled using sudo service my-service restart How to allow to restart this service from another…
Roman Kolesnikov
  • 163
  • 1
  • 1
  • 4
2
votes
0 answers

Jenkins: Build all commits triggered by push

How can I make Jenkins build all new commits (not just the latest) when there is a push? Note: The push is the trigger for the Job
Jimmy88
  • 341
  • 1
  • 2
  • 10