java,testing,gradle,continuous-integration,testng
There is probably no simple way provided by Gradle or TestNG, but you can implement Listener org.testng.IMethodInterceptor and in it implement algorithm for splitting. org.testng.IMethodInterceptor#intercept is called before test suite starts and you get all test instances which are scheduled for run. So if you read your ENV variables and...
jenkins,continuous-integration,rtc
RTC doesn't have a build engine in itself. It has a build engine toolkit which abstract the actual build engine (BuildForge, Hudson, Jenkins, ...) If you want to do continuous integration from RTC, you need a build engine. The official one is IBM BuildForge (not free). Since RTC4, Jenkins (free)...
continuous-integration,wercker
As far as I know you can't change this environment. It's not used by wrecker, it's only meant to provide a read only information in case you need to know where your code is located. To answer your question: once again as far as I know you can't use a...
continuous-integration,yaml,continuous-deployment,codeship,aws-code-deploy
The ApplicationStop hook is being called from the previously installed deployment before trying to run the current deployment appspec.yml file. In order to prevent this from happening you'll have to remove any previously installed deployment from the server. Stop the code deploy agent - sudo service codedeploy-agent stop clear all...
phpunit,continuous-integration,database-schema,propel
They say that "best practice" in anything at all doesn't exist - it's so subjective that one ought to settle for one of several forms of "good practice" instead. I think the below qualifies for that label — and ultimately it works well for me. I've been using PHPUnit for...
git,continuous-integration,gitlab,gitlab-ci,gitlab-ci-runner
It seems this is a bit user error, a bit poor UI. I was trying to test my new build settings by going in to a build and pressing "Retry". Apparently, this re-runs the same build steps that were used. It doesn't use the current project build steps. When I...
azure,continuous-integration,azure-web-sites,azure-deployment,ms-application-insights
I believe it was fixed in 0.13 AI SDK. Please try to use the latest version.
I have not been in the same situation, but here's how I would solve this: The test should go into the same repo as the code. If that's not possible, put them in a different repo, but make sure to keep the versions in sync, so you know which set...
c#,.net,iis,jenkins,continuous-integration
The Text-finder plugin can parse any files and change the build status if your search matches. I'm not sure it will solve your issue if you want to do some live monitoring on running applications. But if you launch this job every minutes, it will do the job :)...
jenkins,continuous-integration,drone
1) See Config File Provider Plugin: Adds the ability to provide configuration files (i.e., settings.xml for maven, XML, groovy, custom files, etc.) loaded through the Jenkins UI which will be copied to the job's workspace. 2) See Configuration Slicing Plugin: the configuration slicing plugin can handle properties on any collection,...
automation,continuous-integration,teamcity,build-agent
The error message says it does not have enough rights to run as a service, this is slightly different from just being an administrator. Go to Control Panel> Administrative Tools> Local Security Policy. Select Local Policies> User Rights Assignment. Scroll down through the list of policies and look for Log...
jenkins,continuous-integration
This can definitely be done. Under the job options, there should be a "Poll SCM" option under "Build Triggers". Here's a video explaining it better: https://www.youtube.com/watch?v=R0gyFokexks...
python,python-2.7,testing,continuous-integration,travis-ci
As far as I know you cannot specify minor versions with Travis. But what you could do instead is using Anaconda with the conda environment. Thereby, you can install a local version of python of your choice. In your before_install script you can download and set it up via: -...
node.js,continuous-integration,openshift,travis-ci
Seems like a common-ish issue. You need to do a commit in the travis.yml file so that the updates are reflected. Here is the part in my code where I make the commit after my tests: after_success: - git config --global user.email "[email protected]" - git config --global user.name "Travis CI"...
continuous-integration,circleci
You can use a Docker image of Debian 7.8 inside your build, but it's not possible at this time to replace the base image of the build VM.
jenkins,continuous-integration,integration-testing
There are several plugins that allow resource management: https://wiki.jenkins-ci.org/display/JENKINS/Lockable+Resources+Plugin https://wiki.jenkins-ci.org/display/JENKINS/Exclusion-Plugin https://wiki.jenkins-ci.org/display/JENKINS/External+Resource+Dispatcher Some block the job from executing, others have the job "wait" for the resource (while job is running)....
continuous-integration,calabash-android
If you are using Jenkins as your CI server, below are the steps we do to make Calabash run against real devices: Create a slave, which is a local machine Connect your device to this slave machine (multiple devices should also work) Construct your Jenkins to run a job that...
continuous-integration,environment-variables,teamcity
Since TeamCity 9.0 it is possible to override the dependencies parameters by redefining them in the dependent build: reverse.dep.<btID>.<property name> ...
visual-studio,deployment,continuous-integration,teamcity
See here: Connecting TeamCity to TFS ...There's an image I entered. The answer depends on what version of TeamCity you're running. It changed slightly, but the post above should help. ...
unit-testing,continuous-integration,mstest,biztalk,tfs2012
When there are multiple version of VS is installed side by side in Build Server, ensure right version of MSTest.exe is used by Build Server to execute the unit test. I have achieved it by setting exact path of MStest.exe to 'ToolPath property' of 'Run MSTest activity' in BTDF Default...
git,github,compilation,continuous-integration
You're probably going to have to accept the fact that your build server is susceptible to attack, and can be compromised in the same way your desktop development boxes can be. But then if you're happy to take this risk on your dev machines, why not on your build server?...
continuous-integration,tfsbuild,visual-studio-online
You are getting the error as you don't have $/[collection]\drops mapped and thus can't cloak it. It is also worth point out that you need to have a $[collection][teamProject] in the path as "drops" is not valid at that level unless you have a team project called drops. In addition...
jenkins,continuous-integration,hudson
Please read this : How to choose between Hudson and Jenkins? Generally use Jenkins, it is Hudson fork with better support and have much more plugins. ...
github,jenkins,continuous-integration,devops
Looks like there is an open issue for this problem with Jenkins git plugin 2.3.5 https://issues.jenkins-ci.org/browse/JENKINS-27332 So I followed this post to downgrade the git plugin to 2.3.4 and all is working now http://blog.berg-systeme.de/2014/05/15/downgrade-jenkins-git-plugin/...
node.js,unit-testing,continuous-integration,karma-runner,circleci
Here's what worked for me: dependencies: pre: - npm install -g gulp test: override: - gulp test machine: php: version: 5.6.2 The npm install -g gulp was the missing piece for me. Circleci will detect package.json and run npm install automatically, but I needed the pre: to install it globally...
centos,continuous-integration,puppet
That VM might have intentionally disabled repos. Check files in ls -la /etc/yum.repos.d/ java-1.7.0-openjdk should be available in base repo so check the contents of file CentOS-Base.repo, look for enabled=0 and change to enabled=1 After that, try yum search openjdk...
github,jenkins,continuous-integration,localhost
This cannot work. localhost maps to the IP address 127.0.0.1, which is just the same machine. So while you can access your local Jenkins installation via localhost, the GitHub server cannot. You will either need a static IP address or you need to map a DNS entry to your dynamic...
xcode,osx,continuous-integration,osx-server
It looks like a bug in Server did in fact introduce a duplicate signing identity. I reported it as rdar://21080937, if you'd like to dupe it. In order to fix it, I had to learn about how Xcode Server stores signing identities (thanks entirely to an extremely helpful answer to...
jenkins,stream,continuous-integration,perforce
Try the p4 plugin, its an implementation using p4java and supports Streams. Either select 'Manual' workspace behaviour and provide a stream path, or use the 'Stream' workspace and Jenkins will create the workspace for you....
continuous-integration,nuget,.net-assembly,continuous-deployment,semantic-versioning
Does the incremental digit requirement as you describe it make sense? Even if build 1 succeeds (thus validating v1.0.0 according to your description) you'd still not ship it if its result is DOA from the testing prospective (say the product keeps crashing). So what would be the difference between v1.0.0...
groovy,gradle,continuous-integration
Is can work out three way for handling the scenario - ordered in the way I would do that: Create a dedicated properties file the is filtered during build and added to the final jar. Application behavior is determined by this file on runtime. Basically this is how such scenario...
python,xcode,continuous-integration
If you add a set line to your trigger's script, you'll see all of your environment variables. Chances are, your PATH is missing /usr/local/bin. Correct your trigger's script, like so: export LANG=en_US.UTF-8 export PATH=/usr/local/bin/:${PATH} cd ${XCS_SOURCE_DIR}/ProjectName ./Script/prebuildscript.py ...
.net,continuous-integration,teamcity,exe,continuous-deployment
In order to achieve what you want to, you could try using a PowerShell build step and use the following script. Start-Process myprogram.exe This will return an object to you, but won't block the thread and won't cause your agents to wait for the process to end. Further documentation can...
azure,msbuild,continuous-integration,azure-web-roles,azure-cloud-services
CI template TfvcContinuousDeploymentTemplate.12.xaml will not use your publishing profile. Relevant settings (deployment slot, storage account name, ...) are configured in 6. Deployment > Deployment > Windows Azure Deployment Environment /p:TargetProfile=Development specifies service configuration only (selects correct .cscfg file), not a publishing profile. If you need to configure additional features like...
android,git,jenkins,continuous-integration
I use none of the above — like you, I don't want to alter the repo for each build, nor any files. Jenkins has an always-increasing value for each build, exposed via the BUILD_NUMBER environment variable. In Gradle, I generate the versionCode value programmatically at build time, using the BUILD_NUMBER...
java,heroku,continuous-integration,maven-3,continuous-deployment
I found what the issue was!!! Heroku deploy-war maven plugin requires Maven 3.2.X version while I was using 3.0.X version. Installed Maven 3.2.1 version on my ubuntu machine and the war file was successfully deployed to Heroku. I got to know this from Github Heroku Maven plugin repository Readme file:...
matlab,sum,continuous-integration,convolution,fourier-descriptors
That is because conv is only defined for numeric inputs. If you want to find the convolution symbolically, you'll have to input the equation yourself symbolically using integration. If you recall, the convolution integral is defined as: Source: Wikipedia Therefore, you would do this: syms x tau; F = int(h(tau)*x1(x-tau),'tau',-inf,+inf);...
java,android,unit-testing,jvm,continuous-integration
As of version 1.1.0 RC1 of Android Studio and the gradle plugin, you can run JUnit 4 unit tests on a JVM without the need of a device. Take a look at this post If you have the latest version of Android Studio (1.1 and above) you do not need...
deployment,continuous-integration,appharbor,appveyor
I managed to get this working by doing the following: I went to AppVeyor -> Encrypt Data and encrypted my AppHarbor username and password. Added an appveyor.yml file to my GitHub repo: environment: username: secure: <Encrypted Username> password: secure: <Encrypted Password> on_success: - git config --global credential.helper store - ps:...
php,git,jenkins,continuous-integration,composer-php
Is Jenkins (or any other CI system) installed in the production server or I should have a separate server for Jenkins builds? If Jenkins is in another server, how can I integrate the builds as my running production code? Or this CI thing does have nothing to do with...
git,build,continuous-integration,bamboo,atlassian
Add a tag to the last non-testing commit git tag backup Then continue to work like you did git add .;git add -A;git commit -m "Trigger Bamboo build.";git push Once you have found a Bamboo setup that works for you, revert your local changes by going back to the commit...
email,jenkins,continuous-integration
You can use ${ENV, var="VARNAME"} (where VARNAME is the environment variable that you want to reference) anywhere in your HTML As for your build folder, if it's a random timestamp during the build, you can't reference it unless you save that value to a properties file and then read it...
git,github,continuous-integration,cruisecontrol.net
Just throwing something out there.. Add a ccnet project called BuildToFeature_X. Use ccnet parameters to control what gets built and where. The parameters would be: FeatureNumber - The domain to post to. You used 1 in your example. Branch URL - Which version control branch to checkout and build. The...
android,android-studio,mercurial,continuous-integration,teamcity
Finally managed to get an answer to my own question.Some files were kept in the .hgignore folder as a result of which it did not get checked out during TeamCity build.Removing those from the .hgignore folder solved the problem for me.
git,continuous-integration,sonarqube,code-quality
To the best of my knowledge, Sonar (and its plugins) are not capable of doing that because Sonar is a batch tool. What you are looking for is a truly incremental analysis tool that analyzes every commit in a repository. Teamscale is exactly what you are looking for. You can...
ruby,continuous-integration,nokogiri,jekyll,jekyll-extensions
I posted an issue on the html-proofer repo, where I was told that the srcset error is a bug. Unfortunately, the maintainer indicated that there is no way to ignore specific tags when running the plugin: See https://github.com/gjtorikian/html-proofer/issues/149...
git,msbuild,continuous-integration,bamboo
It was password issue for submodule which is fixed. Now I'm getting this error Failure in artifact preparation phase during processing of: Subscription for Shared artifact: [bla, pattern: [**] anchored at: [deploy_artifact], destination: [] – Log message "C:\bamboo-home\artifacts\XXX\shared\build-xxxx\package is not a directory" You can look at this thread: Did...
python,shell,jenkins,continuous-integration
I suspect nosetests will return a non zero value on failure so you can set the shell to auto fail with set -e or any of the other options in here...
jenkins,continuous-integration
You can use https://wiki.jenkins-ci.org/display/JENKINS/P4+Plugin for Perforce Integration. Also one of the key plugin you would need in future for CI would be https://wiki.jenkins-ci.org/display/JENKINS/Multijob+Plugin
java,maven,jenkins,continuous-integration,ubuntu-14.04
Response discovered in #Jenkins on irc.esper.net. That the answer was to just define specifically the file which was located in. /usr/share/maven/conf/settings.xml ...
apache,jenkins,continuous-integration,mod-proxy
You need to create another VirtualHost, otherwise hostnames that resolve the ip of your server will hit the default VirtualHost, which in your case is ci.myserver.com. Add another to the file: <VirtualHost *:80> ServerName myserver.com DocumentRoot /path/to/root <Directory /path/to/root> Order allow,deny allow from all </Directory> </VirtualHost> ...
java,maven,continuous-integration
Use the "versions" plugin, e.g., mvn versions:display-dependency-updates http://mojo.codehaus.org/versions-maven-plugin/examples/display-dependency-updates.html I'm not sure I'd qualify this as "automated", nor would you want it to be completely transparent, because updates break things. Instead you could script a small wrapper around this and cause it to, for example, fail a CI build....
php,continuous-integration,continuous-deployment
As the author of the article, I owe you a clarification. I mentioned those two types of deployment paradigms in a general sense just to introduce the different concepts. As I am aware of, Rocketeer supports only "pull" deployments. Sorry for the confusion! For deploying the generated files to your...
deployment,continuous-integration,teamcity,environment
We have about 15 environments we deploy to, and about 30 odd builds. We have much the same problem, and we tackle it various ways. First, as someone already mentioned, we use a lot of templates. In Teamcity, if build templates are not your best friend you are using it...
ios,iphone,continuous-integration,testflight
You can create as many apps as you like in iTunes Connect. So create on app per bundle identifier and upload your builds. Once ready to submit just use the app with the production bundle id and environment and submit your app for the app store there.
deployment,continuous-integration,npm,build-process,travis-ci
With tags: true you specify, that only tagged commits will be deployed. If I'm not mistaken, Travis CI does not explicitly check on which branch such a commit is on. So either specify tags: true, then make a tagged commit OR specify branch: master and commit to this branch to...
ruby,gruntjs,continuous-integration,teamcity,compass
I would say you probably use a different user or the shell environment is different (interactive vs non-interactive) when you run these commands manually and when it runs through TC it can't find those packages in the environment/PATH
continuous-integration,teamcity,ndepend
NDepend v6 has just been released with built-in support for TeamCity v8 and v9. The plugin has special support for baseline comparison in TeamCity. See Getting Started and Walkthrough videos here....
tfs,continuous-integration,azure-mobile-services,continuous-deployment
You are looking for this: and maybe you shoudl see this too: Store project code in source control Git Source Control Integration with Windows Azure Mobile Services Update: your source control can be TFS and you should have your own CI Server, and when is all ok you should use...
continuous-integration,teamcity,dependency-management,build-server,teamcity-9.0
IMHO both issues you mention fall really in the config management category, thus, as you say, unrelated to the build server choice. A workspace for a project build (doesn't matter if centralized or local) should really contain all necessary resources for the build. How can you achieve that? Have a...
git,jenkins,continuous-integration
Normally you have a separate jenkins server and a separate repository server. If you set up a job with git as scm then you need to configure the remote repository path in the job configuration. The Jenkins git plugin will clone the given repository a a local folder under the...
deployment,continuous-integration,docker,continuous-deployment,dockerhub
The currently accepted approach is to include a basic Docker image that has the dependencies, the operating system, etc within the machine image. Use that Docker image as the FROM line in your Dockerfile. This will take advantage of Docker's image layers and download only the differences. You may want...
unit-testing,windows-phone-8,windows-phone-8.1,continuous-integration,teamcity
In the end, i made a custom script to launch vstest.console.exe and run the unit test appx and then another Build Step to load the tests results into TeamCity.
maven,jenkins,continuous-integration,maven-3
Please have a look at this question and the accepted answer. Maybe it is a bug in the maven-compiler-plugin - try to update the version of the maven-compiler-plugin to 3.1 or newer.
git,bash,build,continuous-integration,codeship
You could use a command like the following directly in the test steps: if [[ $(git log -m -n 1 --name-only --pretty=format:"" | grep -e "lib" -e "src" -c) -gt 0 ]]; then run_your_tests; fi This will display the changed files for the last commit without any additional metadata and...
windows,node.js,powershell,continuous-integration,bamboo
If you do a default installation of nodejs you will see that it adds nodejs and npm to the path. Sometimes I have seen that the installer adds a user variable named PATH - it might be that the Bamboo agent decides to read the user path without "merging" it...
continuous-integration,openshift,travis-ci,java-ee-7,wildfly-8
I found the problem. I had not defined the openshift profile in my pom.xml. Declaring the openshift profile solved my issue. Here is my pom.xml as reference: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.javeasy</groupId>...
django,selenium,continuous-integration,bower
I use Bower with Django projects, but I don't used django-bower. I use it standalone (via bower install), have it store front-end deps in static/bower-components, and refer to that path in templates with the {% static %} template tag. No idea whether doing that would affect your odd test results,...
tfs,msbuild,continuous-integration
If you're versioning dependencies separately from applications that use them, then use NuGet for managing the dependencies. As part of the build process, the packages will be restored. Binaries should basically never be in source control....
deployment,continuous-integration,drone.io,drone
I found that self hosted Drone is awesome enough to have a Go plugin that supports Continuous Deployment. It's really simple as this: deploy: bash: script: - bundle exec cap deploy:update ...
java,linux,maven,jenkins,continuous-integration
I figured out the answer. The trick (so far) seems to just add eclipse:eclipse to the command line. So something like this: mvn eclipse:eclipse And that's it! After adding that the project builds successfully. This has been a frustrating week with many dents in the wall from my head. Hopefully...
node.js,jenkins,amazon-ec2,continuous-integration,nvm
just put the user jenkins to ec2-user group: usermod -G ec2-user -a jenkins ...
continuous-integration,soapui,bamboo
Problem is solved. Solution: POM-plan in Bamboo-correct dependencies. For jms I used "geronimo" <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jms_1.1_spec</artifactId> <version>1.1.1</version> </dependency> ...
jenkins,continuous-integration,jenkins-plugins,continuous-deployment
If I understand correctly, you want to build your code one time with a dedicated job and next, deploy multiple configurations using other Jenkins jobs? If your build job delivers some artifacts (war, zip, ...), you can archive these artifacts (at the build job level). And next, use the Copy...
xcode,git,continuous-integration,xcode-bots,xcode-server
XCS_OUTPUT_DIR has a file called sourceControl.log. This file has logs like the following: "DVTSourceControlLocationRevisionKey" : "3787c0d9e5107861a8b8d4c7300b2d414ad41dbb", You can parse that log to find the SHA. Perhaps more practically, CaveJohnson can pull the SHA: PATH=/Library/Frameworks/Python.framework/Versions/3.4/bin:$PATH SHA=`cavejohnson getSha` Or it can just go ahead and set the GitHub status as a one-liner:...
android,continuous-integration,travis-ci
Updated (5/28/15): I have started to implement my solution here(open source): https://github.com/NonameDev/MathApp Use System.getenv("TRAVIS") to detect your build is running on Travis. storeFile rootProject.file('release.keystore') - keep release key in your own repository - travis will hide the password storePassword System.getenv("KEYSTORE_PASS") - store environment variable on travis - travis will hide...
build,continuous-integration,teamcity
According to the licensing (section 4b: https://www.jetbrains.com/teamcity/buy/license.html), there is no restriction for corporations. Note: In my division we currently use the free version, and we didn't find any difficulties. We are still planning to upgrade soon because of the limited build configurations....
bash,automation,jvm,continuous-integration,bamboo
Via @Etan Reisner I wasn't installing the bamboo agent as a windows service, despite that being my intention, and that is why the scripts weren't working. To fix this I passed in the installntservice in the java command in the install script. (See: https://confluence.atlassian.com/display/BAMBOO056/Additional+remote+agent+options#Additionalremoteagentoptions-ntservice)...
jenkins,build,continuous-integration,environment-variables,jenkins-plugins
So, I'm not sure if you really can "inject" the environment variable to the script. Some time ago I wrote a plugin for Jenkins that had to deal with some perl scripts and was really hard back then to deal with environment variable. About EnvInject Plugin I can't say almost...
java,android,opengl-es,continuous-integration
You need to make sure that core-game has no references anywhere to GL2. That might also mean moving the draw method out of shape. One possible solution is to make a ShapeDrawer class, which doesn't refer to GL2, which is implemented in desktop-game: public abstract class ShapeDrawer { public abstract...
ssh,continuous-integration,travis-ci,continuous-deployment
I see two possible solutions to your problem: Switch to the non-container based infrastructure of Travis-CI, by adding sudo: true in your .travis file, so you will be able to install the package you need. Ask for the addition of sshpass in the package white list. Request can be done...
java,php,testing,jenkins,continuous-integration
If you use behat3, then make sure that its version has junit formatter support, as it was missed in early versions https://github.com/Behat/Behat/pull/676 Also check that you have configured profile at behat.yml behat 2 jenkins: formatter: name: pretty,junit parameters: output_path: ,build/logs/behat behat 3 jenkins: formatters: junit: [build/log/behat] Also build.xml must call...
google-app-engine,continuous-integration,travis-ci,gcloud,service-accounts
This is a known issue in version 0.9.61. For now, you can work around by pinning to a previous version: gcloud config set compent_manager/fixed_sdk_version 0.9.60 gcloud components update Since you're running in a CI server, you can also set the following environment variable, if you run gcloud components update in...
django,testing,continuous-integration,translation,travis-ci
So, after makemessages diff will allways show at least 1 insert and 1 deletion, right? git diff --numstat | awk '{if ($1>1 || $2>1) { exit 1 } else { exit 0 }}' This script should exit with status=1 if there is more than 1 insert and 1 deletion in...
azure,visual-studio-2013,continuous-integration,visual-studio-online
I have recreated the publish profile to fix the error: http://azure.microsoft.com/en-us/documentation/articles/cloud-services-continuous-delivery-use-vso/ You could as well switch to TfvcContinuousDeploymentTemplate.12.xaml template manually, looks like the AzureContinuousDeployment.11.xaml template isn't compatible with latest updates....
xcode,continuous-integration,xcode-bots
Apple response from the dev forum: This isn't something Xcode Server supports. You might be able to craft a pre-integration trigger to switch branches in the working copy and invoke seperate xcodebuild invocations, but the results reported in the UI will only be for the Xcode Server builds (the build...
git,jenkins,continuous-integration,ansible,continuous-deployment
This is achievable with Jenkins. There are 3 main steps to this task: Use the Jenkins GitHub plugin to trigger a build. Use the Jenkins Ansible plugin to execute your ansible playbook during build process. Update GitHub repo with the result. This part is a little more complex since I...
java,api,testing,continuous-integration,integration-testing
The best solution depends on your product, but generally, if you don't want to actually use those services from your tests you should somehow replicate the response from those services. For example you can send a test request only once to get a real response from the service and cache...
php,mongodb,continuous-integration,kohana
If anyone stumbles upon this via google, I solved the issue. It appears as though our applications nginx config handles capitalizations more nicely than the CLI. Upon changing "Mango" to "mango" I saw the error message change to not finding it's parent class (for the same casing reasons). While I...
continuous-integration,docker,continuous-deployment,spring-test,integration-tests
The Spring MVC Test Framework (i.e., MockMvc) can not be used to test a Spring web application deployed in a Servlet container. On the contrary, the primary goal of the Spring MVC Test Framework is to provide first-class "support for testing client and server-side Spring MVC code through a fluent...
deployment,continuous-integration,continuous-deployment
You can use rolling symlinks instead of nuking folders. the way this works is you create a directory for each feature that you run CI on . For ex lets say you have 2 folders F1 and F2 corresponding to your features. If you want to run CI on F1...
jenkins,android-emulator,continuous-integration,kvm
I have managed to fix the problem. Install Qemu-KVM and cpu-checker apt-get install qemu-kvm cpu-checker Check if KVM is available (as jenkins user $ kvm-ok INFO: /dev/kvm exists KVM acceleration can be used Create group kvm and add jenkins to this group addgroup kvm usermod -a -G kvm jenkins Change...
svn,jenkins,continuous-integration,continuous-deployment
There are 3 ways you can get the SCM changes Groovy Groovy is similar to Java and is native to Jenkins, hence you can reference Jenkins object models and data directly with Groovy. You still requires plugins to execute Groovy code, such as Groovy Plugin. Here is a bit of...
Well, there are of course multiple best practices and many approaches on how to do this. One approach that I have found successful is the following: Separate the deployable code (jars/wars etc) from the docker containers in separate VCS-repos (we used two different Git-repos in my latest project). This means...
git,deployment,continuous-integration,bitbucket
Sounds like you want to write some post-commit hook. But that might be too fine grained for you. Just write the automatic steps to .git/hooks/post-commit and make that executable. You can git --work-tree PATH_FOR_THIRD_PARTY checkout HEAD -- PUBLIC_FILES to update the PUBLIC_FILES for your third-party developers in PATH_FOR_THIRD_PARTY, where I...