spec:
nodeSelector: {}
output: {}
postCommit: {}
resources: {}
runPolicy: Serial
strategy:
jenkinsPipelineStrategy:
env:
- name: PROJECT_NAME
value: ${PROJECT_NAME}
- name: APP_NAME
value: test01
- name: GIT_SSL_NO_VERIFY
value: "true"
jenkinsfile: |
pipeline {
agent any
stages {
stage('Build') {
steps { echo 'Building..' }
}
stage("Docker builds") {
steps {
parallel (
"firstTask" : {
sh 'echo "Testing.."'
},
"secondTask" : {
sh 'echo "Testing too .."'
}
)
}
}
}
}
type: JenkinsPipeline
Created
November 3, 2017 19:33
-
-
Save thikade/069a55cad09c4174b55c0d8f24d371b7 to your computer and use it in GitHub Desktop.
openshift tips and tricks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
New pipeline version 1.2: