Added Jenkinsfile

This commit is contained in:
JackCarterSmith 2018-11-15 12:26:45 +01:00
parent a1dbf19abe
commit 4543596dfa

2
Jenkinsfile vendored
View File

@ -28,6 +28,8 @@ cd /var/lib/jenkins/workspace/Orbital-Satellite_*'''
}
stage('JAR release') {
steps {
sh '''pwd
ls'''
archiveArtifacts(artifacts: 'build/libs/OrbitalSatellite-*.jar', excludes: 'build/libs/OrbitalSatellite-*.jar')
cleanWs(cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanWhenUnstable: true, cleanupMatrixParent: true, deleteDirs: true)
}