Cleanup extraneous build files
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- node
|
||||
- '6'
|
||||
node_js: node
|
||||
install: npm install
|
||||
script: npm run build
|
||||
deploy:
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
#!/usr/bin/env groovy
|
||||
|
||||
properties([
|
||||
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')),
|
||||
pipelineTriggers([
|
||||
pollSCM('H/15 * * * *')
|
||||
])
|
||||
])
|
||||
|
||||
node {
|
||||
stage('Preparations') {
|
||||
echo "Current branch: $env.BRANCH_NAME"
|
||||
checkout scm
|
||||
}
|
||||
|
||||
stage('Build Frontend Assets') {
|
||||
docker.image('aoepeople/fe-build-env:1.2.0').inside() {
|
||||
ansiColor('xterm') {
|
||||
sh "BABEL_CACHE_PATH=/tmp/.babel yarn install"
|
||||
sh "BABEL_CACHE_PATH=/tmp/.babel yarn run build"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Archive Artifacts') {
|
||||
sh "tar -czvf techradar.tar.gz -C dist/ ."
|
||||
archiveArtifacts artifacts: 'techradar.tar.gz', onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
5
build.sh
5
build.sh
@@ -1,5 +0,0 @@
|
||||
docker run --rm \
|
||||
-v $(pwd):/app \
|
||||
-w /app \
|
||||
aoepeople/fe-build-env:1.2.0 \
|
||||
sh -c "yarn && yarn run build"
|
||||
@@ -7,7 +7,7 @@ export default function PageIndex({ leaving, onLeave, items, navigate }) {
|
||||
return (
|
||||
<Fadeable leaving={leaving} onLeave={onLeave}>
|
||||
<div className="headline-group">
|
||||
<HeroHeadline alt="Mar 2017">AOE Technology Radar</HeroHeadline>
|
||||
<HeroHeadline alt="Mar 2017">AOE Technology Radar (beta)</HeroHeadline>
|
||||
</div>
|
||||
<QuadrantGrid items={items} />
|
||||
</Fadeable>
|
||||
|
||||
Reference in New Issue
Block a user