Commit graph

20 commits

Author SHA1 Message Date
e473acb3c9 Use an SSH username and private key combination 2020-10-10 01:37:03 -07:00
4a92c675ef Fix upload location
When using rrsync the directory it restricts you to becomes the base directory
you see.
2020-10-10 01:11:11 -07:00
0c0c1602e4 Escape backslashes
I’m not sure how/when to escape these in declarative pipelines
2020-10-10 01:05:47 -07:00
2a2bd05f8c Add known hosts to the rsync command 2020-10-10 01:02:05 -07:00
cb771cd950 Fix credentials used 2020-10-10 00:08:14 -07:00
258d99a4cb Try using chown to fix file permissions 2020-10-09 23:57:49 -07:00
34dc13695e Don’t preserve stashes between runs, don’t use global agent 2020-10-09 23:57:28 -07:00
f0a6ee309a Use any agent
Perhaps it needs to run everything on an agent for stash/unstash to work?
2020-10-09 23:33:39 -07:00
9095479324 Preserve stashes of the latest build
This is to help me inspect them to figure out why I can’t unstash them in the
other job.
2020-10-09 23:27:53 -07:00
d5e49d2a5c Run the Deploy step as root
Running as the default user Jenkins uses it doesn’t seem to have access to
wherever the artifacts from the previous steps get stored, so it fails to
extract them. Hopefully running as root will let it access them.
2020-10-09 23:18:50 -07:00
ede65b4db2 (Try to) Recursively include all files in public/ 2020-10-09 23:15:14 -07:00
1357f94e7e Don’t use any agent at all
The syntax for agent any was wrong and the default doesn’t really need an agent.
2020-10-09 23:12:05 -07:00
b052934ced Define top-level agent
Since all the stages define different agents, the top-level can use any agent.
2020-10-09 23:10:50 -07:00
f58fe670d9 Run stages using different container images
The Build/HTML stage needs the Emacs image because it uses Emacs to convert the
org files into html files. The Build/CSS stage runs in an image defined by the
Dockerfile in this repository, installing just make, npm, and lessc to convert
the less files into CSS files. And the Deploy step needs to upload using rsync
overs ssh.
2020-10-09 23:07:55 -07:00
d9e8ecd246 Install Cask dependencies before make 2020-10-09 22:38:41 -07:00
cd7aae642a Try running the Emacs container as root 2020-10-09 22:36:51 -07:00
1fae33754e Update the Jenkinsfile to use steps
The previous commit tried to change the Jenkinsfile to a declaractive, instead
of scripted, pipeline, and this was missed.
2020-10-09 22:20:16 -07:00
84725806f5 Try running with Dockerfile 2020-10-09 22:15:24 -07:00
a6d666a7e9 Put output in public_html/ 2020-09-26 16:20:18 -07:00
6dbbe818ca Add Jenkinsfile 2020-09-21 01:44:42 -07:00