diff --git a/Jenkinsfile b/Jenkinsfile index 9f3b18a..95dc19d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,29 +2,27 @@ pipeline { agent { kubernetes { cloud 'rsys-devel' - defaultContainer 'miniforge3' - inheritFrom 'miniforge' + defaultContainer 'pip' + inheritFrom 'pip' } } stages { stage ("install") { steps { - sh 'conda env update -n base --file environment.yml' - sh 'useradd galaxy -m' - sh 'apt-get update' - sh 'apt-get install sudo -y' + sh 'pip install -r requirements.txt' + sh 'planemo ci_setup' } } stage ("lint") { steps { - sh "sudo -u galaxy planemo lint autobigs-cli.xml" + sh "planemo lint autobigs-cli.xml" } } stage ("test") { steps { - sh 'sudo -u galaxy mkdir test_results' - sh "sudo -u galaxy planemo test autobigs-cli.xml --test_output_junit test_results/junit_results.xml --test_output_json test_results/results.json --test_output test_results/human.html" + sh 'mkdir test_results' + sh "planemo test autobigs-cli.xml --test_output_junit test_results/junit_results.xml --test_output_json test_results/results.json --test_output test_results/human.html" xunit checksName: '', tools: [JUnit(excludesPattern: '', pattern: 'test_results/junit_report.xml', stopProcessingIfError: true)] } } diff --git a/autobigs-cli.xml b/autobigs-cli.xml index 20afb44..3d82a2d 100644 --- a/autobigs-cli.xml +++ b/autobigs-cli.xml @@ -1,76 +1,76 @@ - Automated MLST typing from PubMLST and InstitutPasteur. - - 0.5.0 - 0 - autobigs-cli_macros.xml - - + Automated MLST typing from PubMLST and InstitutPasteur. + + 0.5.0 + 0 + autobigs-cli_macros.xml + + - - autobigs-cli - + + autobigs-cli + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - mode['operation'] == 'st' - - - mode['operation'] == 'info' and mode['select_info']['retrieved'] == 'databases' - - - mode['operation'] == 'info' and mode['select_info']['retrieved'] == 'schemes' - - + + + + + + + + + + + + + + + + mode['operation'] == 'st' + + + mode['operation'] == 'info' and mode['select_info']['retrieved'] == 'databases' + + + mode['operation'] == 'info' and mode['select_info']['retrieved'] == 'schemes' + + - - - + + + @@ -79,26 +79,26 @@ - - - - - + + + + + - - - + + + - - - - - + + + + + - + ]]> @book{Deng2025RealYHD,