diff --git a/backend-server/src/index.ts b/backend-server/src/index.ts index 7656805..662ccbf 100644 --- a/backend-server/src/index.ts +++ b/backend-server/src/index.ts @@ -24,7 +24,8 @@ interface IBackup { projectName: string, projectURL: string, volumeName: string, - volumeURL: string + volumeURL: string, + day: string } interface IUpdate { @@ -50,7 +51,8 @@ const backupSchema = new mongoose.Schema({ projectName: String, projectURL: String, volumeName: String, - volumeURL: String + volumeURL: String, + day: }, { toJSON: { virtuals: true }, diff --git a/jenkinsFile b/jenkinsFile index c185525..9315e2d 100644 --- a/jenkinsFile +++ b/jenkinsFile @@ -1,16 +1,18 @@ pipeline { agent any - + tools { + nodejs 'nodejs' + } stages{ - stage('Build') { + stage('Checkout') { steps { - echo 'Building...' + git branch: 'jenkins-build' url: 'https://github.com/dumsilor/link-manage.git' } } - stage('Test') { + stage('Install Dependencies') { steps { - echo 'Testing...' + sh 'npm install' } } stage('Deploy') { diff --git a/src/app/components/pages/backup-list/backup-list.component.scss b/src/app/components/pages/backup-list/backup-list.component.scss index 7308aa2..0a18e34 100644 --- a/src/app/components/pages/backup-list/backup-list.component.scss +++ b/src/app/components/pages/backup-list/backup-list.component.scss @@ -66,9 +66,9 @@ td:nth-child(3):active { td { padding: 0.7rem 0.5rem; - -webkit-user-select: none; /* Safari */ - -ms-user-select: none; /* IE 10 and IE 11 */ - user-select: none; /* Standard syntax */ + // -webkit-user-select: none; /* Safari */ + // -ms-user-select: none; /* IE 10 and IE 11 */ + // user-select: none; /* Standard syntax */ } a{ diff --git a/src/app/shared/model/backup.model.ts b/src/app/shared/model/backup.model.ts index 776b063..2ada993 100644 --- a/src/app/shared/model/backup.model.ts +++ b/src/app/shared/model/backup.model.ts @@ -3,4 +3,5 @@ export class Backup{ projectURL!: string; volumeName!: string; volumeURL!: string; + day!: string; } \ No newline at end of file