File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -591,14 +591,14 @@ pipeline {
591591 usernameVariable : ' GIT_USERNAME' , passwordVariable : ' GIT_PASSWORD' )]) {
592592 sh """ #!/bin/bash
593593 set -x
594- git config user.email "mc.stanislaw@gmail.com"
595- git config user.name "Stan Jenkins"
596- git worktree add doc/api/html gh-pages
597- rm -rf doc/api/html/*
598594 make doxygen
599595 cd doc/api/html
596+ git init
597+ git checkout -b gh-pages
598+ git config user.email "mc.stanislaw@gmail.com"
599+ git config user.name "Stan Jenkins"
600600 git add -f .
601- git commit --author='Stan BuildBot <mc.stanislaw@gmail.com>' -m "auto generated docs from Jenkins" --amend
601+ git commit --author='Stan BuildBot <mc.stanislaw@gmail.com>' -m "auto generated docs from Jenkins"
602602 git push https://${ GIT_USERNAME} :${ GIT_PASSWORD} @github.com/stan-dev/math.git gh-pages --force
603603 """
604604 }
You can’t perform that action at this time.
0 commit comments