mirror of
https://github.com/86Box/86Box.git
synced 2025-01-22 17:22:25 -05:00
Another Jenkins fix, so much for not having a testing environment
This commit is contained in:
parent
3b33f5a5c1
commit
6f6306410b
1 changed files with 3 additions and 3 deletions
6
.ci/Jenkinsfile
vendored
6
.ci/Jenkinsfile
vendored
|
@ -80,7 +80,7 @@ def presetFlags = [
|
||||||
|
|
||||||
def anyFailure = false
|
def anyFailure = false
|
||||||
|
|
||||||
def gitClone(branch) {
|
def gitClone(repository, branch) {
|
||||||
/* Read git tag from environment or set the default one. */
|
/* Read git tag from environment or set the default one. */
|
||||||
if (env.GIT_COMMIT == null)
|
if (env.GIT_COMMIT == null)
|
||||||
env.GIT_COMMIT = "*/$branch"
|
env.GIT_COMMIT = "*/$branch"
|
||||||
|
@ -193,7 +193,7 @@ pipeline {
|
||||||
node('Linux') {
|
node('Linux') {
|
||||||
try {
|
try {
|
||||||
/* Run git clone. */
|
/* Run git clone. */
|
||||||
gitClone(branch)
|
gitClone(repository, branch)
|
||||||
|
|
||||||
/* Switch to temp directory. */
|
/* Switch to temp directory. */
|
||||||
dir("${env.WORKSPACE_TMP}/output") {
|
dir("${env.WORKSPACE_TMP}/output") {
|
||||||
|
@ -227,7 +227,7 @@ pipeline {
|
||||||
stage("$os $arch $dynarec $preset") {
|
stage("$os $arch $dynarec $preset") {
|
||||||
try {
|
try {
|
||||||
/* Run git clone. */
|
/* Run git clone. */
|
||||||
gitClone(branch)
|
gitClone(repository, branch)
|
||||||
|
|
||||||
/* Switch to output directory. */
|
/* Switch to output directory. */
|
||||||
dir("${env.WORKSPACE_TMP}/output") {
|
dir("${env.WORKSPACE_TMP}/output") {
|
||||||
|
|
Loading…
Reference in a new issue