Add jenkins file

This commit is contained in:
Tom Raithel
2017-03-09 10:09:03 +01:00
parent 64705b5df8
commit 1c84624e3d
2 changed files with 30 additions and 2 deletions

29
Jenkinsfile.gradle Normal file
View File

@@ -0,0 +1,29 @@
#!/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
}
parallel(
frontend: {
stage('Build Frontend Assets') {
docker.image('aoepeople/fe-build-env:1.1.0').inside() {
ansiColor('xterm') {
sh "npm prune"
sh "npm install"
sh "npm run build"
}
}
}
},
)
}

View File

@@ -22,14 +22,13 @@
} }
&:hover { &:hover {
color: var(--color-white);
&:after { &:after {
content: ''; content: '';
position: absolute; position: absolute;
left: 0; left: 0;
bottom: -8px; bottom: -8px;
width: 100%; width: 100%;
border-bottom: 2px solid var(--color-white); border-bottom: 2px solid var(--color-gray-normal);
} }
} }
} }