Tag: jenkins

Rename war generated using AWS cli for beanstalk deployemnt

i am using this script for deploying the war from jenkins to elastic beanstalk, check this link, https://github.com/ayush/eb-deploy/blob/master/eb-deploy , the script is working properly but one thing i need to modify is the version label of the uploaded war, currently it is renaming the build to something git-${a random number} , i need to provide […]

when running sonar from jenkins Fail to retrieve SCM info Reason: The git blame command failed

Please help/guide me I have: configured sonar, jenkins and git all on my laptop. integrated sonar with jenkins for auto builds. added SCM activity plugin 1.8 to sonar 4.5.5 LTS. added git path to environment variables. If i run sonar runner from cmd then SCM activity plugin works and it also shows SCM data in […]

Jenkins Integration with Github

I am preety new to both Jenkins and Github. I have created an AWS server running Ubuntu 14.04, on which I have installed Jenkins and the JDK for it. I have use the native build to install Jenkins (i.e. apt-get). I have installed the Github plugins in Jenkins and I am having an Github account […]

Polling multiple Git repos for changes from the same Jenkins build plan

My build setup looks like this: Multiple Git repositories that contain the source code, one per module. One master build Git repo that has scripts to a) clone the above repos in a directory structure, b) install dependencies and compile all of the modules, and c) run the unit tests in all of the modules. […]

sparse checkouts in jenkins

I’m using the Git Plugin and using the sparse checkout feature, I get the following error: Command “git read-tree -mu HEAD” returned status code 128: stdout: stderr: fatal: Not a valid object name HEAD I am using GIT version 1.8

ambiguous mapping while deploying

I’m using Jenkins 1.6.20 (Git Client Plugin 1.18.0, Git Plugin 2.4.0) to get the Java application code from bitbucket.org and deploy it to Apache Tomcat 8.0.23. The error appears while deploying and looks like: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘requestMappingHandlerMapping’ defined in class path resource [org/spr$ public java.util.List by.ipps.accounting.ws.PositionWS.getEmployeePost(java.lang.Long) to {[/positionListJson/{id}],methods=[GET],params=[],headers=[],consumes=[],produces=[application/json],custom=[]}: There is already […]

gzip and git diff and s3

I need to get a list of files that have changed since the last deployment (git diff), gzip those files, and send those files to S3. I need to get all of the css files and gzip them, then I need to get all of the html files, gzip them, and all of the JS […]

build error in jenkins.Fatal error: 'Cordova/CDVViewController.h' file not found

I’m using Jenkins to build application with xcode,but i am getting some error messages in jenkins as the Cordova files has not been found I add $(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include to BuildSettings->Header Search Paths Search paths and i still get the error the console

Connection to Git through Jenkins with https is throwing an error

I am trying to connect git with Jenkins but facing an issue The error I am getting Error Failed to connect to repository : Command “/usr/bin/git config –local credential.username abcdef” returned status code 129: stdout: stderr: error: unknown option `local’ usage: git config [options] Config file location –global use global config file –system use system […]

iOS + Jenkins + git + Archive

I use the Jenkins iOS Archive. The jenkins project Console Output: /bin/sh -c /Users/Shared/Jenkins/Home/jobs/YouKuHD/workspace/frameworks/download/build/DownloadManager.build/Debug-iphoneos/DownloadManager.build/Script-DB597F9F14DFD58700CDF0E3.sh Could not find iphoneos in /Users/Shared/Jenkins/Home/jobs/YouKuHD/workspace/build Command /bin/sh failed with exit code 1 ** BUILD FAILED ** The following build commands failed: PhaseScriptExecution Run\ Script build/DownloadManager.build/Debug-iphoneos/DownloadManager.build/Script-DB597F9F14DFD58700CDF0E3.sh (1 failure) Build step ‘Xcode’ marked build as failure Finished: FAILURE My project files: iPad28/frameworks/download/DownloadManager.xcodeproj […]

Git Baby is a git and github fan, let's start git clone.