Запуск параметризированных тестов в Jenkins(Java+testng+maven)

всем привет, помогите, пожалуйста начинающему тестировщику. Тесты запускаются в идее, запускаются через командную строку мавена. Но в Jenkins проект собирается, но тесты не запускаются. Использую dataprovider testng, в датапровайдере метод, который считывает и преобразовывает данные из csv файла.
Pom.xml

  <version>1.0-SNAPSHOT</version>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <suiteXmlFile>testng.xml</suiteXmlFile>
        <skipTests>false</skipTests>
        <compiler.version>1.7</compiler.version>
        <allure.version>1.4.3</allure.version>
        <aspectj.version>1.8.2</aspectj.version>

    </properties>


    <build>
        <resources>
            <resource>
                <directory>src/main/resources/top200</directory>
                <filtering>false</filtering>
                <includes>
                    <include>**/db.properties</include>
                    <include>**/wsdl/*</include>
                    <include>**/abc.p12</include>
                    <include>**/scripts/*</include>
                </includes>
            </resource>
        </resources>
        <testResources>
            <testResource>
                <directory>src/test/resources/top200</directory>
                <filtering>false</filtering>
                <includes>
                    <include>**/db.properties</include>
                    <include>**/wsdl/*</include>
                    <include>**/abc.p12</include>
                    <include>**/scripts/*</include>
                </includes>
            </testResource>
        </testResources>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.2</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>

                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.17</version>
                <configuration>
                    <argLine>
                        -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
                    </argLine>
                    <properties>
                        <!--<property>
                            <name>listener</name>
                            <value>ru.yandex.qatools.allure.junit.AllureRunListener</value>
                        </property>-->
                    </properties>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>org.aspectj</groupId>
                        <artifactId>aspectjweaver</artifactId>
                        <version>${aspectj.version}</version>
                    </dependency>
                </dependencies>
            </plugin>
            <!--<plugin>-->
            <!--<groupId>org.apache.maven.plugins</groupId>-->
            <!--<artifactId>maven-surefire-plugin</artifactId>-->
            <!--<version>2.7.1</version>-->
            <!--<configuration>-->
            <!--<parallel>classes</parallel>-->
            <!--<threadCount>4</threadCount>-->
            <!--</configuration>-->
            <!--</plugin>-->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-site-plugin</artifactId>
                <version>3.4</version>
            </plugin>

        </plugins>
    </build>

    <reporting>
        <excludeDefaults>true</excludeDefaults>
        <plugins>
            <plugin>
                <groupId>ru.yandex.qatools.allure</groupId>
                <artifactId>allure-maven-plugin</artifactId>
                <version>2.0</version>
            </plugin>
        </plugins>
    </reporting>

в ходе сборки jenkins пишет такое:

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ cengage2.0 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ cengage2.0 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 41 source files to C:\Program Files (x86)\Jenkins\workspace\....
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ cengage2.0 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource

А как вы на дженкинсе эти тесты запускаете? Какой командой?

clean install -Dtest=Top200.TestTop200 -DfailIfNoTests=false

  • Версии зависимостей у вас очень старые в pom. Желательно все же обновиться перед выполнением следующих шагов.
  • Вы хотите запустить какой-то конкретный тестовый класс, или целый suite из testng.xml?

Всем спасибо, проблему нашла, все запустилось. Ошибка все-таки была в команде, класс переименовала в проекте, а в команде не изменила.