Adding node

This commit is contained in:
TheHouseWrecker
2020-03-30 21:32:35 +09:00
parent 144d227eaa
commit c78f17b50f

13
jenkins/Jenkinsfile vendored
View File

@@ -6,12 +6,12 @@ pipeline {
}
}
stages {
stage('Build') {
stage('Java Build') {
steps {
sh 'mvn -B -DskipTests clean package'
}
}
stage('Test') {
stage('Junit Test') {
steps {
sh 'mvn test'
}
@@ -21,5 +21,14 @@ pipeline {
}
}
}
stage('Install Node') {
steps {
sh 'RUN apt-get install -y curl \
&& curl -sL https://deb.nodesource.com/setup_9.x | bash - \
&& apt-get install -y nodejs \
&& curl -L https://www.npmjs.com/install.sh | sh'
sh 'npm ci'
}
}
}
}