DocSpace-client/build/Jenkinsfile

36 lines
1.3 KiB
Plaintext
Raw Normal View History

2020-01-06 11:15:57 +00:00
pipeline {
2020-01-06 11:31:29 +00:00
agent { label 'net-core' }
2020-01-06 11:15:57 +00:00
stages {
2020-01-06 16:57:19 +00:00
stage('Build Components') {
2020-01-06 11:15:57 +00:00
steps {
2020-01-06 17:01:31 +00:00
sh 'yarn install --cwd web/ASC.Web.Components --frozen-lockfile'
sh 'yarn link --cwd packages/asc-web-components'
2020-01-06 16:57:19 +00:00
}
}
stage('Build Common') {
steps {
2020-01-06 17:01:31 +00:00
sh 'yarn link "asc-web-components" --cwd web/ASC.Web.Common'
sh 'yarn install --cwd web/ASC.Web.Common --frozen-lockfile'
sh 'yarn link --cwd packages/asc-web-common'
2020-01-06 16:57:19 +00:00
}
}
stage('Build Projects') {
parallel {
stage('Build Client') {
steps {
sh 'yarn link "asc-web-components" --cwd web/ASC.Web.Client'
sh 'yarn link "asc-web-common" --cwd web/ASC.Web.Client'
sh 'yarn install --cwd web/ASC.Web.Client --frozen-lockfile'
}
}
stage('Build People') {
steps {
sh 'yarn link "asc-web-components" --cwd products/ASC.People/Client'
sh 'yarn link "asc-web-common" --cwd products/ASC.People/Client'
sh 'yarn install --cwd products/ASC.People/Client'
}
}
2020-01-06 11:15:57 +00:00
}
}
}
}