Skip to content

Commit

Permalink
Update jenkinsfile and gradle for new versions of things..
Browse files Browse the repository at this point in the history
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
  • Loading branch information
cpw committed Apr 25, 2020
1 parent 03c2a3d commit 4af0bfd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
15 changes: 3 additions & 12 deletions Jenkinsfile
Expand Up @@ -6,8 +6,8 @@ pipeline {
}
agent {
docker {
image 'gradlewrapper:latest'
args '-v gradlecache:/gradlecache'
image 'gradle:jdk8'
args '-v forgegc:/home/gradle/.gradle/'
}
}
environment {
Expand All @@ -18,13 +18,6 @@ pipeline {
}

stages {
/* This resets the checkout on jenkins, but doesn't take branch into account...
stage('fetch') {
steps {
checkout scm
}
}
*/
stage('notify_start') {
when {
not {
Expand Down Expand Up @@ -93,9 +86,7 @@ pipeline {
always {
script {
archiveArtifacts artifacts: 'projects/forge/build/libs/**/*.*', fingerprint: true, onlyIfSuccessful: true, allowEmptyArchive: true
//junit 'build/test-results/*/*.xml'
//jacoco sourcePattern: '**/src/*/java'


if (env.CHANGE_ID == null) { // This is unset for non-PRs
discordSend(
title: "${DISCORD_PREFIX} Finished ${currentBuild.currentResult}",
Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Expand Up @@ -431,11 +431,11 @@ project(':forge') {
installer 'org.ow2.asm:asm:7.2'
installer 'org.ow2.asm:asm-commons:7.2'
installer 'org.ow2.asm:asm-tree:7.2'
installer 'cpw.mods:modlauncher:5.0.+'
installer 'cpw.mods:grossjava9hacks:1.1.+'
installer 'net.minecraftforge:accesstransformers:2.0.+:shadowed'
installer 'net.minecraftforge:eventbus:2.0.+:service'
installer 'net.minecraftforge:forgespi:2.0.+'
installer 'cpw.mods:modlauncher:5.1.+'
installer 'cpw.mods:grossjava9hacks:1.3.+'
installer 'net.minecraftforge:accesstransformers:2.1.+:shadowed'
installer 'net.minecraftforge:eventbus:2.1.+:service'
installer 'net.minecraftforge:forgespi:2.1.+'
installer 'net.minecraftforge:coremods:2.0.+'
installer 'net.minecraftforge:unsafe:0.2.+'
installer 'com.electronwill.night-config:core:3.6.2'
Expand Down

0 comments on commit 4af0bfd

Please sign in to comment.