Skip to content

Commit

Permalink
#156. Switch publishing to Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Joński committed Dec 30, 2016
1 parent 50a8aac commit 13a24c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ pipeline {
sh "git --work-tree=repo/ --git-dir=repo/.git remote add origin [email protected]:sta-szek/pojo-tester.git"
sh "git --work-tree=repo/ --git-dir=repo/.git fetch -q -n origin"
sh "git --work-tree=repo/ --git-dir=repo/.git reset -q origin/gh-pages"
sh "git --work-tree=repo/ --git-dir=repo/.git add -A repo/"
sh "ls -al"
sh "ls -al repo/"
sh "git --work-tree=repo/ --git-dir=repo/.git add -A ."
sh "git --work-tree=repo/ --git-dir=repo/.git commit -m 'Rebuild pojo-tester pages by jenkins'"
sh "git --work-tree=repo/ --git-dir=repo/.git push origin HEAD:gh-pages"
}
Expand Down

0 comments on commit 13a24c6

Please sign in to comment.