From 5d104d417fa1450d720fb5f4b898f361bc030d46 Mon Sep 17 00:00:00 2001 From: Miguel Arias Date: Fri, 28 Mar 2025 11:33:51 +0000 Subject: [PATCH 1/2] FDN-3358: flowcdn to cdn.flow.io consolidation --- Jenkinsfile | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e0e1cea..00b1053 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -50,17 +50,6 @@ pipeline { } } - stage('Lint') { - when { not { branch 'main' } } - steps { - container('nodejs') { - script { - sh(script: 'npm run lint') - } - } - } - } - stage('Commit SemVer tag') { when { branch 'main' } steps { @@ -75,7 +64,7 @@ pipeline { environment { NPM_TOKEN = credentials('jenkins-npm-automation-token') } - when { branch 'main' } + //when { branch 'main' } steps { container('nodejs') { withCredentials([ @@ -91,14 +80,14 @@ pipeline { node --version npm --version echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc - #sleep 1800 + sleep 1800 npm install && npm prune npm run build mv dist/js/main.css dist/css/main.css sed -i '.bak' 's/__APP_VERSION__/$semver/g' dist/index.html aws s3 sync dist/css s3://track.flow.io/test/css/$semver --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers aws s3 sync dist/js s3://track.flow.io/test/js/$semver --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers - sleep 1800 + #sleep 1800 aws s3 cp dist/index.html s3://track.flow.io/test --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers """ } From b4ae4a88bb411988fc3f94f1ccfa9976088f438c Mon Sep 17 00:00:00 2001 From: Miguel Arias Date: Fri, 28 Mar 2025 12:23:49 +0000 Subject: [PATCH 2/2] FDN-3358: flowcdn to cdn.flow.io consolidation --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 00b1053..3a1bcae 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -80,7 +80,7 @@ pipeline { node --version npm --version echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc - sleep 1800 + sleep 18000 npm install && npm prune npm run build mv dist/js/main.css dist/css/main.css