We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1be31d6 commit aa1d861Copy full SHA for aa1d861
scripts/deploy.groovy
@@ -1,5 +1,5 @@
1
node {
2
- git branch: 'master', url: 'git@github.com:code-troopers/website.git'
+ git branch: 'master', url: 'https://github.com/code-troopers/website.git'
3
docker.build('website-node').inside(){
4
sh 'rm -rf node_modules && ln -s /usr/src/app/node_modules node_modules'
5
sh 'npm run jenkins.prebuild'
@@ -16,6 +16,7 @@ node {
16
17
docker.build('website-node').inside('-v /var/jenkins_home/.ssh:/root/.ssh') {
18
19
+ sh 'git remote set-url origin [email protected]:code-troopers/website.git'
20
sh 'npm run jenkins.postbuild'
21
sh 'npm run jenkins.deploy'
22
}
0 commit comments