<commit_before>/*
  Project: https://github.com/gmacario/easy-jenkins
  File:    mydsl/seed_add_jenkins_slave.groovy

  References:
    - https://jenkinsci.github.io/job-dsl-plugin/#
 */
 
job('add_jenkins_slave') {
  scm {
    git('https://github.com/gmacario/easy-jenkins', '*/master')
    
    parameters {
      textParam('AgentList', 'build-yocto-slave', 'Name of agents to create, optionally more than one (each line makes one agent)')
      stringParam('AgentDescription', 'Auto-created Jenkins agent', 'Description that will be set for _every_ created agent')
      stringParam('AgentHome', '/home/jenkins', 'Remote filesystem root for the agent')
      stringParam('AgentExecutors', '2', 'Number of executors for the agent')
    }
    
    steps {
      systemGroovyScriptFile ('myscripts/add_slave_nodes.groovy') {
	      // TODO
      }
    }
  }
}<commit_msg>seed_add_jenkins_slave: Add parameter "AgentLabels"<commit_after>/*
  Project: https://github.com/gmacario/easy-jenkins
  File:    mydsl/seed_add_jenkins_slave.groovy

  References:
    - https://jenkinsci.github.io/job-dsl-plugin/#
 */
 
job('add_jenkins_slave') {
  scm {
    git('https://github.com/gmacario/easy-jenkins', '*/master')
    
    parameters {
      textParam('AgentList', 'build-yocto-slave', 'Name of agents to create, optionally more than one (each line makes one agent)')
      stringParam('AgentDescription', 'Auto-created Jenkins agent', 'Description that will be set for _every_ created agent')
      stringParam('AgentHome', '/home/jenkins', 'Remote filesystem root for the agent')
      textParam('AgentLabel', 'yocto', 'Labels associated to this agent (each line makes one label)')
      stringParam('AgentExecutors', '2', 'Number of executors for the agent')
    }
    
    steps {
      systemGroovyScriptFile ('myscripts/add_slave_nodes.groovy') {
	      // TODO
      }
    }
  }
}
{'fraction_non_alphanumeric': 0.1312433581296493, 'fraction_numerical': 0.0010626992561105207, 'mean_word_length': 3.42018779342723, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5306678', 'n_tokens_mistral': 612, 'n_tokens_neox': 584, 'n_words': 137}