Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3bd45ad
gradle version bump
shoetheshoeless Apr 9, 2023
c0df2a9
Merge pull request #1 from shoetheshoeless/gradle
shoetheshoeless Apr 9, 2023
fb9930f
gradle version bump
shoetheshoeless Apr 9, 2023
e311f45
Merge pull request #2 from shoetheshoeless/gradle
shoetheshoeless Apr 9, 2023
ebd5891
Update build.gradle
shoetheshoeless Apr 9, 2023
0f4a0d4
Update build.gradle
shoetheshoeless Apr 9, 2023
b866927
Merge pull request #3 from shoetheshoeless/gradle
shoetheshoeless Apr 9, 2023
17b3327
destinationDirectory syntax change
shoetheshoeless Apr 9, 2023
fffb420
Merge pull request #4 from shoetheshoeless/gradle
shoetheshoeless Apr 9, 2023
eb187e8
destinationDirectory syntax change
shoetheshoeless Apr 9, 2023
4009b07
Merge pull request #5 from shoetheshoeless/gradle
shoetheshoeless Apr 9, 2023
f3ef817
archiveBaseName =
shoetheshoeless Apr 9, 2023
041ded8
Merge pull request #6 from shoetheshoeless/gradle
shoetheshoeless Apr 9, 2023
4a1d83f
replacing nodejs plugin that is no longer in use; com.moowork.node
shoetheshoeless Apr 9, 2023
501bf9d
Merge pull request #7 from shoetheshoeless/gradle
shoetheshoeless Apr 9, 2023
501abe1
updating project npm
shoetheshoeless Apr 9, 2023
8ee6d0a
Merge pull request #8 from shoetheshoeless/gradle
shoetheshoeless Apr 9, 2023
b4ed886
revert npm update
shoetheshoeless Apr 9, 2023
a43f9de
Merge pull request #9 from shoetheshoeless/gradle
shoetheshoeless Apr 9, 2023
8cd71fe
testing jenkins webhook with readme file change
shoetheshoeless Apr 9, 2023
f9be980
Merge pull request #10 from shoetheshoeless/gradle
shoetheshoeless Apr 9, 2023
941eb8e
Create Jenkinsfile
shoetheshoeless Apr 12, 2023
77da7f1
Delete Jenkinsfile
shoetheshoeless Apr 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# cicd-pipeline-train-schedule-jenkins

# testing jenkins webhook

This is a simple train schedule app written using nodejs. It is intended to be used as a sample application for a series of hands-on learning activities.

## Running the app
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
//inlude the nodeJS plugin to execute nodejs and npm tasks
id "com.moowork.node" version "1.2.0"
id "com.github.node-gradle.node" version "3.5.1"
}

node {
Expand All @@ -23,13 +23,13 @@ task zip(type: Zip) {
include "routes/**"
include "views/**"
}
destinationDir(file("dist"))
baseName "trainSchedule"
destinationDirectory = file("dist")
archiveBaseName = "trainSchedule"
}

//declare task dependencies
build.dependsOn zip
zip.dependsOn npm_build
npm_build.dependsOn npm_test
npm_test.dependsOn npmInstall
npm_build.dependsOn npmInstall
npm_build.dependsOn npmInstall
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists