diff --git a/README.md b/README.md index e4de77fe6..6ba34d823 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/build.gradle b/build.gradle index 4d15aaf52..72b966210 100644 --- a/build.gradle +++ b/build.gradle @@ -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 { @@ -23,8 +23,8 @@ task zip(type: Zip) { include "routes/**" include "views/**" } - destinationDir(file("dist")) - baseName "trainSchedule" + destinationDirectory = file("dist") + archiveBaseName = "trainSchedule" } //declare task dependencies @@ -32,4 +32,4 @@ build.dependsOn zip zip.dependsOn npm_build npm_build.dependsOn npm_test npm_test.dependsOn npmInstall -npm_build.dependsOn npmInstall \ No newline at end of file +npm_build.dependsOn npmInstall diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index bf3de2183..e1bef7e87 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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