Questions tagged [build-automation]

Build automation is the act of scripting or automating tasks like compiling, packaging, running tests, deployment etc.

Build automation is the act of scripting or automating a wide variety of tasks that software developers do in their day-to-day activities including things like:

  • Compiling computer source code into binary code
  • Packaging binary code
  • Running tests
  • Deployment to production systems
  • Creating documentation and/or release notes

Advantages

  • Improve product quality
  • Accelerate the compile and link processing
  • Eliminate redundant tasks
  • Minimize "bad builds"
  • Eliminate dependencies on key personnel
  • Have history of builds and releases in order to investigate issues
  • Save time and money - because of the reasons listed above.

See also , and .

1857 questions
0
votes
1 answer

Gradle/Kotlin equivalent to Python's Invoke

I have been using Python's Invoke for a couple of years and I just love it. I can quickly write build tasks with documentation, and automatic parsing of custom flags. I have almost completely eradicated the need to write snippets of code in README…
pgpb.padilla
  • 2,318
  • 2
  • 20
  • 44
0
votes
0 answers

Storing/Retrieving kinit password from shellscript

I'm automating the provisioning of a VM in a keberized environment. After the new server is created it needs to join a network. For this, I need to login to the kerberos server using kinit and then use net ads join. the challenge for me is where do…
0
votes
1 answer

How to setup github actions to run headful puppeteer for E2E extension testing

Any help would be greatly appreciated! I have a requirement to not allow my github users to merge to master if tests fail. The merge button in github should be disabled and test details should be shown. I decided to implement these requirement using…
0
votes
2 answers

Best Way To Set Up Ruby/Java Build/Deploy?

I have a project which is going to use Ruby on the front end, and have JRuby call some needed Java libraries on the back-end. If this was just a Java application, I would set up an ant script that would make a .war file and be done with it. Since I…
Genadinik
  • 18,153
  • 63
  • 185
  • 284
0
votes
1 answer

Dependent projects being built in Hudson -- how to stop this?

I have a use case where I need to run a Hudson build once for a release to trigger a plugin that we don't want run at any other time and which we don't want to place inside the pom (see: Is it possible to replace the entire Repository Url with a…
AHungerArtist
  • 9,332
  • 17
  • 73
  • 109
0
votes
2 answers

Build all binaries for different Android app stores in a single step

I currently distribute my Android apps on Android Market, SlideMe and Amazon app store. Android Market and SlideMe require a signed binary, while Amazon requires an unsigned one. I also need to differentiate some of the code to be compiled…
Alex
  • 9,250
  • 11
  • 70
  • 81
0
votes
1 answer

How to automatically find files of a specified type in the current directory or any specified sub-folders in Ruby?

I am using the following code to convert files from php to html. In order for it to work, I have to enter the name of each file on the second line. p "convert files" %w(file1 file2 file3).each do |name| system %(php #{DIR}/#{name}.php >…
Cofey
  • 11,144
  • 16
  • 52
  • 74
0
votes
0 answers

How to handle the web.config per environment using a single deployment project (.msi) for an automated build and deploy?

I need some help on how to handle web.config file using a single deployment project for multiple environment. I am currently working on automating the build and deploy of an ASP.NET Web Application developed using VB.Net in Visual Studio. The…
0
votes
0 answers

Is it correct to say that Groovy is to Gradle and an XML file is to Maven as makefiles are to Make?

makefiles instruct the build tool Make on how to compile and link a bunch of source code files. If I understand correctly, Gradle and Maven (as well as some other like Ant, Rake, Phing, and CMake) are also build tools that serve the same purpose as…
0
votes
3 answers

Create single jar from many eclipse projects

I'm doing the build automation for a java app with ant. This is a client-server app which has many projects in eclipse. I would like to create a jar file for the client and one for the server, but since the class dependencies are all over the…
Alonso
  • 1,069
  • 5
  • 12
  • 22
0
votes
1 answer

Is there a way to scrape variable information from the source files or folder names that my artifact is built from?

I have automated a build/deploy process in Azure Devops / TFS and would like to scrape a file or folder name as a variable from the source file path that is used for my build artifact. For example, I might want to scrape the folder name of the…
0
votes
3 answers

How can Hudson delete the artifacts created by my build?

Our organization's custom build tools write out a lot of intermediate data, and I'd like it if Hudson could detect which files were created as part of a build and archive those. I'm not sure if it already does so, but if it does there's no…
Chris R
  • 17,546
  • 23
  • 105
  • 172
0
votes
1 answer

How to integrate TOSCA with github

I have just started using TOSCA. Currenly using version 11.2. I would like to ask can we integrate TOSCA with github to store the repository? if yes, then how can we do it? which version to use for this ?
Hemant Varhekar
  • 42
  • 1
  • 1
  • 11
0
votes
1 answer

Java Connect Perforce Using the Keys

My Requirement is I want to connect to a perforce server "abc.def.com:1689" to access it requires my public and private key (identity basically) Now I want to achieve same using the Java Program. I want to connect to the Perforce server and perform…
Vikki Lohana
  • 39
  • 2
  • 10
0
votes
0 answers

Reboot during Domain Controller promotion?

I have developed a function to promote domain controllers in an existing forest then moves the DC from the standard Domain Controller OU to a sub OU. The function works however sometimes when running the function the server being promoted will…