Skip to content

Commit 8cbae9b

Browse files
committed
update java tab
1 parent 39a9850 commit 8cbae9b

File tree

1 file changed

+29
-9
lines changed

1 file changed

+29
-9
lines changed

tutorials/set-up-cicd/set-up-cicd.md

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,31 @@ In this example, we're creating a repository on GitHub. You need a [GitHub](http
226226

227227
<!-- border; size:540px --> ![Configure stages](./configure-stages.png)
228228

229+
230+
#### Add unit tests and configure release
231+
232+
1. In the **Additional Unit Tests** section, switch the toggle button to **ON**.
233+
234+
2. Enter **test** in the **npm Script** field.
235+
236+
<!-- border; size:540px --> ![Add unit tests](./add-unit-tests.png)
237+
238+
3. In the **Release** section, switch the toggle **Deploy to Cloud Foundry Space** to **ON**.
239+
240+
4. Provide the required information for your account and complete the job creation:
241+
242+
- Enter the URL of your API endpoint in the **API Endpoint** field.
243+
- Enter the name of your Cloud Foundry organisation in the **Org Name** field.
244+
- Enter the name of your development space in the **Space** field.
245+
246+
> You can get the values from your subaccount's **Overview** page in the SAP BTP cockpit.
247+
248+
- Select **standard** from the dropdown in the **Deploy Type** field.
249+
- Open the value help in the **Credentials** field and choose the credential **cf** that you created in **Step 5: Add credentials**.
250+
- Choose **Create**.
251+
252+
<!-- border; size:540px --> ![Configure release](./configure-release.png)
253+
229254
[OPTION END]
230255

231256
[OPTION BEGIN [Java]]
@@ -242,15 +267,7 @@ In this example, we're creating a repository on GitHub. You need a [GitHub](http
242267

243268
<!-- border; size:540px --> ![Configure stages](./configure-stages-java.png)
244269

245-
[OPTION END]
246-
247-
#### Add unit tests and configure release
248-
249-
1. In the **Additional Unit Tests** section, switch the toggle button to **ON**.
250-
251-
2. Enter **test** in the **npm Script** field.
252-
253-
<!-- border; size:540px --> ![Add unit tests](./add-unit-tests.png)
270+
#### Configure release
254271

255272
3. In the **Release** section, switch the toggle **Deploy to Cloud Foundry Space** to **ON**.
256273

@@ -268,6 +285,9 @@ In this example, we're creating a repository on GitHub. You need a [GitHub](http
268285

269286
<!-- border; size:540px --> ![Configure release](./configure-release.png)
270287

288+
[OPTION END]
289+
290+
271291
### Create a GitHub webhook
272292

273293
1. Navigate to the **Repositories** tab and choose the **incident-management** repository that you created. Under the **Webhook Event Receiver** tab, choose **Webhook Data**.

0 commit comments

Comments
 (0)