Boa tarde pessoal, fiz a alteração de build para configurar o phantomJS, baixar o especifico para o meu S.O (windows) e fiz a mudança, porém, quando eu executo o job, ele faz os downloads das dependências necessárias e no final apresenta um erro. Alguém pode me ajudar ?
Caminho do meu phantomJS já descompactado
C:\Users\Renato\Desktop\Curso\jenkins\phantomjs-2.1.1-windows\bin
Como ficou configurado no jenkins
clean verify -Ptestes-integracao -Dphantomjs.binary.path=\Users\Renato\Desktop\Curso\jenkins\phantomjs-2.1.1-windows\bin\phantomjs
Erro apresentado no console do jenkins
Results :
Tests in error:
FiltraNegociacoesIT.iniciaNavegador:63->iniciaPhantomJs:137 » IllegalState The...
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] --- maven-pmd-plugin:3.6:pmd (default) @ argentum-web ---
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.6.201602180812:report (default) @ argentum-web ---
[INFO] Analyzed bundle 'argentum-web' with 12 classes
[INFO]
[INFO] --- maven-failsafe-plugin:2.19.1:verify (default) @ argentum-web ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:20 min
[INFO] Finished at: 2020-04-08T16:14:37-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify (default) on project argentum-web: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\Renato\.jenkins\workspace\argentum-web\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Build step 'Chamar alvos Maven de alto nível' marked build as failure
[DeployPublisher][INFO] Build failed, project not deployed
Finished: FAILURE