diff --git a/Jenkinsfile b/Jenkinsfile index e0e1cea..3a1bcae 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 18000 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 """ }