The Charset Project for Minecraft.
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.

Jenkinsfile 486B

1234567891011121314151617181920212223
  1. pipeline {
  2. agent any
  3. stages {
  4. stage('Build') {
  5. steps {
  6. sh 'git submodule update --init --recursive'
  7. sh 'rm -f private.gradle'
  8. sh './gradlew setupCiWorkspace clean build --refresh-dependencies'
  9. archive 'build/libs/*jar'
  10. }
  11. }
  12. stage('Deploy') {
  13. steps {
  14. withCredentials([file(credentialsId: 'privateGradleNoSnapshot', variable: 'PRIVATEGRADLE')]) {
  15. sh '''
  16. cp "$PRIVATEGRADLE" private.gradle
  17. ./gradlew upload
  18. '''
  19. }
  20. }
  21. }
  22. }
  23. }