Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4843f49

Browse files
Adding pipeline vars screenshot
1 parent01f23d9 commit4843f49

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

‎_docs/yaml-examples/examples/deploy-to-tomcat-via-scp.md‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ toc: true
1313

1414
##The Example Java Application
1515

16-
You can find the example project on[Github](https://github.com/codefresh-contrib/sparkjava-war-example).
16+
You can find the example project on[Github](https://github.com/codefresh-contrib/scp-war-app).
1717

1818
The example application is a simple Hello World Java application using the[Spark Java framework](http://sparkjava.com/):
1919

@@ -69,7 +69,7 @@ steps:
6969
type:"git-clone"
7070
stage:"clone"
7171
arguments:
72-
repo:"codefresh-contrib/sparkjava-war-example"
72+
repo:"codefresh-contrib/scp-war-app"
7373

7474
package:
7575
title:"Packaging war..."
@@ -103,7 +103,16 @@ The above pipeline does the following:
103103
104104
1. A [git-clone]({{$site.baseurl}}/docs/codefresh-yaml/steps/git-clone/) step that clones the main repository
105105
2. A [freestyle step]($$site.baseurl}}/docs/codefresh-yaml/steps/freestyle/) that installs the dependencies via Maven and packages our war file
106-
3. A freestyle step that transfers our application via scp to a Tomcat server
106+
3. A freestyle step that transfers our application via scp to a Tomcat server. Note that you will need to change the listed environment variables accordingly, either through the YAML itself, or through your pipeline settings:
107+
108+
{% include image.html
109+
lightbox="true"
110+
file="/images/examples/deployments/scp-variables.png"
111+
url="/images/examples/deployments/scp-variables.png"
112+
alt="Pipeline variables"
113+
caption="Pipeline variables"
114+
max-width="100%"
115+
%}
107116
108117
## What to Read Next
109118
21.3 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp