You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- pipeline {
- options {
- buildDiscarder(logRotator(artifactNumToKeepStr: '10'))
- }
- agent {
- docker {
- args '-v gradle-cache:/home/gradle/.gradle'
- image 'gradle:3.5-jdk8-alpine'
- }
-
- }
- stages {
- stage('Build') {
- steps {
- sh 'gradle build --no-daemon'
- }
- }
- stage('Archive') {
- steps {
- archiveArtifacts 'build/libs/*.jar'
- }
- }
- }
- }
|