You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Path of the file to be changed (relative path to the workspace directory)
86
94
2.
87
-
*path of the file to get the content from or a string, that should be inserted.
95
+
*Path of the file to get the content from or a string, that should be inserted.
88
96
* (Optional) Name of a placeholder
89
97
#### example
90
98
changeFile("cobigenexample/core/src/main/java/com/example/application/cobigenexample/customermanagement/dataaccess/api/CustomerEntity.java", { "file": "files/Placeholder.java", "placeholder": "private static final long serialVersionUID = 1L;" })
@@ -94,6 +102,8 @@ If you want to add content from a file:
94
102
{"file": "[path]"}
95
103
If you want to add a string to a file:
96
104
{"content": "[string]"}
105
+
If you want to add different contents for the katacoda and console runner, then use the properties "fileConsole" and "fileKatacoda" or "contentConsole" and "contentKatacoda":
If you want to insert content into your code between two existing lines, take the previous line as your placeholder. Add your placeholder into the new file or string, otherwise it will be replaced entirely.
99
109
@@ -108,11 +118,100 @@ Please try not to use custom placeholders. Keep in mind that you might want to b
108
118
109
119
***
110
120
111
-
### dockerCompose
121
+
### createFolder
112
122
#### parameter
113
-
1. Path to the Dockerfile
123
+
1. Path of the folder to be created, relative to the workspace directory. Subdirectories are also created.
114
124
#### example
115
-
dockerCompose("exampleproject")
125
+
createFolder("directoryPath/subDirectory")
126
+
127
+
***
128
+
129
+
### cloneRepository
130
+
#### parameter
131
+
1. Path into which the repository is to be cloned, relative to workspace.
0 commit comments