-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while building the application #14
Comments
Are you using https://github.com/bmoers/sn-cicd-example-v3 or directly the sn-cicd app? |
i used sn-cicd app |
Please follow the steps here to get the CICD server running |
Thanks a lot. it helped me to progress. however after configuring all the pre-requisites and build the application, getting struck as shown below also there is no reference to github in logs.
[08:39:31.785] [LOG] [18732] /\ [08:39:32.185] [LOG] [18732] INIT mode server : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : /\ \ /\ \ /\ [08:39:38.755] [WARN] [18352] Overloading Module: 'exampleJob' from Path: G:\sn-cicd-example-v3-master\modules\example-job.js /\ \ /\ \ /\ [08:39:38.904] [WARN] [16648] [08:39:38.909] [LOG] [18352] [08:39:38.875] [LOG] [17540] Overloading Module: 'exampleJob' from Path: G:\sn-cicd-example-v3-master\modules\example-job.js /\ \ /\ \ /\ [08:39:39.034] [LOG] [17540] INIT mode worker /\ \ /\ \ /\ [08:39:39.256] [LOG] [16648] INIT mode worker |
The log message "[08:39:53.928] [LOG] [17540] run.run : Embedded Build is disabled. Waiting for external Build Tool to run." indicates that the CICD server is not take any further action (e.g. raise pull request). This is due to corresponding configuration in the .env file. Please check if your .env file is according the example here https://github.com/bmoers/sn-cicd-example/blob/release/4/example.env |
hi,
getting the below error in node when i click on build this application ui action in servicenow. can you help?
[01:48:35.102] [LOG] [19196] [/worker#lwLR4eV-RSALbmdVAAAA] Starting module: projectSetup
[01:48:35.105] [LOG] [19196] [/worker#lwLR4eV-RSALbmdVAAAA] STARTING PROMISE JOB 'projectSetup'
[01:48:35.112] [ERROR] [19196] [/worker#lwLR4eV-RSALbmdVAAAA] PROMISE JOB ERROR: Job 'projectSetup' { type: 'exe',
name: 'projectSetup',
options:
{ updateSet: '261c169d1b9c48106933fc88cc4bcb2b',
application:
{ id: '268e9d5fdbb32300fcf417803996195e',
name: 'CICD Test Application' },
requestor:
{ userName: 'admin',
fullName: 'System Administrator',
email: 'admin@example.com' },
atf: { updateSetOnly: false },
git: { repository: 'x_11413_cicd_test' },
source: { name: 'https://dev1234.service-now.com/' },
master: { name: null },
target: { name: null } },
host: 'LAPTOP-JS3P7BMM',
id: '4ef3da58-0405-4c17-8d50-87f0474dac90',
emitter: { _events: {}, _eventsCount: 2 },
created: 1570168115100,
completed: null,
workerId: '/worker#lwLR4eV-RSALbmdVAAAA',
result: undefined,
error: undefined } Error: Configuration Error: source server host name not defined in config.host.name
at Promise.try (C:\Users\ganes\Desktop\sn-cicd-master\sn-cicd-master\lib\modules\project-setup.js:198:23)
at tryCatcher (C:\Users\ganes\Desktop\sn-cicd-master\sn-cicd-master\node_modules\bluebird\js\release\util.js:16:23)
at Function.Promise.attempt.Promise.try (C:\Users\ganes\Desktop\sn-cicd-master\sn-cicd-master\node_modules\bluebird\js\release\method.js:39:29)
at CICD.configure (C:\Users\ganes\Desktop\sn-cicd-master\sn-cicd-master\lib\modules\project-setup.js:191:27)
at CICD.module.exports (C:\Users\ganes\Desktop\sn-cicd-master\sn-cicd-master\lib\modules\project-setup.js:497:22)
at Promise.try.then (C:\Users\ganes\Desktop\sn-cicd-master\sn-cicd-master\lib\eb\run-module.js:75:34)
at tryCatcher (C:\Users\ganes\Desktop\sn-cicd-master\sn-cicd-master\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\ganes\Desktop\sn-cicd-master\sn-cicd-master\node_modules\bluebird\js\release\promise.js:517:31)
at Promise._settlePromise (C:\Users\ganes\Desktop\sn-cicd-master\sn-cicd-master\node_modules\bluebird\js\release\promise.js:574:18)
at Promise._settlePromiseCtx (C:\Users\ganes\Desktop\sn-cicd-master\sn-cicd-master\node_modules\bluebird\js\release\promise.js:611:10)
at _drainQueueStep (C:\Users\ganes\Desktop\sn-cicd-master\sn-cicd-master\node_modules\bluebird\js\release\async.js:142:12)
at _drainQueue (C:\Users\ganes\Desktop\sn-cicd-master\sn-cicd-master\node_modules\bluebird\js\release\async.js:131:9)
at Async._drainQueues (C:\Users\ganes\Desktop\sn-cicd-master\sn-cicd-master\node_modules\bluebird\js\release\async.js:147:5)
at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\ganes\Desktop\sn-cicd-master\sn-cicd-master\node_modules\bluebird\js\release\async.js:17:14)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
The text was updated successfully, but these errors were encountered: