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
Copy file name to clipboardExpand all lines: _docs/yaml-examples/examples/deploy-to-tomcat-via-scp.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ toc: true
13
13
14
14
##The Example Java Application
15
15
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).
17
17
18
18
The example application is a simple Hello World Java application using the[Spark Java framework](http://sparkjava.com/):
19
19
@@ -69,7 +69,7 @@ steps:
69
69
type:"git-clone"
70
70
stage:"clone"
71
71
arguments:
72
-
repo:"codefresh-contrib/sparkjava-war-example"
72
+
repo:"codefresh-contrib/scp-war-app"
73
73
74
74
package:
75
75
title:"Packaging war..."
@@ -103,7 +103,16 @@ The above pipeline does the following:
103
103
104
104
1. A [git-clone]({{$site.baseurl}}/docs/codefresh-yaml/steps/git-clone/) step that clones the main repository
105
105
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: