I've been trying to setup automatic website publishing.

So far I have a test Jenkins job that does a simple commit/push:

 - https://ci-builds.apache.org/job/Tomee/job/site-publish

At the moment it's just a simple Freestyle job with a test script to see a 
successful commit/push work:

    git clone https://gitbox.apache.org/repos/asf/tomee-site-pub.git -b 
asf-staging-test
    cd tomee-site-pub
    date > test.txt
    git add test.txt
    git commit -m "test publish from ci-builds.apache.org" test.txt
    git push origin asf-staging-test

The trick and where I'm stuck is that we're using `master` as our main branch 
for https://tomee.apache.org and Jenkins is setup to only let us push a branch 
called `asf-site` or `asf-staging-*`

I've attempted to switch `tomee-site-pub` from `master` to `asf-site`, but it 
doesn't seem to work.  I've filed a ticket with Infra and will keep you updated:

 - https://issues.apache.org/jira/browse/INFRA-21903


-- 
David Blevins
http://twitter.com/dblevins
http://www.tomitribe.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to