ci: upgrade jenkins lib to 1.2.12 to generalize GH release
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 <jakub@status.im>
This commit is contained in:
parent
2e94e0e765
commit
594c83013c
|
@ -1,4 +1,4 @@
|
||||||
library 'status-react-jenkins@v1.2.11'
|
library 'status-jenkins-lib@v1.2.12'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'linux' }
|
agent { label 'linux' }
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library 'status-react-jenkins@v1.2.11'
|
library 'status-jenkins-lib@v1.2.12'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'linux' }
|
agent { label 'linux' }
|
||||||
|
@ -91,7 +91,7 @@ pipeline {
|
||||||
build(job: 'misc/status.im', wait: false);
|
build(job: 'misc/status.im', wait: false);
|
||||||
break;
|
break;
|
||||||
case 'release':
|
case 'release':
|
||||||
github.publishReleaseMobile();
|
github.publishReleaseFiles(repo: 'status-react');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} }
|
} }
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library 'status-react-jenkins@v1.2.11'
|
library 'status-jenkins-lib@v1.2.12'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'macos-xcode-12.3' }
|
agent { label 'macos-xcode-12.3' }
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library 'status-react-jenkins@v1.2.11'
|
library 'status-jenkins-lib@v1.2.12'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label params.AGENT_LABEL }
|
agent { label params.AGENT_LABEL }
|
||||||
|
|
|
@ -6,11 +6,11 @@ This folder contains files defininf [Jenkins pipelines](https://jenkins.io/doc/b
|
||||||
|
|
||||||
All `Jenkinsfile`s contain the following line:
|
All `Jenkinsfile`s contain the following line:
|
||||||
```groovy
|
```groovy
|
||||||
library 'status-react-jenkins@master'
|
library 'status-jenkins-lib@master'
|
||||||
```
|
```
|
||||||
|
|
||||||
Which loads the used methods - like `nix.shell()` - from a separate private repo:
|
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.
|
This is done to improve security of our CI setup.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library 'status-react-jenkins@v1.2.11'
|
library 'status-jenkins-lib@v1.2.12'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'macos' }
|
agent { label 'macos' }
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
library 'status-react-jenkins@v1.2.11'
|
library 'status-jenkins-lib@v1.2.12'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'linux' }
|
agent { label 'linux' }
|
||||||
|
|
Loading…
Reference in New Issue