Hari Krishna Dara
Hari Krishna Dara
How about indenting continued line, like this: ``` flash( 'None of the email addresses or domains you entered' ' are valid', 'error', ) ```
I am using the cloned version on windows with ActivePython2.6.6.17 and the first time I run, I am told that a browser window will open, but nothing happens. ``` using...
OK, I added a `print URL` in uploader.py right before `webbrowser.open(url)` call and I was then able to copy paste the URL and get it going. BTW, I verified by...
@idij Did you override the `loadClass` method in [InterceptingGCL](https://github.com/jenkinsci/JenkinsPipelineUnit/blob/4e2b0718f1be2ef0cde580f6827474b7cc84c9fa/src/main/groovy/com/lesfurets/jenkins/unit/InterceptingGCL.groovy)? Also, I think you changed this line to call this new method, correct? https://github.com/jenkinsci/JenkinsPipelineUnit/blob/eb34a1f304491938b8d7eeac35fab080ccc81a86/src/main/groovy/com/lesfurets/jenkins/unit/global/lib/LibraryLoader.groovy#L104
@idij @stchar How do you test with local changes in this project? Should we install the jar to the local maven repo and then add it as a dependency from...
If I need to test a class (not a `vars` file) that has a method expecting the steps, how can I test it? E.g., ``` $ cat vars/test.groovy: def call()...
I guess that would work, but it is not convenient considering I have to create a separate `Jenkinsfile` for each test call, besides, this approach won't work with data driven...
I found that if I moved the code from the var file into a class that extends `CpsScript` I could then get the coverage without any extra effort. E.g., take...
@mahmoud-ashi The error is familiar to me and I have a workaround which involves changing this line: lib.exec("mkdir -p -m 775 ${f}") to this line this.lib.exec("mkdir -p -m 775 ${f}")...
@obfischer We do use this same technique and unit test them using [JenkinsPipelineUnit](https://github.com/jenkinsci/JenkinsPipelineUnit). I had to repeat some of the [setup for intercepting methods](https://github.com/jenkinsci/JenkinsPipelineUnit/blob/6d4315768c5568ea3d9ad75625e0745eca9d4be5/src/main/groovy/com/lesfurets/jenkins/unit/InterceptingGCL.groovy#L10) that the framework normally does while...