You can code
def result = (branch == "main"
? "@daily"
: (branch == "master"
? "@hourly"
: ""))
Maybe you find a switch more readable:
def result
switch(branch) {
case "main":
result = "@daily"
break
case "mast
You can code
def result = (branch == "main" ? "@daily" : (branch == "master" ? "@hourly"
: ""))
Maybe you find a switch more readable:
def result
switch(branch) {
case "main": result = "@daily"
break
case "master": result = "@hourly"
You can code
```
def result = (branch == "main" ? "@daily" : (branch == "master" ? "@hourly"
: ""))
```
Maybe you find a switch more readable:
```
def result
switch(branch) {
case "main": result = "@daily"
break
case "master": result = "@hourly"
Hello,
I am trying to use the dashboard view of cppcheck plugin along with jobs
only running on nodes and I get an empty table.
[image: dashboard.PNG]
Whereas in the job itself I do have some error and warnings.
[image: job_results.PNG]
And for projects running directly on the master n