Error Building Project

Which IIQ version are you inquiring about?

Version 8.3

Share all details about your problem, including any error messages you may have received.

Hello,

I’m currently facing an error when trying to build the project using Jenkins, stating that the file sailpoint.dtd doesn’t exist.

Here is the trace with the error:

Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (ssb) on project identityiq: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] /factory/jenkins/data/publishing/workspaces/project___build/hotfix%2Fbuild-december2024/build.xml:544: The following error occurred while executing this line:
[ERROR] /factory/jenkins/data/publishing/workspaces/project___build/hotfix%2Fbuild-december2024/scripts/build.config.xml:377: Could not validate document /factory/jenkins/data/publishing/workspaces/project___build/hotfix%2Fbuild-december2024/build/extract/WEB-INF/config/custom/Application/Application - AD Dev (dev.local).xml
[ERROR] around Ant part ...<ant antfile="build.xml">... @ 4:28 in /factory/jenkins/data/publishing/workspaces/project___build/hotfix%2Fbuild-december2024/target/antrun/build-main.xml: /factory/jenkins/data/publishing/workspaces/project___build/hotfix%2Fbuild-december2024/build/extract/WEB-INF/config/custom/Application/sailpoint.dtd (No such file or directory)

Do you know of any reason why this error could be occurring?

Hi @bruno-co,

review the Application - AD Dev (dev.local).xml file, there is an error on this file

1 Like

@bruno-co try to open your AD app xml in a browser and see if everything is good

1 Like

There doesn’t seem to be any error in the file.

In the previous step of the build the file was validated and no error was returned:

...
Validating file : /data-tmp/factory/jenkins/data/publishing/workspaces/security-ims___build/hotfix%2Fbuild-december2024/build/extract/WEB-INF/config/custom/Application/Application - AD Dev (dev.local).xml
...
XML validation successful, proceeding further: Resolved 0 error(s)

-strip-ids:
     [echo] Removing hibernate object attributes from xml files

validate:
     [echo] Validating Custom XML objects
     [echo] /data/factory/jenkins/data/publishing/workspaces/project___build/hotfix%2Fbuild-december2024/build/extract/WEB-INF/config/custom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

I was also able to import the file into IIQ just fine.

Apparently, the problem was with the branch name.

After replacing the “hotfix/build-december2024” branch with “hotfix_build-december2024”, we were able to build the project.

Thanks for your help @enistri_devo and @sathishiam :slight_smile:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.