diff --git a/README.md b/README.md index 02117e2..56512a5 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ pipeline { PROJECT_HOME = '/Data/jenkins/eapim' JAVA_HOME = '/App/jenkins/jdks/jdk1.8.0_441' - ANT_HOME = '/c/eactive/apps/apache-ant-1.10.15' + ANT_HOME = '/App/jenkins/apache-ant-1.10.15' PATH = "${env.PATH}:${env.JAVA_HOME}/bin:${env.ANT_HOME}/bin" } @@ -83,7 +83,9 @@ pipeline { stage('Archive WAR Artifact') { steps { echo '▶ Archiving WAR file...' - archiveArtifacts artifacts: "/Data/jenkins/eapim/BAPWeb/dist/BAPWeb.war", fingerprint: true + dir("${PROJECT_HOME}/BAPWeb/dist") { + archiveArtifacts artifacts: '*.war', fingerprint: true + } } } } diff --git a/build.xml b/build.xml index 6f2872e..1997555 100644 --- a/build.xml +++ b/build.xml @@ -1,7 +1,7 @@ - +