Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
[JENKINS] Fix latest release (#32)
Browse files Browse the repository at this point in the history
* placeholder loader if json does not exist

* fix autoplay on header slides

* Automated release 0.1.23

* Refs #142010 - Optimize Volto-addons gitflow pipelines

* Automated release 0.1.23

* [JENKINS] Refs #142010 - Optimize Volto-addons gitflow pipelines

* [JENKINS] rollback last commit

* [JENKINS] Refs #142010 - Optimize Volto-addons gitflow pipelines

* Automated release 0.1.23

Co-authored-by: Daniela Mormocea <daniela.mormocea@gmail.com>
Co-authored-by: Nilesh <nileshgulia@gmail.com>
Co-authored-by: EEA Jenkins <@users.noreply.github.com>
Co-authored-by: valentinab25 <valentinab25>
Co-authored-by: Daniela Mormocea <38378382+danielamormocea@users.noreply.github.com>
  • Loading branch information
4 people authored Dec 3, 2021
1 parent 445eee7 commit 91c8b23
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [0.1.23](https://github.com/eea/volto-forests-theme/compare/0.1.22...0.1.23)

- Develop [`#31`](https://github.com/eea/volto-forests-theme/pull/31)
- fix autoplay on header slides [`#30`](https://github.com/eea/volto-forests-theme/pull/30)
- placeholder loader if json does not exist [`#29`](https://github.com/eea/volto-forests-theme/pull/29)
- Refs #142010 - Optimize Volto-addons gitflow pipelines [`4450362`](https://github.com/eea/volto-forests-theme/commit/445036275a9262292c8a22be10ef547b55ceacb2)

#### [0.1.22](https://github.com/eea/volto-forests-theme/compare/0.1.21...0.1.22)

Expand Down
36 changes: 17 additions & 19 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,23 @@ pipeline {

stages {

stage('Release') {
when {
allOf {
environment name: 'CHANGE_ID', value: ''
branch 'master'
}
}
steps {
node(label: 'docker') {
withCredentials([string(credentialsId: 'eea-jenkins-token', variable: 'GITHUB_TOKEN'),string(credentialsId: 'eea-jenkins-npm-token', variable: 'NPM_TOKEN')]) {
sh '''docker pull eeacms/gitflow'''
sh '''docker run -i --rm --name="$BUILD_TAG-gitflow-master" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_NAME="$GIT_NAME" -e GIT_TOKEN="$GITHUB_TOKEN" -e NPM_TOKEN="$NPM_TOKEN" -e LANGUAGE=javascript eeacms/gitflow'''
}
}
}
}

stage('Code') {
when {
allOf {
Expand Down Expand Up @@ -46,7 +63,6 @@ pipeline {
when {
allOf {
environment name: 'CHANGE_ID', value: ''
not { branch 'master' }
not { changelog '.*^Automated release [0-9\\.]+$' }
}
}
Expand Down Expand Up @@ -92,7 +108,6 @@ pipeline {
when {
allOf {
environment name: 'CHANGE_ID', value: ''
not { branch 'master' }
not { changelog '.*^Automated release [0-9\\.]+$' }
}
}
Expand Down Expand Up @@ -191,23 +206,6 @@ pipeline {
}
}

stage('Release') {
when {
allOf {
environment name: 'CHANGE_ID', value: ''
branch 'master'
}
}
steps {
node(label: 'docker') {
withCredentials([string(credentialsId: 'eea-jenkins-token', variable: 'GITHUB_TOKEN'),string(credentialsId: 'eea-jenkins-npm-token', variable: 'NPM_TOKEN')]) {
sh '''docker pull eeacms/gitflow'''
sh '''docker run -i --rm --name="$BUILD_TAG-gitflow-master" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_NAME="$GIT_NAME" -e GIT_TOKEN="$GITHUB_TOKEN" -e NPM_TOKEN="$NPM_TOKEN" -e LANGUAGE=javascript eeacms/gitflow'''
}
}
}
}

}

post {
Expand Down

0 comments on commit 91c8b23

Please sign in to comment.