mirror of
https://github.com/JasonHHouse/gaps.git
synced 2026-02-13 06:09:16 -06:00
Adding node
This commit is contained in:
13
jenkins/Jenkinsfile
vendored
13
jenkins/Jenkinsfile
vendored
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user