Skip to content
This repository has been archived by the owner on Mar 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1 from assertis/deb_pipeline
Browse files Browse the repository at this point in the history
debs and pipeline
  • Loading branch information
ArturZurawski authored Jun 29, 2017
2 parents fbdfeb6 + f2d2caa commit 9391aab
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 12 deletions.
33 changes: 33 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/usr/bin/env groovy

import uk.co.assertis.*

node {
def logger = new Logger(steps, true)
def gitVars = new GitVars(this)
def debBuildOptions = [
debug: "1"
]
def shBuildOptions = [
:]
def unitOptions = [
:]
def acceptanceOptions = [
:]
def utils = new Utils(this, logger, gitVars, shBuildOptions, unitOptions, acceptanceOptions)
def debs = new Debs(this, steps, logger, gitVars, utils, "awt-webs.live", debBuildOptions)

stage("Prepare") {
checkout scm
gitVars.setDisplayName()
}

if (utils.hasBuildFiles()) {
stage("Build an app") {
utils.runBuildFiles()
}
}

utils.runUnitTests()
debs.buildAndRelease()
}
3 changes: 0 additions & 3 deletions script/build.sh

This file was deleted.

3 changes: 0 additions & 3 deletions script/migrate.sh

This file was deleted.

3 changes: 0 additions & 3 deletions script/postinst.sh

This file was deleted.

3 changes: 0 additions & 3 deletions script/test.sh

This file was deleted.

0 comments on commit 9391aab

Please sign in to comment.