-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
30 lines (28 loc) · 765 Bytes
/
Jenkinsfile
File metadata and controls
30 lines (28 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
pipeline {
agent any
environment {
CHROME_BIN='/usr/bin/google-chrome'
}
stages {
stage('Build') {
steps {
echo 'Building ..'
/* npm 'install -g @angular/cli@latest'
npm 'install --save-dev @angular-devkit/build-angular'
npm 'run build' */
}
}
stage('Test') {
steps {
echo 'Testing..'
/* npm 'run test' */
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
/* sh ' sshpass -p "1234567" scp -r dist/angular-keyclock *//* firstuser@nginxserver:/usr/share/nginx/html' */
}
}
}
}