Skip to content

Commit ed59809

Browse files
authored
Merge pull request jenkinsci#127 from jglick/do-not-try-this-at-home-kids
Adding warnings to sources
2 parents 0e95d94 + c56a52b commit ed59809

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/main/java/org/jenkinsci/plugins/docker/workflow/DockerDSL.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
import org.jenkinsci.plugins.workflow.cps.CpsScript;
2929
import org.jenkinsci.plugins.workflow.cps.GlobalVariable;
3030

31+
/**
32+
* Something you should <strong>not copy</strong>. Write plain old {@code Step}s and leave it at that.
33+
*/
3134
@Extension public class DockerDSL extends GlobalVariable {
3235

3336
@Override public String getName() {

src/main/resources/org/jenkinsci/plugins/docker/workflow/Docker.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
*/
2424
package org.jenkinsci.plugins.docker.workflow
2525

26+
/**
27+
* Do not copy this idiom unless you fully understand the consequences.
28+
*/
2629
class Docker implements Serializable {
2730

2831
private org.jenkinsci.plugins.workflow.cps.CpsScript script

0 commit comments

Comments
 (0)