Add jenkins file
This commit is contained in:
29
Jenkinsfile.gradle
Normal file
29
Jenkinsfile.gradle
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
)
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user