krux / condition-jenkins

make sure the right build(jobs) on jenkins get published
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

How to set JENKINS_URL? #2

Closed zot24 closed 7 years ago

zot24 commented 7 years ago

I can't pass the following condition https://github.com/krux/condition-jenkins/blob/master/index.js#L7 and I was wondering how can I set JENKINS_URL env var in:

"release": {
     "branch": "master",
     "verifyConditions": {
       "path": "./node_modules/@krux/condition-jenkins"
     }
   }
zot24 commented 7 years ago

I just realise what was happening 👍 that env var it's on Jenkins by default my problem was a typo on the CI env variable that we need to set