Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
  • Loading branch information
bensze01 committed Oct 12, 2023
1 parent c8f5e7e commit a2fdd0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/psa_crypto.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import jenkins.model.CauseOfInterruption
import org.jenkinsci.plugins.workflow.steps.FlowInterruptedException

void run_pr_job() {
if (env.TARGET_BRANCH != 'main') {
if (env.CHANGE_TARGET != 'main') {
echo 'PR target is not "main" branch - not building.'
throw new FlowInterruptedException(Result.NOT_BUILT, new CauseOfInterruption[0])
}
Expand Down

0 comments on commit a2fdd0f

Please sign in to comment.