Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8053443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:50:42+00:00 2026-06-05T07:50:42+00:00

I currently configured a jenkins server that validates my project on javascript errors with

  • 0

I currently configured a jenkins server that validates my project on javascript errors with JSlint ( with ant). Now i want to show all the errors with the violation plugin. I can generate an xml with all the errors. But it doesn’t show this in the graph.

This is my build.xml:

<?xml version="1.0" encoding="UTF-8"?>

<taskdef name="jslint"
       classname="com.googlecode.jslint4java.ant.JSLintTask"
       classpath="jslint/jslint4java-2.0.2.jar" />

<property name="reports.dir" value="reports" />

<target name="clean" description="Removes output files created by other targets.">
    <delete dir="${reports.dir}" failonerror="true" />
</target>

<target name="jslint" depends="clean">
    <mkdir dir="reports" />
    <jslint options="white,undef,plusplus,newcap,vars,indent=4">
        <predef>jQuery, setTimeout, history, window, document</predef>
        <formatter type="xml" destfile="jslint_results.xml"/> 
        <fileset dir="" includes="**/*.js" excludes="lib/*.js" />
    </jslint>
</target>

This is my violations setting:

violations settings

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T07:50:44+00:00Added an answer on June 5, 2026 at 7:50 am

    The pattern is relative to your workspace. So if your report ‘lives’ in <WORKSPACE>/reports the pattern should be reports/jslint_results.xml or **/jslint_results.xml

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently developing a web service that is configured to receive SMS text
The situation is this: We have several (19) sites that are currently configured to
HI, I want to find all input elements in a HTML string that has
I am working on a POC currently using Jenkins as CI server. I have
I am currently developing Unit Tests for a Javascript method that detects the readiness
I have a simple Jenkins build that pulls down my project from github, builds
On a current project which I'm currently working, i have a symfony task that
currently we have an application that is configured by using a datasource inside a
I currently have my app configured for file sharing through itunes. However, I want
I'm currently working on a project involved in deploying Windows 7 (configured to our

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.