Delete Jenkinsfile

This commit is contained in:
Aravindo Wingeier 2018-12-28 21:48:33 -03:00 committed by GitHub
parent 78f94d1a7e
commit e2c66139ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

31
Jenkinsfile vendored
View File

@ -1,31 +0,0 @@
#!/usr/bin/groovy
@Library('github.com/fabric8io/fabric8-pipeline-library@master')
def canaryVersion = "1.0.${env.BUILD_NUMBER}"
def utils = new io.fabric8.Utils()
mavenNode {
checkout scm
if (utils.isCI()) {
mavenCI {
integrationTestCmd =
"mvn org.apache.maven.plugins:maven-failsafe-plugin:integration-test \
org.apache.maven.plugins:maven-failsafe-plugin:verify \
-Dnamespace.use.current=false -Dnamespace.use.existing=${utils.testNamespace()} \
-Dit.test=*IT -DfailIfNoTests=false -DenableImageStreamDetection=true \
-P openshift-it"
}
} else if (utils.isCD()) {
echo 'NOTE: running pipelines for the first time will take longer as build and base docker images are pulled onto the node'
container(name: 'maven', shell:'/bin/bash') {
stage('Build Image') {
mavenCanaryRelease {
version = canaryVersion
}
}
}
}
}