Skip to content

Commit

Permalink
Bump version number and add JenkinsFile
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan19 committed Jan 1, 2020
1 parent 948f713 commit 653aa0f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions JenkinsFile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env groovy

pipeline {
agent any
stages {
stage('Clean') {
steps {
echo 'Cleaning Project'
sh 'chmod +x gradlew'
sh './gradlew clean'
}
}
stage('Build and Deploy') {
steps {
echo 'Building and Deploying to Maven'
script {
sh './gradlew build -Pbranch=' + env.BRANCH_NAME + ' uploadArchives'
}
}
}
}
post {
always {
archive 'build/libs/**.jar'
}
}
}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'

version = '0.4.10'
version = '0.5.0'
group = 'com.alan199921.astral' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'astral'

Expand Down

0 comments on commit 653aa0f

Please sign in to comment.