Skip to content

Commit 0fef3cc

Browse files
Ash Crippsrichardlau
Ash Cripps
andauthored
ansible: set JOBS to 6 on AIX (#2477)
* ansible: set JOBS to 4 on AIX * Update ansible/roles/jenkins-worker/vars/main.yml Co-authored-by: Richard Lau <[email protected]> * ansible: set jobs to 6 on AIX Co-authored-by: Richard Lau <[email protected]>
1 parent 919ef99 commit 0fef3cc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ansible/roles/jenkins-worker/templates/aix.rc2.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ start )
1717
export NODE_TEST_DIR=$HOME/tmp; \
1818
export NODE_COMMON_PIPE="$HOME/test.pipe"; \
1919
export OSTYPE=AIX72; \
20+
export JOBS={{ jobs_env }}; \
2021
/usr/bin/java -Xmx128m -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=30 -jar "$HOME/slave.jar" \
2122
-secret {{secret}} \
2223
-jnlpUrl {{jenkins_url}}/computer/{{inventory_hostname}}/slave-agent.jnlp >$jenkins_log_file 2>&1 &'

ansible/roles/jenkins-worker/vars/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ scaleway_armv7: {
141141
# primarily for raspberry pi workers, some arm64 workers may need `server_jobs` defined in inventory
142142
# to override these low numbers
143143
jobs_variants: {
144+
aix: '6',
144145
armv6l: '1',
145146
armv7l: '2',
146147
arm64: '3',

0 commit comments

Comments
 (0)