Compare commits
2
Commits
d7abc9fb4b
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0724c6c9d7 | ||
|
|
2fee57bd44 |
Vendored
+12
@@ -43,6 +43,18 @@ pipeline {
|
||||
sh './gradlew testDebugUnitTest --no-daemon --stacktrace'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Deploy website') {
|
||||
// Only runs when a push actually touches website/, so unrelated
|
||||
// app commits don't trigger a redeploy. Just a plain file copy --
|
||||
// nginx serves the file straight off disk, no reload needed.
|
||||
when {
|
||||
changeset 'website/**'
|
||||
}
|
||||
steps {
|
||||
sh 'cp website/index.html /var/www/pinpoint-site/index.html'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
|
||||
Reference in New Issue
Block a user