Skip to content

Commit

Permalink
fix: multi jobName
Browse files Browse the repository at this point in the history
  • Loading branch information
xudafeng committed Feb 5, 2021
1 parent 3ec48d4 commit 65a1d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controller/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class BuildController extends Controller {
const result = await this.ctx.model.Build.findAll({
limit: 5,
where: {
jobName,
jobName: jobName.replace('__', '/'),
gitBranch,
},
order: [
Expand Down

0 comments on commit 65a1d27

Please sign in to comment.