Commit abecec2
Re-add
Partially reverts 331c768.
In jenkinsci#8960 the `out` id was added to `pre.console-output`'s "otherwise"
case in `console.jelly`.
In 331c768, the `out` id was removed from `otherwise` when console output
was moved from `console.jelly` to `console-log.jelly`.
This may have broken the "Copy" button in some instances.
When clicked, the copy button will copy the inner text of a container
with the id referred to by the `ref` attribute of the copy button. The
copy button's ref attribute is `out`.
Wikimedia's Jenkins has no element with the `out` id on the console
page, which leads to copying `null` to the clipboard.
This was filed as https://phabricator.wikimedia.org/T410633.
Co-authored-by: Mark Waite <[email protected]>out id to Console Output (jenkinsci#25953)1 parent 0b18928 commit abecec2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments