Delete Jenkinsfile
This commit is contained in:
parent
78f94d1a7e
commit
e2c66139ef
31
Jenkinsfile
vendored
31
Jenkinsfile
vendored
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user