-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ajustes Jenkins, Performance e Outros (#444)
* Jobs Jenkins * Jobs Jenkins * Jobs Jenkins * Testes Com grupos e Ajustes Diversos para velocidade * Ajustes nos testes da 41 para melhorar velocidade e agrupar * Subindo pasta assets para o sei41 * Atualizando check alive para ser compativel com a 41 * Atualizando rotina Jenkins com novo formato do phpunit
- Loading branch information
1 parent
d8630c2
commit 0fdf15c
Showing
60 changed files
with
1,573 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
/* | ||
Usuario jenkins precisa ter permissao de sudo | ||
Jenkins minimo em 2.332 | ||
chama o job 02 de forma serializada | ||
*/ | ||
|
||
pipeline { | ||
agent { | ||
node{ | ||
label "master" | ||
} | ||
} | ||
|
||
options { | ||
disableConcurrentBuilds() | ||
} | ||
|
||
parameters { | ||
|
||
string( | ||
name: 'versoes', | ||
defaultValue:"SPE=4.0.11,NOME_SPE=sei4,VERSAO_MODULO=master,BASE=mysql;SPE=4.0.12.15,NOME_SPE=sei4,VERSAO_MODULO=master,BASE=mysql;", | ||
description: "Lista de versoes do SPE e modulo no formato como exemplo acima, separados por ;") | ||
|
||
|
||
} | ||
|
||
stages { | ||
|
||
|
||
|
||
stage("Preparar execucao"){ | ||
|
||
steps{ | ||
|
||
script{ | ||
|
||
if ( env.BUILD_NUMBER == '1' ){ | ||
currentBuild.result = 'ABORTED' | ||
warning('Informe os valores de parametro iniciais. Caso eles n tenham aparecido faça login novamente') | ||
} | ||
|
||
QTDTENTATIVAS=0 | ||
VERSOES_STRING = params.versoes | ||
arrGeneral = VERSOES_STRING.split(';') | ||
|
||
buildDescription "Versoes: ${VERSOES_STRING}" | ||
|
||
} | ||
|
||
} | ||
|
||
} | ||
|
||
stage("Executar nas Bases"){ | ||
steps { | ||
script { | ||
|
||
def paramValue | ||
def spe_branch | ||
def spe_controle_versao | ||
def modulo_versao | ||
def database | ||
|
||
for (int i = 0; i < arrGeneral.length; i++) { | ||
paramValue = arrGeneral[i].split(',') | ||
spe_branch = paramValue[0].split('=')[1] | ||
spe_nome = paramValue[1].split('=')[1] | ||
modulo_versao = paramValue[2].split('=')[1] | ||
database = paramValue[3].split('=')[1] | ||
|
||
stage("Montando Ambiente Rodando Testes ${paramValue[0]} / ${paramValue[1]} / ${paramValue[2]}" ) { | ||
|
||
warnError('Erro no build!'){ | ||
|
||
retry(QTDTENTATIVAS){ | ||
|
||
|
||
build job: '02-Teste-Todos-os-Grupos.groovy', | ||
parameters: | ||
[ | ||
string(name: 'branchGitSpe', value: spe_branch), | ||
string(name: 'sistema', value: spe_nome), | ||
string(name: 'versaoModulo', value: modulo_versao), | ||
], wait: true | ||
} | ||
|
||
} | ||
|
||
} | ||
|
||
|
||
} | ||
|
||
} | ||
} | ||
|
||
} | ||
} | ||
|
||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
arquivo pequeno |
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 10 additions & 0 deletions
10
tests_sei41/funcional/assets/arquivos/test_files_index.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
https://archive.org/download/arquivo_pdf_testes/arquivo_pequeno.txt | ||
https://archive.org/download/arquivo_pdf_testes/arquivo_pequeno_A.pdf | ||
https://archive.org/download/arquivo_pdf_testes/arquivo_pequeno_B.pdf | ||
https://archive.org/download/arquivo_pdf_testes/arquivo_pequeno_C.pdf | ||
https://archive.org/download/arquivo_pdf_testes/arquivo_001.pdf | ||
https://archive.org/download/arquivo_pdf_testes/arquivo_003.pdf | ||
https://archive.org/download/arquivo_pdf_testes/arquivo_020.pdf | ||
https://archive.org/download/arquivo_pdf_testes/arquivo_060.pdf | ||
https://archive.org/download/arquivo_pdf_testes/arquivo_corrompimento_besimplesoap.pdf | ||
https://archive.org/download/arquivo_pdf_testes/arquivo_extensao_nao_permitida.docx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
tests_sei41/funcional/tests/TramiteProcessoComCancelamentoTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
tests_sei41/funcional/tests/TramiteProcessoComDevolucaoAlteracaoURLTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests_sei41/funcional/tests/TramiteProcessoComDevolucaoTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests_sei41/funcional/tests/TramiteProcessoComDevolucaoUnidadeDiferenteTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
tests_sei41/funcional/tests/TramiteProcessoComDocumentoRestritoHipotesePadraoTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
tests_sei41/funcional/tests/TramiteProcessoComDocumentoRestritoTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
tests_sei41/funcional/tests/TramiteProcessoComHistoricoTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests_sei41/funcional/tests/TramiteProcessoContendoDocumentoBeSimpleCorrompidoTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.