Skip to content

Commit

Permalink
Merge pull request #16 from UIUCLibrary/henryborchers-patch-1
Browse files Browse the repository at this point in the history
ci: Jenkin - remove call to fileloader
  • Loading branch information
henryborchers authored May 20, 2024
2 parents ba19ba8 + 40f1202 commit d8764ec
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
library identifier: 'JenkinsPythonHelperLibrary@2024.1.2', retriever: modernSCM(
[$class: 'GitSCMSource',
remote: 'https://github.com/UIUCLibrary/JenkinsPythonHelperLibrary.git',
])


def getMacToxTestsParallel(args = [:]){
def nodeLabel = args['label']
args.remove('label')
Expand Down Expand Up @@ -262,21 +268,14 @@ pipeline {
}
steps{
script{
def tox = fileLoader.fromGit(
'tox',
'https://github.com/UIUCLibrary/jenkins_helper_scripts.git',
'8',
null,
''
)
def linuxJobs = [:]

def windowsJobs = [:]
def macJobs = [:]
parallel(
'Tox Information Gathering For: Linux': {
if(nodesByLabel("linux && docker").size() > 0){
linuxJobs = tox.getToxTestsParallel(
linuxJobs = getToxTestsParallel(
envNamePrefix: 'Tox Linux',
label: 'linux && docker',
dockerfile: 'ci/docker/linux/tox/Dockerfile',
Expand All @@ -290,7 +289,7 @@ pipeline {
},
'Tox Information Gathering For: Windows': {
if(nodesByLabel('windows && docker').size() > 0){
windowsJobs = tox.getToxTestsParallel(
windowsJobs = getToxTestsParallel(
envNamePrefix: 'Tox Windows',
label: 'windows && docker',
dockerfile: 'ci/docker/windows/tox/Dockerfile',
Expand Down

0 comments on commit d8764ec

Please sign in to comment.