From 594c83013c56a74a10caaff79eb3893c6397776b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 15 Apr 2021 11:12:21 +0200 Subject: [PATCH] ci: upgrade jenkins lib to 1.2.12 to generalize GH release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is required to also ad GitHub releases to `status-desktop`. Also renamed `status-react-jenkins` to `status-jenkins-lib` for clarity. Depends on: https://github.com/status-im/status-react-jenkins/pull/23 Signed-off-by: Jakub SokoĊ‚owski --- ci/Jenkinsfile.android | 2 +- ci/Jenkinsfile.combined | 4 ++-- ci/Jenkinsfile.ios | 2 +- ci/Jenkinsfile.nix-cache | 2 +- ci/README.md | 4 ++-- ci/tools/Jenkinsfile.fastlane-clean | 2 +- ci/tools/Jenkinsfile.playstore-meta | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ci/Jenkinsfile.android b/ci/Jenkinsfile.android index 6dbd329054..bdafab91ad 100644 --- a/ci/Jenkinsfile.android +++ b/ci/Jenkinsfile.android @@ -1,4 +1,4 @@ -library 'status-react-jenkins@v1.2.11' +library 'status-jenkins-lib@v1.2.12' pipeline { agent { label 'linux' } diff --git a/ci/Jenkinsfile.combined b/ci/Jenkinsfile.combined index 919ac276d9..fad4e8a592 100644 --- a/ci/Jenkinsfile.combined +++ b/ci/Jenkinsfile.combined @@ -1,4 +1,4 @@ -library 'status-react-jenkins@v1.2.11' +library 'status-jenkins-lib@v1.2.12' pipeline { agent { label 'linux' } @@ -91,7 +91,7 @@ pipeline { build(job: 'misc/status.im', wait: false); break; case 'release': - github.publishReleaseMobile(); + github.publishReleaseFiles(repo: 'status-react'); break; } } } diff --git a/ci/Jenkinsfile.ios b/ci/Jenkinsfile.ios index 0ada4b6c63..4b6c6ac4c1 100644 --- a/ci/Jenkinsfile.ios +++ b/ci/Jenkinsfile.ios @@ -1,4 +1,4 @@ -library 'status-react-jenkins@v1.2.11' +library 'status-jenkins-lib@v1.2.12' pipeline { agent { label 'macos-xcode-12.3' } diff --git a/ci/Jenkinsfile.nix-cache b/ci/Jenkinsfile.nix-cache index 31662e0ae0..ab331ea606 100644 --- a/ci/Jenkinsfile.nix-cache +++ b/ci/Jenkinsfile.nix-cache @@ -1,4 +1,4 @@ -library 'status-react-jenkins@v1.2.11' +library 'status-jenkins-lib@v1.2.12' pipeline { agent { label params.AGENT_LABEL } diff --git a/ci/README.md b/ci/README.md index 5b4b63812a..6a08709485 100644 --- a/ci/README.md +++ b/ci/README.md @@ -6,11 +6,11 @@ This folder contains files defininf [Jenkins pipelines](https://jenkins.io/doc/b All `Jenkinsfile`s contain the following line: ```groovy -library 'status-react-jenkins@master' +library 'status-jenkins-lib@master' ``` Which loads the used methods - like `nix.shell()` - from a separate private repo: -https://github.com/status-im/status-react-jenkins +https://github.com/status-im/status-jenkins-lib This is done to improve security of our CI setup. diff --git a/ci/tools/Jenkinsfile.fastlane-clean b/ci/tools/Jenkinsfile.fastlane-clean index 923efbebd6..4ec1fcca92 100644 --- a/ci/tools/Jenkinsfile.fastlane-clean +++ b/ci/tools/Jenkinsfile.fastlane-clean @@ -1,4 +1,4 @@ -library 'status-react-jenkins@v1.2.11' +library 'status-jenkins-lib@v1.2.12' pipeline { agent { label 'macos' } diff --git a/ci/tools/Jenkinsfile.playstore-meta b/ci/tools/Jenkinsfile.playstore-meta index 170674472e..0335c92915 100644 --- a/ci/tools/Jenkinsfile.playstore-meta +++ b/ci/tools/Jenkinsfile.playstore-meta @@ -1,4 +1,4 @@ -library 'status-react-jenkins@v1.2.11' +library 'status-jenkins-lib@v1.2.12' pipeline { agent { label 'linux' }