Browse code

Better formatting for jenkinsfile example

Dan McPherson authored on 2016/11/30 02:39:33
Showing 2 changed files
... ...
@@ -43,7 +43,7 @@
43 43
         "strategy": {
44 44
           "type": "JenkinsPipeline",
45 45
           "jenkinsPipelineStrategy": {
46
-            "jenkinsfile": "node('nodejs') {\nstage('build') {\nopenshiftBuild(buildConfig: '${NAME}', showBuildLogs: 'true')\n}\nstage('deploy') {\nopenshiftDeploy(deploymentConfig: '${NAME}')\n}\n}"
46
+            "jenkinsfile": "node('nodejs') {\n  stage('build') {\n    openshiftBuild(buildConfig: '${NAME}', showBuildLogs: 'true')\n  }\n  stage('deploy') {\n    openshiftDeploy(deploymentConfig: '${NAME}')\n  }\n}"
47 47
           }
48 48
         }
49 49
       }
... ...
@@ -4034,7 +4034,7 @@ var _examplesJenkinsPipelineSamplepipelineJson = []byte(`{
4034 4034
         "strategy": {
4035 4035
           "type": "JenkinsPipeline",
4036 4036
           "jenkinsPipelineStrategy": {
4037
-            "jenkinsfile": "node('nodejs') {\nstage('build') {\nopenshiftBuild(buildConfig: '${NAME}', showBuildLogs: 'true')\n}\nstage('deploy') {\nopenshiftDeploy(deploymentConfig: '${NAME}')\n}\n}"
4037
+            "jenkinsfile": "node('nodejs') {\n  stage('build') {\n    openshiftBuild(buildConfig: '${NAME}', showBuildLogs: 'true')\n  }\n  stage('deploy') {\n    openshiftDeploy(deploymentConfig: '${NAME}')\n  }\n}"
4038 4038
           }
4039 4039
         }
4040 4040
       }