Skip to content

Commit 18ec717

Browse files
committed
#4 Review changes: Add whitespace and clarifications
Signed-off-by: Philipp Pixel <[email protected]>
1 parent 1890580 commit 18ec717

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

vars/helper.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ String findHostName() {
1010
script.error 'Unable to determine hostname from env.JENKINS_URL. Expecting http(s)://server:port/jenkins'
1111
}
1212
return (env.JENKINS_URL =~ regexMatchesHostName)[0][1]
13-
}
13+
}

vars/truststore.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ def use(Closure inner) {
3535
} finally {
3636
sh "rm -f ./${truststoreFile}"
3737
}
38-
}
38+
}

vars/truststore.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Starts copies and provides a truststore files for safe use over different Jenkins nodes. When the build job finishes there
1+
Copies and provides a truststore file for safe use over different Jenkins nodes. When the build job finishes there
22
will be no truststore file left in the Jenkins workspace.
33

44
By default Jenkins's truststore will be used: `/var/lib/jenkins/truststore.jks`

vars/withMavenSettings.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ def customMvnWithSettings(def nexusCredentials, String cesFQDN, String mvnHome,
7272

7373
def mvnWithHome(String mvnHome, String settingsXml, String mvnCallArgs) {
7474
sh "${mvnHome}/bin/mvn -s ${settingsXml} --batch-mode -V -U -e -Dsurefire.useFile=false ${mvnCallArgs}"
75-
}
75+
}

vars/withMavenSettings.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
provides more sophisticated Maven support for custom `settings.xml` files which refer central maven mirror to in the
1+
Provides sophisticated Maven support for custom `settings.xml` files which refer to a central maven mirror in the
22
context of a Cloudogu EcoSystem. This global variable writes custom `settings.xml` files and can additionally invoke a
33
provided or custom Maven call.
44

@@ -11,15 +11,15 @@ Once written, the `settings.xml`'s structure will look like this:
1111
| +-> localRepository
1212
| `-> servers
1313
| `-> server
14-
| +-> id
15-
| +-> username
16-
| `-> password
14+
| +-> id (generated with FQDN)
15+
| +-> username (taken from credentials)
16+
| `-> password (taken from credentials)
1717
|
1818
`-> mirrors
1919
`-> mirror
2020
+-> id (reference to the server id)
21-
+-> name
22-
+-> url
21+
+-> name (generated from FQDN)
22+
+-> url (generated from FQDN)
2323
+-> mirrorOf (fixed value of central maven mirror)
2424

2525
Example call:

0 commit comments

Comments
 (0)