fix missing env prefix for CHANGE_TARGET
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
1aaf7f5acf
commit
3527a5d2ce
|
@ -52,8 +52,8 @@ def doGitRebase() {
|
|||
return
|
||||
}
|
||||
def rebaseBranch = 'develop'
|
||||
if (CHANGE_TARGET) { /* This is available for PR builds */
|
||||
rebaseBranch = CHANGE_TARGET
|
||||
if (env.CHANGE_TARGET) { /* This is available for PR builds */
|
||||
rebaseBranch = env.CHANGE_TARGET
|
||||
}
|
||||
sh 'git status'
|
||||
sh "git fetch --force origin ${rebaseBranch}:${rebaseBranch}"
|
||||
|
|
Loading…
Reference in New Issue