Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump version number and add JenkinsFile
Browse files Browse the repository at this point in the history
Alan19 committed Jan 1, 2020

Verified

This commit was signed with the committer’s verified signature.
lobis Luis Antonio Obis Aparicio
1 parent 948f713 commit 653aa0f
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
@@ -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'

0 comments on commit 653aa0f

Please sign in to comment.