Merge branch 'master' into max_dev
commit
8a068b3c12
@ -0,0 +1,33 @@
|
|||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('Dependencies') {
|
||||||
|
steps {
|
||||||
|
echo 'Installing Dependencies...'
|
||||||
|
nodejs(nodeJSInstallationName: 'Node 12.x') {
|
||||||
|
sh 'npm i @angular/cli'
|
||||||
|
sh 'npm i'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Stylecheck') {
|
||||||
|
steps {
|
||||||
|
echo 'Checking Style...'
|
||||||
|
nodejs(nodeJSInstallationName: 'Node 12.x') {
|
||||||
|
sh 'tslint "src/**/*.ts"'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
echo 'Building...'
|
||||||
|
nodejs(nodeJSInstallationName: 'Node 12.x') {
|
||||||
|
sh 'ng build --prod'
|
||||||
|
}
|
||||||
|
sh '/bin/tar -zcvf greenvironment-frontend.tar.gz dist'
|
||||||
|
archiveArtifacts artifacts: 'greenvironment-frontend.tar.gz', fingerprint: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1,15 +1,15 @@
|
|||||||
export class User {
|
export class User {
|
||||||
loggedIn : boolean
|
loggedIn: boolean;
|
||||||
userID : number
|
userID: number;
|
||||||
username : string
|
username: string;
|
||||||
handle : string
|
handle: string;
|
||||||
email : string
|
email: string;
|
||||||
points : number
|
points: number;
|
||||||
level : number
|
level: number;
|
||||||
|
|
||||||
friendIDs : number[]
|
friendIDs: number[];
|
||||||
groupIDs : number[]
|
groupIDs: number[];
|
||||||
chatIDs : number[]
|
chatIDs: number[];
|
||||||
|
|
||||||
requestIDs : number[]
|
requestIDs: number[];
|
||||||
}
|
}
|
Loading…
Reference in New Issue