Cleanup extraneous build files
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js: node
|
||||||
- node
|
|
||||||
- '6'
|
|
||||||
install: npm install
|
install: npm install
|
||||||
script: npm run build
|
script: npm run build
|
||||||
deploy:
|
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 (
|
return (
|
||||||
<Fadeable leaving={leaving} onLeave={onLeave}>
|
<Fadeable leaving={leaving} onLeave={onLeave}>
|
||||||
<div className="headline-group">
|
<div className="headline-group">
|
||||||
<HeroHeadline alt="Mar 2017">AOE Technology Radar</HeroHeadline>
|
<HeroHeadline alt="Mar 2017">AOE Technology Radar (beta)</HeroHeadline>
|
||||||
</div>
|
</div>
|
||||||
<QuadrantGrid items={items} />
|
<QuadrantGrid items={items} />
|
||||||
</Fadeable>
|
</Fadeable>
|
||||||
|
|||||||
Reference in New Issue
Block a user