Questions tagged [nightly-build]

Building software automatically to ensure that no errors have been committed to source control that would prevent it being built. Especially useful when many people are changing the software independently. Usually done at night because of reduced commit activity, or because building takes a long time. Once built, the software may go on to be tested.

Concept

Building software refers to the processes of compiling, linking, packaging, generating documentation, and in general converting source code into something executable. Not all software will need all of those steps, but most of it will require some of them.

When many people are working on the same project, changes that might work perfectly on their own can combine to stop the software building. If that was only discovered when someone pulled the latest changes into their development copy, then they would have to stop work while the problems were solved. Automatic builds avoid this by taking the latest version, building it, and telling people when errors are found.

Nightly builds are automatic builds that are scheduled regularly, typically at night. Reasons for doing it then include errors being discovered before people start work in the morning, lower levels of changes, availability of hardware, and the time taken to build larger projects. Nowadays hardware is cheaper, software is more modular in construction, and it is often possible to increase the frequency of builds. Taken to the extreme, this leads to continuous integration, where builds are done one after the other. Some organisations are even able to build on every change, having enough resources that they do not have to wait for a build to finish before starting the next one.

This tag should be reserved for questions related to builds that run overnight or at a similar interval, not for ones that are specifically about continuous integration.

Tools

Many organisations use home-made build systems of varying levels of sophistication, but there are also a number of ready-made systems available. Most of them are designed for continuous integration, but also allow timed schedules. An typical example is Jenkins, and a list can be found at Wikipedia.

References

93 questions
0
votes
0 answers

Nightly build with git - best way to get sources before the build?

I'm new to Git and a little bit confuse which command should I use in my case. I'm running a daily build that start at the same time, during the build I don't change any source files but I do add a tag and push only the tag with "git push -f…
Epligam
  • 741
  • 2
  • 14
  • 36
0
votes
2 answers

Is there a nightly build for BETA_JAVA7 branch of Eclipse

I want start with the Java 7 development. But the current Eclipse IDE does not support Java 7. There is a BETA_JAVA7 branch. Is there a nightly build available? Or is the only solution to compile the branch self?
Horcrux7
  • 23,758
  • 21
  • 98
  • 156
0
votes
1 answer

Run nightly jobs on multibranch pipeline with declarative Jenkinsfile without deprecated feature 'Suppress automatic SCM triggering'

Jenkins ver. 2.150.3 I have a multi-branch pipeline set up. I am using a declarative Jenkinsfile. I have a set of jobs which take a long time to run. I want these to run over night for any branches which have changes. In the past, one could use the…
0
votes
1 answer

How can I do continous integration and nightly builds on the same clone

We are trying to switch from SVN to HG right now. We are using continuous integration with CruiseControl.NET on a special crafted build server which is running well. Additionally we started a nightly build to do extended tests, like code statistics…
0
votes
1 answer

perforce setup for multiple nightly builds

We have a large code base in Perforce. I would like to do the following nightly, automatically. - Copy some view of "latest" into two (or more) workspaces, streams, or even just into some other folders not under perforce control. - Check everything…
HASM
  • 308
  • 3
  • 11
0
votes
1 answer

Nightly build for VB.NET program, Versioning

I currently have a nightly build system running as a windows scheduled task, calling at batch file, that works sort of like this: Check out the latest revision from subversion Modify the AssemblyInfo.vb file of the main executable and the librarys…
insertjokehere
  • 367
  • 1
  • 10
0
votes
2 answers

How to do a nightly build using Gradle?

I can build my android project in command line with ./gradlew assembleDebug but how do I automate this so Gradle builds itself once every day? Is there any way to do this without downloading something additional like Jenkins?
Katy Lin
  • 3
  • 1
0
votes
1 answer

Tensorflow in android: Linear regression

I have completed training a simple linear regression model on jupyter notebook using tensorflow, and I am able to save and restore the saved variables like so: Now I'm trying to use the model on an android application. Following the tutorial here,…
Tix
  • 449
  • 1
  • 8
  • 27
0
votes
1 answer

CircleCI with Rails server and ember app

I'm working on a Rails application, that uses ember as front-end framework for the client side within the application. I use Capybara on CircleCI to run the tests. I have a lot of end-to-end tests, which make the build time very slow. I have found…
Ahsan Zaheer
  • 646
  • 1
  • 12
  • 18
0
votes
1 answer

nightly build Script for SubVersion

I have prepared a solution with multiple projects with Netbeans IDE versioned under Linux with Subversion. I would like to prepare a script that automatize nightly build creation: - checkout latest version from the SVN - compile multiple projects -…
Grifo
  • 999
  • 4
  • 12
  • 16
0
votes
0 answers

Tools for nightly unit test c project

I'm looking for suitable tools using which I can perform a nightly unit test. I've an embedded c project in git, and I'm using teamcity for nightly build. The challenge I'n facing is, teamcity can build the project but it can't run it, where as…
ajishalfred
  • 277
  • 1
  • 3
  • 7
0
votes
2 answers

Nightly build for android project using gradle

I have an android project which I'm developing in windows environment. Also a remote git repository exist which I push my project to it daily. My requirement is to have a mechanism to automate daily(or nightly) builds. I know that I can build my…
Fartab
  • 4,725
  • 2
  • 26
  • 39
0
votes
2 answers

TFS: How to validate if every file is checked-in?

We are working on several ASP.NET MVC C# projects within Visual Studio 2015 and Team Foundation Server 2013. Sometimes the NuGet upgrade process is a mess and some of the replaced files (mostly *.png, *.gif, *.ttf) have not been checked-in properly.…
0
votes
0 answers

Build a Rust project on Travis CI with a specific nightly version

I'm about to build a Rust project but I want to build it with Rust nightly 1.11.0. At the moment I'm only able to do so: language: rust rust: - nightly - 1.11.0 which builds nightly (latest version 1.13.0 which breaks my build) and the stable…
xetra11
  • 7,671
  • 14
  • 84
  • 159
0
votes
2 answers

Exceptions from Buildbots PeriodicScheduler intervals?

Buildbots Periodic scheduler triggers builds at fixed intervals (e.g. every 30 minutes). But there are certain times (e.g. at night, during the weekend or while regular maintenance is performed) where I'd like it to relax. Is there a way to have a…