Using jenkins

Post here if your topic is about CSS HTML Validator but doesn't fit in another forum.
Post Reply
Modist
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 4
Joined: Wed Oct 22, 2014 4:58 pm

Using jenkins

Post by Modist » Sun Oct 26, 2014 4:54 pm

Hi,

Im trying to use the validator together with Jenkins - and have some issues. We're using the Registered version of PRO

the following command work when executed in a command-window - but does not have an effect when run through Jenkins in a buildscript. I have tried enabling the log - and there are no new log-entries when calling it from Jenkins.

COMMAND:
"C:\Program Files (x86)\HTMLValidator\cmdlineprocessor.exe" -veofile "c:\tmp\responsiveemail.veo" "c:\tmp\default.html" -msgwindow "Jwindowname" -x1

any kind of suggestion will be highly appreciated

Kind regards
Morten

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3316
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Using jenkins

Post by Albert Wiersch » Sun Oct 26, 2014 4:58 pm

Hello Morten,

I'm not familiar with Jenkins, but could it be running CSE HTML Validator under a different account? If so, then that will usually affect the settings and registration because it stores and uses different settings based on the user account it is running under.
Image
Albert Wiersch

Modist
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 4
Joined: Wed Oct 22, 2014 4:58 pm

Re: Using jenkins

Post by Modist » Sun Oct 26, 2014 5:17 pm

ah - that makes sense _ will try to login with this user and test

will get back with the result

Modist
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 4
Joined: Wed Oct 22, 2014 4:58 pm

Re: Using jenkins

Post by Modist » Sun Oct 26, 2014 5:34 pm

it worked :-) I thought that when I referred to a veofile it would have the same effect.

btw have you considered supporting generating the output in checkstyle-format ?

If anybody is interested I have made a small c#-parser - I will gladly post the code in this forum if needed.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3316
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Using jenkins

Post by Albert Wiersch » Sun Oct 26, 2014 10:29 pm

Great! I'm glad that worked.

The veo file only affects most validator engine settings, not everything.

I'm not sure what you mean by "checkstyle-format". Can you be more specific? You should be able to generate the output in almost any format you want using custom user functions, but that requires some coding.

Thanks for your offer on the C# parser! If you think someone might find it helpful then can you post it in the forum in a separate thread?
Image
Albert Wiersch

Post Reply