Skip to content

Commit d75437b

Browse files
committed
Correct some typos and indentation
1 parent bcc5e29 commit d75437b

5 files changed

Lines changed: 27 additions & 27 deletions

File tree

pipeline-template-examples/demos/multibranch-bitbucket-server/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# CloudBees Pipeline Templates Example
22
## Multibranch Pipeline Authentication for a Bitbucket Server
33

4-
This example shows how to add authentication to Bitbucket.org. The developer will supply the value for the ${repoName} parameter when they create their pipeline job in CloudBees Core, and Pipeline Templates then use the developer's value to replace the placeholder variable in the Jenkinsfile.
4+
This example shows how to add authentication to a Bitbucket server. The developer will supply the value for the ${repoName} parameter when they create their pipeline job in CloudBees Core, and Pipeline Templates then use the developer's value to replace the placeholder variable in the Jenkinsfile.
55

66
````
77
multibranch:
88
branchSource:
99
bitbucket:
10-
remote: https://bitbucket.beescloud.com
10+
remote: https://bitbucket.mycompany.com
1111
repoOwner: myCompany
1212
repository: ${repoName}
1313
credentialsId: my-team-bitbucket-credentials

pipeline-template-examples/demos/multibranch-git/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# CloudBees Pipeline Templates Example
22
## Multibranch Pipeline Authentication for a Git Server
33

4-
This example shows how to add authentication to Bitbucket.org. The developer will supply the value for the ${repoName} parameter when they create their pipeline job in CloudBees Core, and Pipeline Templates then use the developer's value to replace the placeholder variable in the Jenkinsfile.
4+
This example shows how to add authentication to your Git server. The developer will supply the value for the ${repoName} parameter when they create their pipeline job in CloudBees Core, and Pipeline Templates then use the developer's value to replace the placeholder variable in the Jenkinsfile.
55

66
````
77
multibranch:

pipeline-template-examples/demos/multibranch-github-com/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# CloudBees Pipeline Templates Example
22
## Multibranch Pipeline Authentication for Github.com
33

4-
This example shows how to add authentication to Bitbucket.org. The developer will supply the value for the ${repoName} parameter when they create their pipeline job in CloudBees Core, and Pipeline Templates then use the developer's value to replace the placeholder variable in the Jenkinsfile.
4+
This example shows how to add authentication to Github.com. The developer will supply the value for the ${repoName} parameter when they create their pipeline job in CloudBees Core, and Pipeline Templates then use the developer's value to replace the placeholder variable in the Jenkinsfile.
55

66
````
77
multibranch:

pipeline-template-examples/demos/multibranch-github-ent/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# CloudBees Pipeline Templates Example
22
## Multibranch Pipeline Authentication for Github Enterprise
33

4-
This example shows how to add authentication to Bitbucket.org. The developer will supply the value for the ${repoName} parameter when they create their pipeline job in CloudBees Core, and Pipeline Templates then use the developer's value to replace the placeholder variable in the Jenkinsfile.
4+
This example shows how to add authentication to your Github Enterprise instance. The developer will supply the value for the ${repoName} parameter when they create their pipeline job in CloudBees Core, and Pipeline Templates then use the developer's value to replace the placeholder variable in the Jenkinsfile.
55

66
````
77
multibranch:
88
branchSource:
99
github:
10-
apiUrl: https://github.beescloud.com/api/v3
10+
apiUrl: https://github.mycompany.com/api/v3
1111
repoOwner: myCompany
1212
repository: ${repoName}
1313
credentialsId: my-team-github-credentials

pipeline-template-examples/templates/simple-java-maven-app/Jenkinsfile

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,27 @@ pipeline {
1616

1717
post {
1818

19-
// Email Ext plugin:
20-
success {
21-
22-
emailext (
23-
subject: "SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
24-
body: """<p>SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p>
25-
<p>Check console output at &QUOT;<a href='${env.BUILD_URL}'>${env.JOB_NAME} [${env.BUILD_NUMBER}]</a>&QUOT;</p>""",
26-
to: "${emailRecipient}",
27-
from: "buildNotifications@emailaddress.com"
28-
)
29-
}
19+
// Email Ext plugin:
20+
success {
21+
22+
emailext (
23+
subject: "SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
24+
body: """<p>SUCCESSFUL: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p>
25+
<p>Check console output at &QUOT;<a href='${env.BUILD_URL}'>${env.JOB_NAME} [${env.BUILD_NUMBER}]</a>&QUOT;</p>""",
26+
to: "${emailRecipient}",
27+
from: "buildNotifications@emailaddress.com"
28+
)
29+
}
3030

31-
failure {
32-
33-
emailext (
34-
subject: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
35-
body: """<p>FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p>
36-
<p>Check console output at &QUOT;<a href='${env.BUILD_URL}'>${env.JOB_NAME} [${env.BUILD_NUMBER}]</a>&QUOT;</p>""",
37-
to: "${emailRecipient}",
38-
from: "buildNotifications@emailaddress.com"
39-
)
40-
}
31+
failure {
32+
33+
emailext (
34+
subject: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'",
35+
body: """<p>FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]':</p>
36+
<p>Check console output at &QUOT;<a href='${env.BUILD_URL}'>${env.JOB_NAME} [${env.BUILD_NUMBER}]</a>&QUOT;</p>""",
37+
to: "${emailRecipient}",
38+
from: "buildNotifications@emailaddress.com"
39+
)
40+
}
4141
}
4242
}

0 commit comments

Comments
 (0)