Commit 2bda9152 authored by Sean Talts's avatar Sean Talts
Browse files

Deal with develop formatting changes

parent 26accbb1
No related merge requests found
Showing with 4 additions and 1 deletion
+4 -1
......@@ -40,7 +40,10 @@ def alsoNotify() {
}
def mathUrl() { "https://github.com/stan-dev/math" }
def isFork() { env.CHANGE_URL && !env.CHANGE_URL.startsWith(mathUrl()) }
def branchName() { (isFork() ? "autoformat/" : "") + env.CHANGE_BRANCH }
def branchName() {
br = (isFork() ? "autoformat/" : "") + env.CHANGE_BRANCH
br ?: env.BRANCH_NAME
}
def remoteName() { isFork() ? mathUrl() : "origin" }
def force() { isFork() ? "-f" : "" }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment