Compare commits
8 Commits
v2023.08.2
...
v2023.08.2
Author | SHA1 | Date | |
---|---|---|---|
f0601b2028 | |||
4edf42183f | |||
f6fd4979d8 | |||
fca8010604 | |||
4c6226f47e | |||
357af4b7cf | |||
f2993c3667 | |||
5a3eeca071 |
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -23,6 +23,7 @@ pipeline {
|
|||||||
|
|
||||||
stage('Update emissary release') {
|
stage('Update emissary release') {
|
||||||
when {
|
when {
|
||||||
|
branch 'master'
|
||||||
expression {
|
expression {
|
||||||
return params.emissaryRelease != 'latest'
|
return params.emissaryRelease != 'latest'
|
||||||
}
|
}
|
||||||
@ -52,7 +53,6 @@ pipeline {
|
|||||||
echo '${params.emissaryRelease}' > emissary_release.txt
|
echo '${params.emissaryRelease}' > emissary_release.txt
|
||||||
git add emissary_release.txt
|
git add emissary_release.txt
|
||||||
git commit -m "feat: use emissary ${params.emissaryRelease}"
|
git commit -m "feat: use emissary ${params.emissaryRelease}"
|
||||||
git pull --rebase
|
|
||||||
git push origin \$(git rev-parse HEAD):${env.GIT_BRANCH}
|
git push origin \$(git rev-parse HEAD):${env.GIT_BRANCH}
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
@ -60,7 +60,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Build and release') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
withCredentials([
|
withCredentials([
|
||||||
@ -80,6 +80,9 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stage('Release') {
|
stage('Release') {
|
||||||
|
when {
|
||||||
|
branch 'master'
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
withCredentials([
|
withCredentials([
|
||||||
usernamePassword([
|
usernamePassword([
|
||||||
|
@ -1 +1 @@
|
|||||||
v2023.8.25-a1ec5b8
|
2023.8.25-stable.1802.612f18a
|
||||||
|
Reference in New Issue
Block a user