Is it possible to have a gitlab-ci file wheres a build job defined with the following requirements:
- get executed when manual OR
- get executed by master push
I thought of something like this, but this is poorly false:
build_jar:
stage: build
script:
  - echo "build jar"
artifacts:
  paths:
    - jar/path/*.jar
only:
  - master
when: manual
Only solution for me is to have two jobs, one for the master push and one a manual input. But the disadvantage is, that in gitlab it becomes confusingly
 
     
     
     
     
     
     
    