Skip to content
Permalink
Browse files

Fixed build

  • Loading branch information...
Alex Stockinger
Alex Stockinger committed Jul 27, 2017
1 parent 819c2c9 commit a1ec51811e6a1fabd24933df552287b49da93b9c
Showing with 2 additions and 3 deletions.
  1. +1 −2 Jenkinsfile
  2. +1 −1 build.gradle
@@ -29,7 +29,7 @@ node() {
docker.build("testeefi-usage-$imageVersion")
}

def versionToTest = readFile("version.txt")
def versionToTest = readFile("version.txt").trim()
dir("usageTests/maven/") {
dockerImage.inside {
withCredentials([
@@ -43,7 +43,6 @@ node() {
script: "./build.sh $versionToTest",
returnStatus: true
)
println status
if(status != 0) {
println "Script returned nonzero status, build is unstable"
currentBuild.result == 'UNSTABLE'
@@ -25,7 +25,7 @@ allprojects {
repositories.addAll(rootProject.buildscript.repositories)

group "fi.testee"
version file("${rootProject.projectDir}/version.txt").text
version file("${rootProject.projectDir}/version.txt").text.trim()

apply plugin: 'jacoco'
}

0 comments on commit a1ec518

Please sign in to comment.
You can’t perform that action at this time.