Skip to content
Advertisement

Tag: jenkins

Differences in build on Jenkins?

I configure Jenkins to build a project from git, i’m using maven: However, the project build is incomplete: In a terminal the build occurred correct: In both case no error occurs and a build is finished with sucess. I don’t know exactly, why the differences are happening. Answer I was making two mistakes: 1 – At the first time I

Create user on remote linux with Jenkins

I need to run a ssh script on a remote linux server to add a user but nothing I do quite works. I make up the username of 2 Parameters and then try to make the password of which the first part is a set string but the second part is also a Parameter. I am using the Jenkins SSH

Configure saucelabs for jenkins

I am trying to run my protractor tests on my Jenkins server which happens to be a Linux box (Red Hat Enterprise Linux Server release 6.6) which has no browser. So i did some research and realized I would have to use saucelabs. I do have saucelab account. So i was confused on how to edit my conf.js file and

Jenkins ssh remote hosts and keyfile path differences on slaves

We have a Jenkins server that uses the SSH plugin to configure a SSH remote hosts within the global Jenkins configuration. These ssh connections are using a public/private key for authentication to the remote host. We then use these configured SSH remote hosts in the build step “Execute shell script on remote host using ssh” (I believe this is also

Jenkins adding single quotes to bash shell script

My shell script looks like this: It’s checked into cvs in a shell folder, Jenkins is configured to execute it on a Linux machine via a job with ‘Execute Shell’ build step: But Jenkins is wrapping the whole sudo line in single quotes which results in my log files not been deleted (although the Jenkins job passes successfully): Any ideas

How can I resolve Windows vs Linux properties file paths?

I have a java project on a Windows box which builds successfully and all tests pass locally. This project is then checked in and built with Jenkins on a Linux box. The problem I am having is related to path issues in my properties file which is used for running tests. I point to a resources dir for part of

Upstart stop if running

I have a Jenkins job to stop a node application, deploy code, and start the application. The start/stop is done with an Upstart script. I use initctl stop node-App If the job is running, this works great. But if the app has died or is in a stopped state, the output is initctl: Unknown instance: This causes the Jenkins job

saving build data only in slave node Jenkins

I set up slave node in Jenkins. However when I am running job in slave node, I realized that build data, workspace and log information are still save in master node(Jenkins server). Is there a way to save this data in slave node instead of master node? Answer The job workspace is not saved to the master, unless you mark

Advertisement