Skip to content

Commit ee0f0db

Browse files
committed
s/tt/code/ html tags
1 parent ffd5669 commit ee0f0db

8 files changed

Lines changed: 20 additions & 20 deletions

File tree

plugin/src/main/java/jenkins/plugins/openstack/compute/OsAuthDescriptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public OsAuthDescriptor(Class<DESCRIBABLE> describableClass) {
6262
}
6363

6464
/**
65-
* Get relative <tt>fillDependsOn</tt> offsets to apply.
65+
* Get relative <code>fillDependsOn</code> offsets to apply.
6666
*/
6767
public abstract List<String> getAuthFieldsOffsets();
6868

plugin/src/main/java/jenkins/plugins/openstack/compute/ServerScope.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ protected boolean _equals(ServerScope o) {
146146
/**
147147
* Server is scoped to Jenkins node of the name equal to the specifier.
148148
*
149-
* Server marked as <tt>node:asdf</tt> will live only to support Jenkins node <tt>asdf</tt>.
149+
* Server marked as <code>node:asdf</code> will live only to support Jenkins node <code>asdf</code>.
150150
*/
151151
public static final class Node extends ServerScope {
152152
private final @Nonnull String name;

plugin/src/main/java/jenkins/plugins/openstack/compute/SlaveOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ private Object readResolve() {
268268
}
269269

270270
/**
271-
* Derive new options from current leaving <tt>null</tt> where same as default.
271+
* Derive new options from current leaving <code>null</code> where same as default.
272272
*/
273273
public @Nonnull SlaveOptions eraseDefaults(@Nonnull SlaveOptions defaults) {
274274
return new Builder()
@@ -294,7 +294,7 @@ private Object readResolve() {
294294
;
295295
}
296296

297-
/** Returns null if our <tt>base</tt> value is the same as the <tt>def</tt>ault value. */
297+
/** Returns null if our <code>base</code> value is the same as the <code>def</code>ault value. */
298298
private @CheckForNull <T> T _erase(@CheckForNull T base, @CheckForNull T def) {
299299
if (def == null) return base;
300300
if (def.equals(base)) return null;

plugin/src/main/java/jenkins/plugins/openstack/compute/internal/DestroyMachine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
/**
3737
* Dispose OpenStack VM *without* cleaning up the Jenkins computer.
3838
*
39-
* See <tt>jenkins.plugins.openstack.compute.JCloudsSlave.RecordDisposal</tt> for the variant that does both.
39+
* See <code>jenkins.plugins.openstack.compute.JCloudsSlave.RecordDisposal</code> for the variant that does both.
4040
*/
4141
@Restricted(NoExternalUse.class)
4242
public final class DestroyMachine implements Disposable {

plugin/src/main/java/jenkins/plugins/openstack/compute/internal/Openstack.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public Openstack(@Nonnull final OSClient<?> client) {
214214
/**
215215
* For every network requested, return mapping of network and number of available fixed addresses.
216216
*
217-
* Note the network-ip-availability is usually available for admins only so the method may return <tt>null</tt> in that case.
217+
* Note the network-ip-availability is usually available for admins only so the method may return <code>null</code> in that case.
218218
*
219219
* @return Map of requested networks and their free capacity. Might be empty.
220220
*/

plugin/src/main/resources/jenkins/plugins/openstack/compute/JCloudsCloud/help-endPointUrl.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The administrator for your OpenStack deployment should be able to provide this.
66
</li>
77
<li>
8-
If you have an &quot;<tt>openrc</tt>&quot; file then this is the value of <tt>OS_AUTH_URL</tt>.
8+
If you have an &quot;<code>openrc</code>&quot; file then this is the value of <code>OS_AUTH_URL</code>.
99
</li>
1010
<li>
1111
If you have a user-friendly web front end, you may find
@@ -16,8 +16,8 @@
1616
</li>
1717
</ul>
1818
For example, an Openstack deployment using &quot;v2 authentication&quot; might have an endpoint of
19-
<tt>https://some.host.name:5000/v2.0</tt>
19+
<code>https://some.host.name:5000/v2.0</code>
2020
<br/>
2121
Similarly, an Openstack deployment using &quot;v3 authentication&quot; might have an endpoint of
22-
<tt>https://some.other.host:5000/v3</tt><br/>
22+
<code>https://some.other.host:5000/v3</code><br/>
2323
</div>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div>
22
Networks the server should be connected to. Value is specified as a comma-separated list of names or UIDs without spaces.
3-
Optionally, name can be a set of alternative networks separated by a pipe (<tt>|</tt>). Examples:
3+
Optionally, name can be a set of alternative networks separated by a pipe (<code>|</code>). Examples:
44
<dl>
5-
<dt><tt>A,B</tt></dt><dd>Connect to 2 networks, A and B.</dd>
6-
<dt><tt>A|B</tt></dt><dd>Connect to 1 network, A or B.</dd>
7-
<dt><tt>A,B|C</tt></dt><dd>Connect to 2 networks, A and one of B or C.</dd>
8-
<dt><tt>A|B,C|D|E</tt></dt><dd>Connect to 2 networks, A or B and C, D or E.</dd>
9-
<dt><tt>A|B,A|B</tt></dt><dd>Create 2 network interfaces each connected to either A or B. There is no guarantee it will be the same.</dd>
5+
<dt><code>A,B</code></dt><dd>Connect to 2 networks, A and B.</dd>
6+
<dt><code>A|B</code></dt><dd>Connect to 1 network, A or B.</dd>
7+
<dt><code>A,B|C</code></dt><dd>Connect to 2 networks, A and one of B or C.</dd>
8+
<dt><code>A|B,C|D|E</code></dt><dd>Connect to 2 networks, A or B and C, D or E.</dd>
9+
<dt><code>A|B,A|B</code></dt><dd>Create 2 network interfaces each connected to either A or B. There is no guarantee it will be the same.</dd>
1010
</dl>
1111
</div>

plugin/src/main/resources/jenkins/plugins/openstack/compute/UserDataConfig/help-userData.jelly

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@
66
<dl>
77
<!-- Descriptor not exposed for help files? -->
88
<j:forEach var="entry" items="${app.getDescriptor('jenkins.plugins.openstack.compute.UserDataConfig').variables}">
9-
<dt><tt>${entry.name}</tt></dt>
9+
<dt><code>${entry.name}</code></dt>
1010
<dd><j:out value="${entry.description}"/></dd>
1111
</j:forEach>
1212
</dl>
1313
</p>
1414
<p>
1515
For example, a unix-based JNLP slave could use a script such as
1616
<blockquote>
17-
<tt>
17+
<code>
1818
#!/bin/sh<br/>
1919
mkdir -p &quot;$${SLAVE_JENKINS_HOME}&quot;<br/>
2020
wget &quot;$${SLAVE_JAR_URL}&quot; -O &quot;$${SLAVE_JENKINS_HOME}/slave.jar&quot;<br/>
2121
cd &quot;$${SLAVE_JENKINS_HOME}&quot;<br/>
2222
java $${SLAVE_JVM_OPTIONS} -jar &quot;$${SLAVE_JENKINS_HOME}/slave.jar&quot; -jnlpUrl &quot;$${SLAVE_JNLP_URL}&quot; -secret &quot;$${SLAVE_JNLP_SECRET}&quot;
23-
</tt>
23+
</code>
2424
</blockquote>
2525
whereas a Windows-based JNLP slave could use a script such as
2626
<blockquote>
27-
<tt>
27+
<code>
2828
#ps1<br/>
2929
mkdir -Force &quot;$${SLAVE_JENKINS_HOME}&quot;<br/>
3030
(new-object System.Net.WebClient).DownloadFile(&apos;$${SLAVE_JAR_URL}&apos;,&apos;$${SLAVE_JENKINS_HOME}\slave.jar&apos;)<br/>
3131
cd &quot;$${SLAVE_JENKINS_HOME}&quot;<br/>
3232
java $${SLAVE_JVM_OPTIONS} -jar &quot;slave.jar&quot; -jnlpUrl &quot;$${SLAVE_JNLP_URL}&quot; -secret &quot;$${SLAVE_JNLP_SECRET}&quot;
33-
</tt>
33+
</code>
3434
</blockquote>
3535
</p>
3636
</div>

0 commit comments

Comments
 (0)