Skip to content
Permalink
Browse files

Make lastBuildCommit global in CI script

  • Loading branch information
denikson committed Nov 9, 2019
1 parent c1bf4b4 commit bb10041a9b5e9a5cf6ef5abae89968c9da65b9e9
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/jenkins_master.groovy
@@ -1,6 +1,8 @@
/*
* BepInEx Bleeding Edge build CI jenkinsfile
*/
lastBuildCommit = ""

pipeline {
agent any
parameters {
@@ -13,8 +15,6 @@ pipeline {
script {
if(fileExists('last_build_commit'))
lastBuildCommit = readFile 'last_build_commit'
else
lastBuildCommit = ""
}
// Clean up old project before starting
cleanWs()

0 comments on commit bb10041

Please sign in to comment.
You can’t perform that action at this time.