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
2
votes
2 answers

Running Protractor against a nightly Firefox build

When I try to run Protractor tests against a "Nightly" Firefox build, firefox window hangs indefinitely: Here is the relevant part of my configuration: exports.config = { baseUrl: 'http://localhost:8080/dev/src/', specs:…
alecxe
  • 462,703
  • 120
  • 1,088
  • 1,195
2
votes
1 answer

TFS 2013 Nightly build failure is not making BUG work item on test failure (VSO)

We are using VSO for everything and builds are handled through our own build server. Everything is working fine however for all nightly builds, when they fail on tests (the whole point of nightly builds), it is not generating a new bug. There are…
SevDer
  • 335
  • 1
  • 5
  • 15
2
votes
1 answer

Nightly builds for Windows on Linux

Is there a system I could implement on Linux(Debian) to have nightly builds from a github repository targeted to windows(.exe files)? I know programs like CCNET and TeamCity but they are for windows. Currently we use Visual Studio 2013 to build our…
dominique120
  • 1,170
  • 4
  • 18
  • 31
2
votes
2 answers

CruiseControl.NET build nightly IfModificationExists since Last Build Label

I am using one server to build the same project both continuously and nightly; however I would like the nightly build to only build if a modification exists during the day. I am hoping to achieve this with the constraint that both builds use the…
Rob Hunter
  • 2,787
  • 4
  • 35
  • 52
1
vote
4 answers

nightly build and virtual machines

At my place we are writing server side applications (WCF services) and we are looking forward automate the installation and run it in our nightly build process... Moreover, we are looking forward installing it again and again on different…
rabashani
  • 1,443
  • 2
  • 14
  • 22
1
vote
2 answers

What is the difference between a nightly build and continuous integration?

What is the difference between nightly builds and continuous integration? Is it just the frequency of checkin/build/test? For example, if a nightly build process were run every hour or every minute would it be indistinguishable from CI? This…
user128807
  • 10,447
  • 17
  • 53
  • 72
1
vote
1 answer

How to enable nightly features on stable builds?

I need to use a deprecated project which does no longer runs using newer versions of stable versions of rustc, but which requires nightly features for being able to use avx512 in order to be able to complete in an acceptable time frame. The past…
user2284570
  • 2,891
  • 3
  • 26
  • 74
1
vote
2 answers

Run Jenkins pipeline nightly continuously

I'm using Jenkins for OnCommit and Nightly Builds. My Build Trigger is for example at the weekend: H/25 * * * 0,6 or from Monday to Friday: H/25 0-5 * * * The nightly build runs every 25 minutes. But this way I can't use the time effectively and…
Stampy
  • 456
  • 7
  • 27
1
vote
2 answers

CruiseControl.net daily build best practices using Subversion

I am planning to have a daily build in CruiseControl.net using subversion. I would like to find out if it is better practice to pull down the code and get the revision number or tag the Subversion repository and pull it down from that tag? What are…
odez213
  • 723
  • 3
  • 10
  • 24
1
vote
0 answers

Total 147 test cases in my suite but after running in jenkins it shows report of 144 test, but I can see all the logs of 147 test case is showing

The count is 147 in the test suite, but after executing them in Jenkins server it shows total of 144 tests. Where do these 3 tests disappear?
Muddesir
  • 63
  • 1
  • 8
1
vote
1 answer

Is there a way to install pyarrow nightly builds with conda?

I'm trying to install pyarrow's nightly builds with conda using arrow-nightlies channel to experiment with the latests code in Github's master branch. Conda's version is 4.8.3. The target environment has python 3.8 on MacOS When I run conda install…
gire
  • 1,105
  • 1
  • 6
  • 16
1
vote
1 answer

Hudson: Build nightly only when codebase or snapshot dependency is changed

I have a separate job to build a project during the night. But I only want to build it if the code of the project is changed or snapshot dependency of the project is built. Building a project nightly when codebase was changed can be achieved using…
Maksim Sorokin
  • 2,334
  • 3
  • 34
  • 61
1
vote
1 answer

Can I initiate Intellij IDEA indexing as the last step of a nightly build?

During our nightly builds, we pull down the latest committed checkins from a multi-site source control repository and merge our local source changes on top and compile/build. This leaves us with modified dates and content on many files. When I…
Alan Carwile
  • 735
  • 1
  • 7
  • 14
1
vote
2 answers

What's the easiest way to setup Protractor e2e tests to run nightly?

Like many angularjs developers I have a test suite of protractor e2e tests. The test suite takes about half an hour to an hour to run. I would like to be able to run the tests nightly using some kind of cloud based setup, if possible. I'm having…
Mark Rogers
  • 96,497
  • 18
  • 85
  • 138
1
vote
0 answers

Tensorflow Android nightly build

So I am trying to build an Android app using Tensorflow. I'm using Android studio 3.1.3 I came across a post saying there was an issue because of which compiling org.tensorflow is not working. It also suggested using one of the nightly builds on…