diff --git a/_assets/ci/Jenkinsfile.android b/_assets/ci/Jenkinsfile.android index 6631154c0..74ea08581 100644 --- a/_assets/ci/Jenkinsfile.android +++ b/_assets/ci/Jenkinsfile.android @@ -28,6 +28,7 @@ pipeline { environment { TARGET = 'android' + TMPDIR = "${WORKSPACE_TMP}" GOPATH = "${WORKSPACE_TMP}/go" PATH = "${PATH}:${GOPATH}/bin" REPO_SRC = "${GOPATH}/src/github.com/status-im/status-go" diff --git a/_assets/ci/Jenkinsfile.ios b/_assets/ci/Jenkinsfile.ios index 12e5b0ce9..50b3e3766 100644 --- a/_assets/ci/Jenkinsfile.ios +++ b/_assets/ci/Jenkinsfile.ios @@ -28,6 +28,7 @@ pipeline { environment { TARGET = 'ios' + TMPDIR = "${WORKSPACE_TMP}" GOPATH = "${WORKSPACE_TMP}/go" PATH = "${PATH}:${GOPATH}/bin" REPO_SRC = "${GOPATH}/src/github.com/status-im/status-go" diff --git a/_assets/ci/Jenkinsfile.linux b/_assets/ci/Jenkinsfile.linux index c6ea91600..aad83d98d 100644 --- a/_assets/ci/Jenkinsfile.linux +++ b/_assets/ci/Jenkinsfile.linux @@ -28,6 +28,7 @@ pipeline { environment { TARGET = 'linux' + TMPDIR = "${WORKSPACE_TMP}" GOPATH = "${WORKSPACE_TMP}/go" PATH = "${PATH}:${GOPATH}/bin" REPO_SRC = "${GOPATH}/src/github.com/status-im/status-go" diff --git a/_assets/ci/Jenkinsfile.tests b/_assets/ci/Jenkinsfile.tests index 2df6584b2..350def756 100644 --- a/_assets/ci/Jenkinsfile.tests +++ b/_assets/ci/Jenkinsfile.tests @@ -22,7 +22,8 @@ pipeline { } environment { - TARGET = 'linux' + TARGET = 'tests' + TMPDIR = "${WORKSPACE_TMP}" GOPATH = "${WORKSPACE_TMP}/go" PATH = "${PATH}:${GOPATH}/bin" REPO_SRC = "${GOPATH}/src/github.com/status-im/status-go" @@ -69,4 +70,11 @@ pipeline { } } } } // stages + + post { + always { script { env.PKG_URL = "${currentBuild.absoluteUrl}/consoleText" } } + success { script { github.notifyPR(true) } } + failure { script { github.notifyPR(false) } } + cleanup { dir(env.TMPDIR) { deleteDir() } } + } // post } // pipeline