Skip to content

Commit 43ab445

Browse files
authored
fix: for loading configuration values (#94)
lets Jenkins load the old configuration values if you click `Configure` after you have created a pipeline using the CreateRaw step fixes #92
1 parent 294285e commit 43ab445

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

  • src/main/java/org/waveywaves/jenkins/plugins/tekton/client/build/create

src/main/java/org/waveywaves/jenkins/plugins/tekton/client/build/create/CreateRaw.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public class CreateRaw extends BaseStep {
5151
private String input;
5252
private String inputType;
5353
private boolean enableCatalog;
54-
private PrintStream consoleLogger;
55-
private ClassLoader toolClassLoader;
54+
private transient PrintStream consoleLogger;
55+
private transient ClassLoader toolClassLoader;
5656

5757
@DataBoundConstructor
5858
public CreateRaw(String input, String inputType, boolean enableCatalog) {
@@ -82,14 +82,15 @@ protected void setToolClassLoader(ClassLoader toolClassLoader) {
8282
this.toolClassLoader = toolClassLoader;
8383
}
8484

85-
protected String getInput(){
85+
public String getInput() {
8686
return this.input;
8787
}
88-
protected String getInputType(){
88+
89+
public String getInputType() {
8990
return this.inputType;
9091
}
9192

92-
protected boolean isEnableCatalog() {
93+
public boolean isEnableCatalog() {
9394
return enableCatalog;
9495
}
9596

0 commit comments

Comments
 (0)